Author Topic: Enemy Cusomising  (Read 1616 times)

Wizard Indie Games

  • Level 7: Tilbub
  • *
  • Posts: 145
    • View Profile
Enemy Cusomising
« 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.
Developer of:

AI Anomaly
Dickie A Cumming
Someone Cloned The President
Freedom! Do or Die
Pension Day
Red Mist: Rivers of Blood

Available on Steam

War

  • "The top player is here!"
  • Level 20: Nobom
  • *
  • Posts: 1490
    • View Profile
    • My website
Re: Enemy Cusomising
« Reply #1 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.
Hey, wassup wassup? My name is Warrior555MainsGanon (but just call me War) and I'm the main guy behind Megaman Zero Online and the upcoming Matt's Adventure! I don't speak often here but I'm a very friendly lad so if you wanna talk, don't hesitate!

CGM

  • Christian, 3D artist, former Platform Builder gamdev
  • Master Builder
  • *
  • Posts: 3836
    • View Profile
Re: Enemy Cusomising
« Reply #2 on: June 28, 2020, 11:58:48 PM »
Not true! You can use commands to change enemy sprites.

Wizard Indie Games

  • Level 7: Tilbub
  • *
  • Posts: 145
    • View Profile
Re: Enemy Cusomising
« Reply #3 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.
Developer of:

AI Anomaly
Dickie A Cumming
Someone Cloned The President
Freedom! Do or Die
Pension Day
Red Mist: Rivers of Blood

Available on Steam

Wizard Indie Games

  • Level 7: Tilbub
  • *
  • Posts: 145
    • View Profile
Re: Enemy Cusomising
« Reply #4 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!
Developer of:

AI Anomaly
Dickie A Cumming
Someone Cloned The President
Freedom! Do or Die
Pension Day
Red Mist: Rivers of Blood

Available on Steam

CGM

  • Christian, 3D artist, former Platform Builder gamdev
  • Master Builder
  • *
  • Posts: 3836
    • View Profile
Re: Enemy Cusomising
« Reply #5 on: June 29, 2020, 03:56:21 PM »
You're welcome!