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.

[XP] Battle animations, how?

Is it possible to add different effects to battle animations, like shaking the screen, weather effects, etc.

Perhaps through a common event? I made a common event and put it in the skill, but it only runs AFTER the battle animation. But maybe this is the RTAB's doing, so it'd be great if someone has a different solution (scripting?) or could check if common events do run only after the battle animation. Maybe there's a way to change this?

Thanks so much~~*hug
 
No-script answer:  Don't put anything in the skill itself except, perhaps, the casting animation. 

Put everything-- SFX, Battle Animation, the works-- in the common event.  Use Force Action (with Last Target) to make the skill actually do the attacking bit. 

Now it'll all happen at once.
 
Hmm. In theory that would work. Only.. is there a way to duplicate the damage that would be dealt by the skill? I have no clue how to do this. But obviously the skill can't always do 200 - 250 damage when the player levels up, has new equipment, etc.~~

Maybe I should move my question to RGSS?

Thanks for your help =)
 
Actually, that part's pretty easy-- you just create a variable equal to, say, the player's current ATK or INT stat or some combination of them, or even some more arcane formula akin to Chocobuckle, and inflict damage equal to that amount.
 
Hmm, now I have to find out what the algoritms exactly are for damage in XP. Though I'll have to do that later, as I want all damage to be pretty low in the game (like 1~100 instead of 100~10000). Thanks. ^^ It works good. It also allows me to do multiple small damages, which suits a tornado really well.
 
Just to save you the trouble, any damage related formulas for the default battle system is located under Game_Battler 3 for the methods 'attack_effect', 'skill_effect' and 'item_effect'.

Cheers.
 

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