Making an Enemy a breakable object on the battle map.

liamx2000

Veteran
Veteran
Joined
Feb 13, 2016
Messages
89
Reaction score
7
First Language
English
Primarily Uses
I want to make an Enemy a breakable object on the battle map so think of the enemy as a breakable object that only takes one hit to break like a Barrel for example.
I need to make it so when you hit the Enemy(barrel) it will die(break) with one hit and once it dies a battle animation will play showing coins dropping to the floor or a potion.

is this possible I can't figure out how to make game know once the enemy(barrel) dies(breaks) the animation should play.
 

ct_bolt

Creator
Veteran
Joined
May 3, 2012
Messages
1,367
Reaction score
970
First Language
Javascript
Primarily Uses
RMMZ
I want to make an Enemy a breakable object on the battle map so think of the enemy as a breakable object that only takes one hit to break like a Barrel for example.
I need to make it so when you hit the Enemy(barrel) it will die(break) with one hit and once it dies a battle animation will play showing coins dropping to the floor or a potion.

is this possible I can't figure out how to make game know once the enemy(barrel) dies(breaks) the animation should play.
I could probably offer some help but first need clarification... you say "battle map".
Battle and Map by default are different "Scenes" (unless using an "on map" battle plugin)
...you just want to play an animation in the "Battle Scene" upon a certain enemies defeat?
 

liamx2000

Veteran
Veteran
Joined
Feb 13, 2016
Messages
89
Reaction score
7
First Language
English
Primarily Uses
Yeah so in simple
1) player attacks enemy which is a picture of a barrel which is stored in the SV enemies folder.
2) Barrel has 1 HP so it dies with one hit
3) Once Barrel gets killed a battle animation plays on the SV battle screen showing you the item that came from it.
 

Attachments

  • aCapture.PNG
    aCapture.PNG
    177.6 KB · Views: 9
Last edited:

Latest Threads

Latest Posts

Latest Profile Posts

For some reason a vegan webpage was suggested for me on FB. So I thought let's troll them. Because some of the posters needed a reality check.
I intended to start losing some weight starting today but It's apparently my birthday and I was given 2 big Toblerone's. So....Tomorrow then :p
JR.png
design for 1920's Jazz-singer
(can you guess what character inspired me here? xD )
Another brief AD video. Pretty proud of this.
new to game making and open to any help on getting started

Forum statistics

Threads
129,823
Messages
1,205,527
Members
170,948
Latest member
nope9
Top