Page 1 of 1

Backwards animation?

Posted: Sat Dec 01, 2018 11:04 am
by Stragemque
I don't know how to describe it so here's a diagram:

Code: Select all

vanilla animation:   > > > > > ... 
what I want:         > < > < > ...
Here is the sprite sheet I made, it would seem like a good way to save on file size to not have to include the return trip for the dish as it's the same thing repeated.

Re: Backwards animation?

Posted: Sat Dec 01, 2018 11:34 am
by DaveMcW
You can put each frame in its own file and use "stripes" instead of "filename". See the car entity for an example.

Re: Backwards animation?

Posted: Sat Dec 01, 2018 2:04 pm
by darkfrei
Here is some flag like "forward-then-revert", see code of mining drill.

Re: Backwards animation?

Posted: Sat Dec 01, 2018 2:23 pm
by Stragemque
Ah yeah that did it! Thanks.

Code: Select all

run_mode = "forward-then-backward",