Medium Animation or GIF speed

Hello, community!

I am looking for some help on how to code the transparency for this Pac-Man watch I am working on. Now I have perused the community in hopes of understanding how to code this properly, but I’m really not a coder or mathematician so my understanding of the conditionals is pretty limited. I’ve tried what I’ve read and even tried adjusting it to suit what I need. Unfortunately everything I’ve come up with is either too slow or way too fast. I want Pac-Man to simply move across the screen at about the rate you’d expect based on actual game play, were this an actual Pac-Man game. In essence, I want it to mimic “realilty.” Any help on what I need it to say in the transparency field would be highly appreciated. :laughing:

Here is the published, incomplete version. Transparency is set to 100 for all images currently until I figure out what I need to do.

Can you resubmit the link? If it is still a draft, then you may need to submit the link as text only.

Does this work?

I get a 404 error on the link. Is the face set to enable inspection?

Whoops. Apparenly not. I just adjusted. Sorry about that!

weird, I’m still getting 404. Idk why.

Maybe it needs to be published. I went ahead and just published it incomplete so I could share the link, and it definitely says inspection is enabled. 4th times the charm? Thanks for your patience!

I’ve set all images to 100 on transparency for the time being until I can understand what I need to do.

Shane, take a look at the tutorial (Link) I wrote a while back. I think you should be able to use the guide to approximate what you are looking for. looking at the face elements, there are only 10 frames. That should be able to get you a 1 second looping animation. In your case the following expression should work for each frame:

$(#Dsm#-#Ds#)>(0*0.1)&&(#Dsm#-#Ds#)<=((0+1)*0.1)?100:0$

Just adjust the frame counter accordingly for each individual frame. See step 8 on tutorial. I have plenty of examples on the guide as well for reference.

I have read your tutorial actually. I’ve made quite a few watch faces based off that conditional so thank you for posting it by the way.

The issue I’m running into with Pac-Man is that it’s too fast. I need to slow it down to like 2-3 seconds. The reason I only have 10 frames is because I was intending to use that 1 second loop conditional, but I can easily include more if necessary to slow it down. I took your advice and used that GIF splitter site to do it, but I just took the 10 that seemed most necessary to show motion. If there’s a way I can slow it down, that’s what I’m really looking for with my op. It doesn’t even have to loop. I’m ok with it being just a one time deal each time the watch face wakes up from dim if that’s possible.

you can do a 2 second loop with the squarewave function. That may slow it down some. Use the following and try it out:

Speed File Number Frame Number Expression Timing
0.2 0 0 $(#Dsm#-#Ds#)>(00.2)&&(#Dsm#-#Ds#)<=((0+1)0.2)?(squareWave(#Dsm#,100,2,50)):0$ 0.0000
0.2 1 1 $(#Dsm#-#Ds#)>(1
0.2)&&(#Dsm#-#Ds#)<=((1+1)0.2)?(squareWave(#Dsm#,100,2,50)):0$ 0.2000
0.2 2 2 $(#Dsm#-#Ds#)>(2
0.2)&&(#Dsm#-#Ds#)<=((2+1)0.2)?(squareWave(#Dsm#,100,2,50)):0$ 0.4000
0.2 3 3 $(#Dsm#-#Ds#)>(3
0.2)&&(#Dsm#-#Ds#)<=((3+1)0.2)?(squareWave(#Dsm#,100,2,50)):0$ 0.6000
0.2 4 4 $(#Dsm#-#Ds#)>(4
0.2)&&(#Dsm#-#Ds#)<=((4+1)0.2)?(squareWave(#Dsm#,100,2,50)):0$ 0.8000
0.2 5 0 $(#Dsm#-#Ds#)>(0
0.2)&&(#Dsm#-#Ds#)<=((0+1)0.2)?(squareWave(#Dsm#,100,2,50)-1):0$ 0.0000
0.2 6 1 $(#Dsm#-#Ds#)>(1
0.2)&&(#Dsm#-#Ds#)<=((1+1)0.2)?(squareWave(#Dsm#,100,2,50)-1):0$ 0.2000
0.2 7 2 $(#Dsm#-#Ds#)>(20.2)&&(#Dsm#-#Ds#)<=((2+1)0.2)?(squareWave(#Dsm#,100,2,50)-1):0$ 0.4000
0.2 8 3 $(#Dsm#-#Ds#)>(3
0.2)&&(#Dsm#-#Ds#)<=((3+1)0.2)?(squareWave(#Dsm#,100,2,50)-1):0$ 0.6000
0.2 9 4 $(#Dsm#-#Ds#)>(4*0.2)&&(#Dsm#-#Ds#)<=((4+1)0.2)?(squareWave(#Dsm#,100,2,50)-1):0$ 0.8000