0 Favourites

How do I Make RPG style Fighting Interfaces

  • Hello. I am using the free version of Construct 2 and for my final boss in my game, I was hoping to set it up in an RPG style format where the sprite walks up to the boss and the sprite and boss take turns in their attacks and the user has different attacks it can select from. Any Ideas?

    Thanks

  • I would guess you need to make a global variable IsPlayerTurn = -1. This would mean it's time for the cinematic to play.

    At the start of layout if the IsPlayerTurn = - 1 then start a function where you disable the movement of the sprite, and assign your own.

    After each attack set the IsPlayerTurn either to 0 or to 1. 0 for the boss's turn for example, 1 for the player's.

  • Sounds like a lot of work. Do you want to run this mobile at the end? I would recommend to work on the RPG part first. You can use 8 direction or custom movement in combination with solid objects and tilemap to create such a world. The fighting part could/should be on a different layout then and make the RPG world persistent.

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • I would guess you need to make a global variable IsPlayerTurn = -1. This would mean it's time for the cinematic to play.

    At the start of layout if the IsPlayerTurn = - 1 then start a function where you disable the movement of the sprite, and assign your own.

    After each attack set the IsPlayerTurn either to 0 or to 1. 0 for the boss's turn for example, 1 for the player's.

    I am looking to set it up in the style of the fighting interface on the mobile app Dragon Mania

    i.ytimg.com/vi/h7MRPNSYaog/maxresdefault.jpg <--- that is what It would look like about. I was wanting to used certain keys to activate the attacks (Eg. "Press X for Attack A, Press Z for Attack B" and so on)

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)