4/29/2023 0 Comments Rpg maker xp battle scripts![]() Then go to the animation editor and make each animation of the swinging sword. To do that, import the picture of a sword into the animations folder. To add more detail, make an animation of a sword swinging. ![]() Input Processing: Branch: Variable =16 Switches:=ON move route: Player (Ignore if can't move) : :$>Change Speed: 6 : :$>Change Freq.: 6 : :$>SE:'064-Swing03', 80, 130 : :$>1 Step Forward : :$>Change Speed: 4 : :$>Change Freq.: 4 for move's completion Switches:=OFF Variables:=0 :Branch End What this does is make it so that when you press D, your player moves forward one space quickly, making the sound of a sword swing. Also make a variable called "attackON", and a second switch called "swordON". Call this event "Melee attack", and the switch "Sword1". Set it to a parallel process to a switch. A swing of the sword, a flying fist, whatever! This will take two different events. Part 1: Melee attack: This is the coding for the basic attack. There are four parts I will cover, and this tutorial covers part one. ![]() This is going to go into how to make a real-time battle system, where your character encounters enemies that move and fight, while you move around, avoiding attacks and fighting back. it feels odd being the first to write an RMXP tutorial, but here it goes. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |