Envision, Create, Share

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.

A simple side view script

Ok..now i am new,i have probably posted in the wrong forum,you can yell and yell if i have done anything wrong..but remember that i DONT REQUEST A SCRIPT THAT YOU HAVE BEEN WORKING WITH FOR SEVERAL MONTHS.I want a really simple side view battle script that doesnt require millions of animated battlers,
a normal CBS,but i want to use battlers for the monsters.
Thanks for reading,and i promise im gonna come back with something,like a tutorial,or sumthing else :crazy:
-Thanks Halaman-
 
Try this

Code:
class Game_Actor
  #--------------------------------------------------------------------------
  # * Get Battle Screen X-Coordinate
  #--------------------------------------------------------------------------
  def screen_x
    # Return after calculating x-coordinate by order of members in party
    if self.index != nil
      return self.index * 50 + 400
    else
      return 0
    end
  end
  #--------------------------------------------------------------------------
  # * Get Battle Screen Y-Coordinate
  #--------------------------------------------------------------------------
  def screen_y
    # Return after calculating y-coordinate by order of members in party
    if self.index != nil
      return self.index * 64 + 64
    else
      return 0
    end
  end
end

Paste it in a new script above main. All it does is modify the position of the battlers.
Play around with the numbers if you need to fine tune the positions.

You will need to create new battlers for each party member (facing left), and also
change the positions of the enemies in each Troop. (and the battlers if you want them
to face right)

Be Well
 
It might have been a misunderstanding..i make a game on VX,why? I dont know..but that might be a reason to why your script doesnt work with my game..but thank you for the script,i appriciete it!
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top