Let’s place the hitbox object in our Sequence now. If the enemy hasn’t died, its alpha is lowered, which is also reset to 1 in the Alarm 0 event. After that the instance is destroyed in the Animation End event if the instance is on that dying animation. (moving and other ai related actions will need to be turned off and you may also want to remove things like collisions. If the hp is < 0 then the sprite switches to the dying animation. It's likely more complex to turn off all the actions the object would normally be performing when it was alive than to create another object. I'd suggest using a death animation object if you want to strip the object in quest of properties. How to Import and Animate Sprites in GameMaker Studio 2.3 - Beginner TutorialSprites are the backbone of everything you see in your game. The Essential Gamemaker Functions, Concepts, and Tools Guide.GameMaker Handbook. GameMaker is software designed to make developing games easy and fun. notation allows you to access specific variables from another instance while still working in the current instance. It features a unique 'Drag-and-Drop' system which allows non-programmers to make simple games.
Character: Franchise: Super Mario Maker 2 Styles: Wario Land 2 - Skullcopter. with statement access the specified instance or object(s) and anything within in will act as though it's happening within an event in the specified object, best for when you want to pass hard numbers not variables (ie 10, 1. The Sprixie princess has been trapped in one of the. Var death_obj = instance_create(x,y,oDeathAnimation) example of how to pass variables on instance creation