Clicks per second. Noob question.

Get help using Construct 2

Post » Mon Apr 03, 2017 8:45 am

Hello All,

I'm new in the community since I bought my lincence on Friday. I was doing the first game of 5 of the Ebook "Build 5 mobile games in just 5 days". The first game is simply to click the bubble that are showing up on the screen. However I would like to change slighly the "Score". Instead of put the number on bubbles that you have clicked I would like to have a float number which is showing the number of bubbles you are poping up per second.

I created three variable:

Time= which start from 1 and is increasing 1 every second.
Points= which is the number of bubbles you have clicked so far.

Score = every tick set value of Score as Points/Time.

However, I have two issue:

1. I don't manage to get a float number such as 3,15 or 2,75.
2. The Score varible is dissapearing after 5 seconds.

If someone has any idea how to fix it up I would be really helpful.

Thank you so much.
Posts: 2
Reputation: 179

Post » Mon Apr 03, 2017 9:45 am

1. Are there 3,15 bubbles? Perhaps 3 or 4 or 5 etc.
2 Your text object that shows the Score is probably small, just try to scale it a bit so the characters will have room to show up.
Posts: 15
Reputation: 255

Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 6 guests