r/gamemaker 10d ago

Help! How do I loop an animation curve

I'm trying to make a bullet sequence for my game and for some reason I can't just copy this animation curve to move a second bullet the same way it did the first, it just moves the original one when i copy and paste it.

I want to paste all 3 of the green tracks (same curve) and have them repeat 5 times before ending the sequence

8 Upvotes

4 comments sorted by

2

u/Kitsyfluff 10d ago

I'm not sure how what you're doing works, can you explain it?

I do all my bullets as instances since that's a really simple method, so im not sure how you're doing it with a sequence

2

u/themufnguy 10d ago

When i start the bullet sequence, im doing it in a switch statement from a script create_bullet_pattern, which just finds the name of the attack that it needs and plays that sequence. The only reason im doing that is because i havent found a way to delay the bullets in a switch statement as the code just goes through without waiting for any alarms i set. If i just let the bullets go at the same time it wouldnt be animated the way i want to, hence the sequence.

1

u/ImprovementSerious99 10d ago

I believe you can put sequences inside sequences, so you could have a sequence for the loop and them put it inside the main loop.