How do I Make RPG style Fighting Interfaces

Get help using Construct 2

Post » Tue Nov 15, 2016 10:14 pm

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
B
3
Posts: 11
Reputation: 201

Post » Wed Nov 16, 2016 1:26 pm

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.
Black Bobby The Hole Greenlit with 303 votes.
B
36
S
8
G
1
Posts: 163
Reputation: 3,029

Post » Wed Nov 16, 2016 7:55 pm

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.
B
34
S
9
G
3
Posts: 206
Reputation: 7,851

Post » Wed Nov 16, 2016 11:03 pm

Message: moonshade10 can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Je Fawk wrote: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
https://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)
B
3
Posts: 11
Reputation: 201


Return to How do I....?

Who is online

Users browsing this forum: plinkie, zenox98 and 16 guests