- Joined
- Oct 28, 2015
- Messages
- 4
- Reaction score
- 0
hi guys.. i know a lot of us want use actor battler as enemy, so it will be animated. Ive try to make it.
i just modify rpg_sprite.js. and save the modify to plug in..
I copy all code below Sprite_actor and above sprite_enemy then replace all text "sprite_actor" into "Sprite_enemy".
It will change the battler folder from sv_enemy to sv_actor. so if i make enemy on database use slime image. it will search slime.png at sv_actor (so we need put 2 image with same name at both folder) not sv_enemy although u will keep see enemy still use slime.png from sv_enemy at database, but it will be change at battle test.
sorry for my bad english and im very new at javascript. Its absolutely fail, because i found problem:
1) enemy battler will be refer to sv_actor so if we choose actor1_1 at enemy database it will be refer to actor1_1.png at sv_actor. need to modify the image because it will keep facing left like our party instead of facing right.
2) need modify the position of enemy inside the code (it will be same with modify party position like x at 600*38 and y at 400*42)
This is fail because:
1) animation not looping, so it will animated once at standing phase, but keep doing animation will it attacking. in code there is motion index but it seems different with actor index.
2) after enemy battle phase, it crash. I havent find the problem but it seems on "refresh motion".
So, my be i ve do 5% way to make using enemy as actor. so for u people who has better knwoledge about

i just modify rpg_sprite.js. and save the modify to plug in..
I copy all code below Sprite_actor and above sprite_enemy then replace all text "sprite_actor" into "Sprite_enemy".
It will change the battler folder from sv_enemy to sv_actor. so if i make enemy on database use slime image. it will search slime.png at sv_actor (so we need put 2 image with same name at both folder) not sv_enemy although u will keep see enemy still use slime.png from sv_enemy at database, but it will be change at battle test.
sorry for my bad english and im very new at javascript. Its absolutely fail, because i found problem:
1) enemy battler will be refer to sv_actor so if we choose actor1_1 at enemy database it will be refer to actor1_1.png at sv_actor. need to modify the image because it will keep facing left like our party instead of facing right.
2) need modify the position of enemy inside the code (it will be same with modify party position like x at 600*38 and y at 400*42)
This is fail because:
1) animation not looping, so it will animated once at standing phase, but keep doing animation will it attacking. in code there is motion index but it seems different with actor index.
2) after enemy battle phase, it crash. I havent find the problem but it seems on "refresh motion".
So, my be i ve do 5% way to make using enemy as actor. so for u people who has better knwoledge about


