![]() ![]() Although whenever I add it to sprite_index, it doesn't seem to lol. For Windows, when you first open GM Studio, you should see a window similar. I tried if != does not work with the way you suggested, and it worked. 3.2.1 The Step Event 3.2.2 Game Maker Language 3.2.3 Game Maker Defaults. Thanks for the reply, however I can see the animation - it just starts from the same frame that the running or idle animation is, and so sometimes you only see 2 or 3 frames if you happen to die at the end of the cycle. In any case, if you're bent on proving whether or not != is being your friend, create some variable, set it to a number, and check if it doesn't match some other number and have it change your image_blend into blue or something silly. Essentially, you want to change your animation the instant you want it changed, and nothing more. We will be taking a look at many of the features that you can build into your games and how to ad. defaulting to a standing sprite), then that almost guarantees your image number is resetting every frame, because, again, sprite_index is almost certainly the culprit in why you're not seeing any animation here. The start of a new series on all things GameMaker Studio 2. In the event you have it setting the sprite_index every single frame for a reason (ie. Regardless, even from a raw logic standpoint it would make more sense to set the sprite_index under the condition it isn't what you want, meaning here that you slap it under the same brackets as where you set the image_index to 0. Originally posted by Zaron X:In my experience setting the sprite_index resets the image number to zero. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |