How do I

Get help using Construct 2

Post » Fri Apr 07, 2017 7:05 pm

Hello I'm making a game and you have life and regeracion of life whenever you raise of level I want to raise the maximum life and regeneration as I do :(

Hola estoy haciendo un juego y tu tienes vida y regeracion de vida cada vez que subes de nivel quiero que suba la vida maxima y regeneracion como lo hago
Last edited by zenox98 on Fri Apr 07, 2017 7:12 pm, edited 1 time in total.
Reason: No need for 2 posts - just include translation in same post. Thanks.
B
3
Posts: 9
Reputation: 202

Post » Sat Apr 08, 2017 3:02 am

Sounds like you want separate global variables for life and regeneration stored as a number value.

When you level up, you can add to the variable by however much you wish it to be.
B
15
S
4
Posts: 38
Reputation: 951

Post » Sat Apr 08, 2017 11:38 am

But as I create a variable for example 1 minimum 100 maximum
B
3
Posts: 9
Reputation: 202

Post » Sat Apr 08, 2017 12:22 pm

Are you saying you want to max the variable out at 100 (so a player can't have 101, 102, etc...)?

If so, just have an event setup like so:

Condition: variable health greater than 100
Action: variable health set to 100

If that's not what you mean then sorry, having a hard time understanding what you're trying to say :)
B
15
S
4
Posts: 38
Reputation: 951

Post » Sun Apr 09, 2017 1:21 pm

yes thx
B
3
Posts: 9
Reputation: 202

Post » Sun Apr 09, 2017 8:57 pm

Hi I'm making a game and when I get 30 points of a 1 gold and when I get 30 points I do not stop winning gold I want to when you reach 30 points you get only 1
B
3
Posts: 9
Reputation: 202


Return to How do I....?

Who is online

Users browsing this forum: tarek2 and 25 guests