120 fps animation for Interactive Dock skin?
Posted: May 1st, 2021, 12:55 pm
Hi all,
I have a 120hz monitor and I recently got the Interactive Dock skin (found here: https://www.deviantart.com/not-finch/art/Interactive-Dock-for-Rainmeter-772713805)
It's a wonderful skin, but is it possible to make the animations run smoother? It seems very choppy out of the box. I believe it is using action timer for the animation as I found this in the config files:
The animation.lua file is quite long so I have attached it below as a text file:
I have a 120hz monitor and I recently got the Interactive Dock skin (found here: https://www.deviantart.com/not-finch/art/Interactive-Dock-for-Rainmeter-772713805)
It's a wonderful skin, but is it possible to make the animations run smoother? It seems very choppy out of the box. I believe it is using action timer for the animation as I found this in the config files:
Code: Select all
[Animate]
Measure=Script
ScriptFile=#@#\Animation.lua
DynamicVariables=1
IfCondition= ( 1 = 1 )
IfTrueAction=[!CommandMeasure "Animate" "animate()"]
IfConditionMode=1
[Animation]
Measure=Plugin
Plugin=ActionTimer
Group=Animation
DynamicVariables=1
ActionList1=Repeat Init, 150, #TotalGame# | InitDone
ActionList2= Wait 1000 | HideNow
ActionList3= StopHide | Repeat Show, 20, #TotalGame#
ActionList4= DropImage
ActionList5= DropFile
ActionList6= Repeat Draw, 25, #step#
ActionList7= Repeat Hide, 25, #TotalGame#
Init=[!CommandMeasure "Animate" "show_more()"][!CommandMeasure Animation "Stop 6"][!CommandMeasure Animation "Execute 6"]
InitDone=[!CommandMeasure Animation "Stop 2"][!CommandMeasure Animation "Execute 2"][!CommandMeasure Animation "Stop 6"] [!CommandMeasure Animation "Execute 6"]
StopHide=[!CommandMeasure Animation "Stop 2"][!CommandMeasure Animation "Stop 6"][!CommandMeasure Animation "Execute 6"]
Hide=[!CommandMeasure "Animate" "hide_icon()"][!CommandMeasure Animation "Stop 6"][!CommandMeasure Animation "Execute 6"]
Show=[!CommandMeasure "Animate" "unhide_icon()"]
DropImage=[xcopy "#File#" "#Directory#" /y][!WriteKeyValue Variables "Gamecover#Edit#" "#Filename#" "#@#Applist.inc"][!SetVariable Gamecover#Edit# #Filename#][!Delay 1000][!UpdateMeter Icon#Edit#][!SetOption Debug Text "Added image: #File#"]
DropFile=[!WriteKeyValue Variables "Gamedir#Edit#" """["#File#"]""" "#@#Applist.inc"][!SetVariable Gamedir#Edit# #File#][!SetOption Debug Text "Added file: #File#"]
Draw=[!CommandMeasure "Animate" "animate()"][!UpdateMeterGroup "Icons"][!UpdateMeasureGroup "DropGroup"][!Redraw]
HideNow=[!CommandMeasure Animation "Stop 6"][!CommandMeasure Animation "Stop 7"][!CommandMeasure Animation "Execute 7"]
[ScriptRefresher]
Measure=Script
ScriptFile=#@#Refresher.lua
UpdateDivider=-1
Refreshed=0
@Include=#@#IconMeter.inc