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.

Showing Battler Picture?

This should be fairly simple. Basically all i want to do is to call up the picture of the actor's battler and show it in a window. I'm not sure of the syntax or what to call up...

So more or less, i want to display Actor1's battle picture in a window during the battle.

Any help would be appreciated.
 

arev

Sponsor

I'm assuming you know how to display a picture at all.
In the Game_Actor class add something like this:
Code:
  attr_reader   :battler_name
  attr_reader   :battler_hue
Right under
Code:
  attr_reader   :skills

Now, in the window:
Code:
  @actor = $game_party.actors[i] #this part you should already have
  bitmap = RPG::Cache.battler(@actor.battler_name, @actor.battler_hue)
  self.contents.blt(x,y,blablablayouknowitdon'tyou?)
 

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