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.

help with a progressive battle

I'm currently working on my game's first battle, which is kind of like a tutorial.

I'm finding it very difficult to get it to work the way I want it to. Basically, there are a few routes I want to go down.

1. player hits the opponent with a normal attack. Opponent prompts user to try a special move.
2. player begins with a special move. Opponent prompts user to guard.
3. player follows up 1. with a special move. Opponent prompts user to guard
4. player starts by guarding. Opponent does nothing
5. player follows up special move with guard. Opponent starts attacking.

The major problem is that the 'troop' events are much more limited than map events. How would I go about making this? I also can't seem to find a way to attribute a common event to a weak (non skill) attack.
 
Well, let's see...

As far as the normal attack option goes, you could try not giving the player any special moves to start with. You'd then have the battle event give the player their starting moves on turn 2-- I do that in the tutorial battles that I make for my games.

You could then check for the player having attacked by checking the opponent's HP relative to their original.

Most of the rest of what you want would take a script, but it wouldn't have to be that hard a script-- you'd just need to insert commands changing a few switches or variables in the battle options menu. I'd probably generate errors if I tried to write it myself at my level of skill, but somebody who's a better scripter than I could surely do this easily.
 

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