Z
Zakarul
Guest
I have a sprite that wont' start from the beginning. It usually start from frame 30 to 0,1,2 etc.... I've already tried to add image_index = 0 but doing this just freeze the sprite at 0. Maybe i am missing some knowledge about image_index.
Are there any way to fix this?
every sprites are called from the script "scr_player_sprites"
this is the code
i am getting mad for this
Gamemaker Studio 1.4
Are there any way to fix this?
every sprites are called from the script "scr_player_sprites"
this is the code
Code:
if state == scr_player_pullup
{
if !place_empty(x+1,y) && place_empty(x-1,y)
{
sprite_index = spr_pullup;
mask_index = Spr_player_256;
image_xscale = 1;
image_speed = 1.5;
}
else
if !place_empty(x-1,y) && place_empty(x+1,y)
{
sprite_index = spr_pullup;
mask_index = Spr_player_256;
image_xscale = -1;
image_speed = 1.5;
}
}
Gamemaker Studio 1.4