Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
How can we add coins depending on points that we earn.For example if we got 5 points then there should be an increase in coins by one and this should repeat.(in short for every 5 points i should get one coin)
Develop games in your browser. Powerful, performant & highly capable.
System compare two values - points%5=0
(Only works if you add one point at a time)
If you add more points at a time, maybe set up a "points until next coin" value, and if you overshoot that you can award coins accordingly, then set it to 5-points÷5.
I did these but i dnt got it.Is there any other method to do it.Please help me
ramyaswetha Can you upload your capx for us so we can check out what you did? It can be a little challenging to debug code involving math if we can't see the events. Thanks!
https://www.dropbox.com/s/7tzan36yhnpjg ... .capx?dl=0
There are two layouts with the two ways I mentioned to handle it.