Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.
Hey guys, I need a cript that has a Non-Animated side-view battle, I need it for XP.
So if someone can point me to or give me the script that'd be great.
I'm not sure what else is needed here, but if I need to add more tell me.
All it does is change the position of the actor battlers. You need to replace the battlers with side facing battlers, or just the left facing cell from the char set.
You also need to reposition the enemy battlers in the troops to make room for the actor battlers on the screen.
class Game_Actor < Game_Battler
DISTANCE = 48 # distance betwen battlers
X_POSITION = 520 # x offset
Y_POSITION = 172 # y offset
#--------------------------------------------------------------------------
def screen_x
if self.index != nil
return X_POSITION
else
return 0
end
end
#--------------------------------------------------------------------------
def screen_y
return self.index * DISTANCE + Y_POSITION
end
#--------------------------------------------------------------------------
def screen_z
if self.index != nil
return self.index
else
return 0
end
end
end
class Sprite_Battler < RPG::Sprite
alias update_simple_sideview update
def update
update_simple_sideview
if @battler.is_a?(Game_Actor) and @battler_visible
self.opacity = 255
end
end
end
class Window_BattleStatus < Window_Base
def update
super
end
end
Just Paste Above Main.
This is the default battle system with sideview battlers.
Remember that *you* must position the enemies in the troops on database.