It is currently April 17th, 2021, 2:04 am

MWA release 1.0

Skins with graphics and animations
dvo
Posts: 1031
Joined: February 7th, 2016, 6:08 am

MWA release 1.0

Post by dvo »

MWA 2.0 just plane cool :D
Last edited by dvo on May 26th, 2016, 7:42 pm, edited 1 time in total.
User avatar
jsmorley
Developer
Posts: 21635
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: MWA release 1.0

Post by jsmorley »

Cute. Too bad Chipzilla didn't test it to see that using Counter that way will count from 0-8 and he has images from 1-8 so it "blinks" and floods the log with errors.
dvo
Posts: 1031
Joined: February 7th, 2016, 6:08 am

MWA release 2.0

Post by dvo »

i will fix that in the next version for you hihihihi :D
Last edited by dvo on May 26th, 2016, 9:35 pm, edited 2 times in total.
User avatar
balala
Rainmeter Sage
Posts: 12566
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: MWA release 1.0

Post by balala »

jsmorley wrote:Cute. Too bad Chipzilla didn't test it to see that using Counter that way will count from 0-8 and he has images from 1-8 so it "blinks" and floods the log with errors.
In fact the measure counted from 0 to 7, not to 8 and because of this, beside the blinking, the last image never appeared (I'm talking about the first version, which in the meantime was removed by dvo).
User avatar
jsmorley
Developer
Posts: 21635
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: MWA release 1.0

Post by jsmorley »

Right. He is still missing image 8.png, due to how Counter counts from 0 and not 1, and modulo math in this case means go back to zero when it "IS 8", not "WAS 8". Also, rather than just creating a copy of 1.png as 0.png, which causes a little "pause", he could use either of these two measures:

[ImageNumberCalc]
Measure=Loop
StartValue=1
EndValue=8

[ImageNumberCalc]
Measure=Calc
Formula=(ImageNumberCalc % 8) + 1

Note, to use the Counter variable exactly as he had it, and not have to change the code at all, he could have simply renamed 8.png to 0.png. Then it would be 0-1-2-3-4-5-6-7-0... and since it is just a "looping" animation, that would be fine. No particular one of them has to be the "starting point", they just need to be in order.
dvo
Posts: 1031
Joined: February 7th, 2016, 6:08 am

Re: MWA release 1.0

Post by dvo »

i believe the loop is now oke ... :D
You do not have the required permissions to view the files attached to this post.
User avatar
jsmorley
Developer
Posts: 21635
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: MWA release 1.0

Post by jsmorley »

dvo wrote:i believe the loop is now oke ... :D
Well yeah, but I did say "either" of those two measures, not "both"... ;-)

The second one is ignored, but you don't need it.
dvo
Posts: 1031
Joined: February 7th, 2016, 6:08 am

Re: MWA release 1.0

Post by dvo »

it still works fine lol :D
User avatar
jsmorley
Developer
Posts: 21635
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: MWA release 1.0

Post by jsmorley »

dvo wrote:it still works fine lol :D
The second one is ignored, but you don't need it.
dvo
Posts: 1031
Joined: February 7th, 2016, 6:08 am

Re: MWA release 1.0

Post by dvo »

clean it tomorrow have 2 sleep now :) :great: :thumbup: :beer: :YESSS: