Number Shortening (1K,1M,1B)

Get help using Construct 2

Post » Wed Jul 19, 2017 7:19 am

Hello, I'm making a cookie clicker-esque game and I need to shorten my numbers. I already know this trick: if variable > 1000 set text: round(variable/1000)&"K"

But, If possible I'm looking for another method to use, because having to do this for every single text box and a few dozen times at that isn't very appeasing. So I wanted to know if there were another way? Maybe a plugin? A function? Any help is appreciate.

Note: I know construct 2 also has a hard limit on the number size (It's 9 000 000 000 000 000 I believe). So if the method you suggest has a way to work around that too I'd be very happy. Thanks!
Posts: 8
Reputation: 541

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 49 guests