hii so i'm trying to make a rainmeter skin where when you click 1 time it shows half_heart.png, 2 time full_heart.png, and then so on for at least 6 more clicks. i'm not sure what to do to make this happen and i heard its impossible that the only way is to do left click and right click and middle click but im not sure whats the code syntax for that. im trying to make a tomagachi game and im just stuck on making the hearts functionable
Code:
[Variables]Counter=0HiddenStatus=0ClickCount=0[MeasureHeartLoop]Measure=LoopStartValue=0EndValue=10000000Increment=1UpdateDivider=1DynamicVariables=1[DebugLoop]Meter=StringText=[MeasureHeartLoop]Fontcolor=100,201,90fontweight=700X=96Y=222FontSize=10DynamicVariables=1[Heart1]Meter=ImageImageName=full_heart.pngX=-14Y=-10W=100H=100DynamicVariables=1[Heart2]Meter=ImageImageName=full_heart.pngX=18Y=-10W=100H=100DynamicVariables=1[Heart3]Meter=ImageImageName=full_heart.pngX=50Y=-10W=100H=100DynamicVariables=1[MeasureHeart3]Measure=CalcFormula=MeasureHeartLoopIfCondition=(MeasureHeartLoop >= 2)IfTrueAction=[!SetOption Heart3 ImageName "full_heart.png"][!UpdateMeter Heart3][!Redraw]IfCondition2=(MeasureHeartLoop >= 3)IfTrueAction2=[!SetOption Heart3 ImageName "half_heart.png"][!UpdateMeter Heart3][!Redraw]IfCondition3=(MeasureHeartLoop >= 4)IfTrueAction3=[!SetOption Heart3 ImageName "dead_heart.png"][!UpdateMeter Heart3][!Redraw]DynamicVariables=1[MeasureHeart2]Measure=CalcFormula=MeasureHeartLoopIfCondition=(MeasureHeartLoop >= 5)IfTrueAction=[!SetOption Heart2 ImageName "full_heart.png"][!UpdateMeter Heart2][!Redraw]IfCondition2=(MeasureHeartLoop >= 6)IfTrueAction2=[!SetOption Heart2 ImageName "half_heart.png"][!UpdateMeter Heart2][!Redraw]IfCondition3=(MeasureHeartLoop >= 7)IfTrueAction3=[!SetOption Heart2 ImageName "dead_heart.png"][!UpdateMeter Heart2][!Redraw]DynamicVariables=1[MeasureHeart1]Measure=CalcFormula=MeasureHeartLoopIfCondition=(MeasureHeartLoop >= 210)IfTrueAction=[!SetOption Heart1 ImageName "full_heart.png"][!UpdateMeter Heart1][!Redraw]IfCondition2=(MeasureHeartLoop >= 240)IfTrueAction2=[!SetOption Heart1 ImageName "half_heart.png"][!UpdateMeter Heart1][!Redraw]IfCondition3=(MeasureHeartLoop >= 270)IfTrueAction3=[!SetOption Heart1 ImageName "dead_heart.png"][!UpdateMeter Heart1][!Redraw]DynamicVariables=1[FeedButton]Meter=StringText=FeedButtonX=34Y=250FontSize=20LeftMouseUpAction=[!SetVariable Counter 0][!SetOption MeasureHeartLoop StartValue 0][!SetOption Heart1 ImageName half_heart.png SingleClick][!SetOption Heart1 ImageName full_heart.png DoubleClick][!SetOption Heart2 ImageName half_heart.png ThreeClickAction][!CommandMeasure MeasureHeartLoop "Reset"][!UpdateMeter *][!Redraw]DynamicVariables=1
Statistics: Posted by delirious — Today, 12:12 pm — Replies 0 — Views 13