How do I

Get help using Construct 2

Post » Thu May 11, 2017 8:44 pm

hello friends anyone can help about how to make each level generates random score or target for player to reach it without having to set it up by myself ?
B
22
S
8
G
2
Posts: 78
Reputation: 2,701

Post » Fri May 12, 2017 12:46 am

First to set a random score what you need is:

At the first of each layout set the value score variable to: random(number to start with, number to stop at)
random used like a Rang, it should look like this for example: random(10,20).

Then you just have to compare score"target" value to user current score value.


Good Luck
B
24
S
9
G
8
Posts: 49
Reputation: 6,080

Post » Fri May 12, 2017 2:06 pm

@alajajm thanks i will try to make this as steps and feed back :)
B
22
S
8
G
2
Posts: 78
Reputation: 2,701


Return to How do I....?

Who is online

Users browsing this forum: Lordshiva1948 and 45 guests