Boss sprite not animating? #134
-
|
I had changed the sprites used for the default boss and it doesn't seem to be animating now, is it something that needs to be changed in the code? Thanks. This was the new animation (pretty basic at the moment) Untitled.video.-.Made.with.Clipchamp.mp4Code (don't think it's been touched tbh 😂: CREATE - #macro BOSS_GIGAN_STATE_WAIT 0 /// @method m_giganorbi_oscillate_y } /// @method m_giganorbi_create_orbs } // Inherit the parent event boss_target = player_get(0); obj_set_hitbox(28, 28); STEP - scr_giganorbi_health_updater(); // Move scr_giganorbi_state_machine(); |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Orbinaut uses its own animation system, overriding the default one. Whatever you see in the IDE won't work Giganorbi uses a single sprite asset without any animation, simply switching frames based on its state. In your case, you should create a new sprite and modify the code in scr_giganorbi_state_machine() to call ani_start() instead |
Beta Was this translation helpful? Give feedback.
Orbinaut uses its own animation system, overriding the default one. Whatever you see in the IDE won't work
Giganorbi uses a single sprite asset without any animation, simply switching frames based on its state. In your case, you should create a new sprite and modify the code in scr_giganorbi_state_machine() to call ani_start() instead