Slide animation Template (very simple)
Posted: September 25th, 2011, 10:03 pm
Hey guys, I just spent 2 hours figuring out this ultra-simple animation effects and made a template for you :
It includes an 8-frame bitmap image, but you can define your own bitmap image with desired number of frames. 8 frames means 4 frames for slide-out and 4 frames for slide-in effect. 4th slide is the main skin background and everything appears on that slide. More info in the "slide instructions.ini". here's the code:
You can download and try it:
It includes an 8-frame bitmap image, but you can define your own bitmap image with desired number of frames. 8 frames means 4 frames for slide-out and 4 frames for slide-in effect. 4th slide is the main skin background and everything appears on that slide. More info in the "slide instructions.ini". here's the code:
Code: Select all
[rainmeter]
author=manuel
update=40
mouseoveraction=!setvariable go 1
mouseleaveaction=!execute [!setvariable go 1][!hidemetergroup everything]
[variables]
frames=8
;make sure you also change the two "ifequalvalue" below:
go=0
[count]
measure=calc
formula=count+#go#
dynamicvariables=1
[check]
measure=calc
formula=count
;-------------------------------------ifequalvalue is [(#frames#/2)-2] -----------##############
ifequalvalue=2
ifequalaction=!execute [!Setvariable go 0][!showmetergroup everything]
[check2]
measure=calc
formula=count
;-------------------------------------ifequalvalue is [#frames#-2]----------------##############
ifequalvalue=6
ifequalaction=!refresh
[MeterAnimation]
Meter=BITMAP
MeasureName=count
BitmapImage=box.png
BitmapFrames=#frames#
BitmapExtend=1
[string]
meter=string
measurename=count
y=5
x=1
text="mid: %1"
antialias=1
hidden=1
group=everything