LockedSoftware
Member
SOLVED: Of course I messed up! The ID and Sprite Tree Order is still working as always. So sorry, guys. Very embarrassing mistake on my end.
Hello.
I used to be able to draw sprites like this:
draw_sprite(x,y,image_index,sprite_index+1) //+1 is the next sprite within the sprite asset Tree
I do this , so I don't have type out every sprite asset's name
Now, the problem I have is that the Tree Sprite Order is visually different from the ID or integer within the code... let's say my tree looks like this:
Sprite Tree
- sprPlayerIdle
- sprPlayerWalk
- sprPlayerPunch
- sprPlayerJump
in the code I would do this:
if player punches I would draw sprite sprite_index+2 and the Sprite sprPlayerPunch would come up
But it doesn't work any more since I have upgraded to the latest IDE...
now the same code accesses totally different sprites... it looks like the Sprites just changed their code-order but the visual sprite tree looks the same.
Thank you and kind regards
Hello.
I used to be able to draw sprites like this:
draw_sprite(x,y,image_index,sprite_index+1) //+1 is the next sprite within the sprite asset Tree
I do this , so I don't have type out every sprite asset's name
Now, the problem I have is that the Tree Sprite Order is visually different from the ID or integer within the code... let's say my tree looks like this:
Sprite Tree
- sprPlayerIdle
- sprPlayerWalk
- sprPlayerPunch
- sprPlayerJump
in the code I would do this:
if player punches I would draw sprite sprite_index+2 and the Sprite sprPlayerPunch would come up
But it doesn't work any more since I have upgraded to the latest IDE...
now the same code accesses totally different sprites... it looks like the Sprites just changed their code-order but the visual sprite tree looks the same.
Thank you and kind regards
Last edited: