Sprite loop

Megax60

Member
I want to make a sprite loop from another frame that is not 0,
for example starts in frame 0, ends animation and starts again but in frame 4,

how do i do that?
 
J

JFitch

Guest
Code:
if image_index>=4
{
loop=1;
}
if image_index<4 && loop==1
{
image_index=4;
}
if sprite_index!=(this sprite)
{
loop=0;
}
Set "loop" to 0 in your create event.

Another option is to just create a new sprite with the exact same subimages as this sprite except for the first four subimages.
 
Last edited by a moderator:
Top