[SOLVED] Anim8 - Create animation for each new object

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
User avatar
var77
Citizen
Posts: 52
Joined: Wed May 02, 2018 1:57 pm

Re: [SOLVED] Anim8 - Create animation for each new object

Post by var77 »

First thanks togFox and idbrii for your answers. I found that pauseAtstart() is the rewind function I was looking for I guess, but I actually not get my final goal yet. I add a .love file based on previous monolifed answer to let you know where I stuck at now.
anim8-demo.love
(14.49 KiB) Downloaded 139 times
To be more clear with my goal I made a quick draft of the expected final result:
sample.jpg
sample.jpg (74.61 KiB) Viewed 4346 times
In this example you can replace "flip card" by "spinning" (or rewind spinning) plane in the .love file.
Hope this will help :nyu:
User avatar
togFox
Party member
Posts: 828
Joined: Sat Jan 30, 2021 9:46 am
Location: Brisbane, Oztralia

Re: [SOLVED] Anim8 - Create animation for each new object

Post by togFox »

The blue card flips to the grey card? And you want to flip back to blue card?

I would like to reverse animation (rewind the spinning) and roll again with new list of animation.
I would had two animations
1) flip blue to grey (3 frames)
2) flip grey up blue (3 frames)

And even a 3td animation that goes blue to grey and back to blue (6 frames).
Last project:
https://togfox.itch.io/hwarang
A card game that brings sword fighting to life.
Current project:
Turn-based PBEM horse stable (racing) management sim: https://togfox.itch.io/horse-stable-manager
https://discord.gg/HeHgwE5nsZ
User avatar
var77
Citizen
Posts: 52
Joined: Wed May 02, 2018 1:57 pm

Re: [SOLVED] Anim8 - Create animation for each new object

Post by var77 »

Sorry if'm not clear togFox. Here is an example of spritesheet that I can have.
sheet.png
sheet.png (4.11 KiB) Viewed 4309 times
And the animation I expect in the final result should like like this:
1 - flip all card color (ok)
2 - select random card (ok)
3 - flip back color
4 - flip number card (on selected one)

Hope this 'll help
Attachments
all sequence.gif
all sequence.gif (21.97 KiB) Viewed 4309 times
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 7 guests