Platform Builder Forums

Main => General Discussion => Topic started by: Wizard Indie Games on June 28, 2020, 05:50:28 PM

Title: Enemy Cusomising
Post by: Wizard Indie Games on June 28, 2020, 05:50:28 PM
How can I add new animations and actions to enemies? For example, I would like a ranged attack animation like with the player.
Title: Re: Enemy Cusomising
Post by: War on June 28, 2020, 07:06:19 PM
How can I add new animations and actions to enemies? For example, I would like a ranged attack animation like with the player.
Enemies only have 1 animation, but you can use the "change enemy [id of the enemy that you wanna change], [id of the new enemy]" command to turn them into another enemy.
Title: Re: Enemy Cusomising
Post by: CGM on June 28, 2020, 11:58:48 PM
Not true! You can use commands to change enemy sprites.
Title: Re: Enemy Cusomising
Post by: Wizard Indie Games on June 29, 2020, 06:31:07 AM
If you have time could someone please explain further or direct me to the relevant resource? Many thanks.
Title: Re: Enemy Cusomising
Post by: Wizard Indie Games on June 29, 2020, 10:29:53 AM
Cool. I got the enemy to change its sprite to a shooting animation when firing a projectile, then delay for 0.5 second then change back. Works nicely!

Thanks!
Title: Re: Enemy Cusomising
Post by: CGM on June 29, 2020, 03:56:21 PM
You're welcome!