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.

ccoa side view. Adding new animations.

Dko

Member

I hope this is fairly simple. I want to adjust Ccoa's side view system it so that I can add in three more animation images to my Battlers directory to be used. So far ive added 3 to the constants list like this.

Code:
$ATTACK_MED = 13
$ATTACK_HIGH = 14
$ATTACK_WEAK = 15

Plus I have added to @pose_names like this
Code:
RPG::Cache.battler(@battler.battler_name + "_attack_" + weapon.name.sub(" ", "_"), @battler.battler_hue)
          @pose_names = ["_ready", "_guard", "_hit", "_miss", "_skill_default", 
                     "_attack_" + weapon.name.sub(" ", "_"), "_lowhp", 
                     "_moveto", "_movefrom", "_dead", "_battle_open", "_item",
                     "_attack_med", "_attack_high", "_attack_weak"] # added these

With this info could someone tell me what else I have to do so that if I use @active_battler.set_pose($ATTACK_HIGH, false)[Or similar command]it will use the image I created named "charname_attack_high.png" for that animation?
 

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