Hi, I’m trying to do a simple animation in sequence:
- at start of sketch : a square moves to the right 100px.
- after it finishes that step, it waits 2 seconds
- after it finishes that step it goes down for 100px.
- after that it stops and do nothing else.
Individually, these parts are very easy to implement. But trying to put them together into a sequence is a whole different matter…
I’ve read this post here that suggests the implementation of a “state”:
I do understand the concept of it, but what I don’t understand is how to change the “state” AFTER a step is finished.
I’ve tried to reply at the post but it’s in an old version of the processing forums and I can’t sign up… So I’m asking here…
Thank-you for helping me!!