How do I big number show as small

Just started using Construct 2? Post your questions here

Post » Tue Aug 01, 2017 4:10 pm

hello im doig clicker game/idle.
and i have 720*1280 screen. when i play it and collect alot of money like 99999999999999
and after wards its disapears because its too long to show

i want to make to show as 1.23e23 or 9.54e12
or maybe 1.25k 3.45T 3.99aa
can some help me to do that
link me with tutorials or give simple explanation thanks
B
5
S
1
Posts: 6
Reputation: 337

Post » Tue Aug 01, 2017 8:10 pm

Hi,

Im pretty sure that you can already find this in the forum.

But:
score >= 1000000000000
"YOUR NUMBERS" = int(score/1000000000000) & "T" repeat for "B" et "M" etc

There is maybe a better method but there is no bad method if it work.


Casimir,
B
11
S
3
Posts: 40
Reputation: 815

Post » Tue Aug 01, 2017 8:26 pm

Casimir wrote:Hi,

Im pretty sure that you can already find this in the forum.

But:
score >= 1000000000000
"YOUR NUMBERS" = int(score/1000000000000) & "T" repeat for "B" et "M" etc

There is maybe a better method but there is no bad method if it work.


Casimir,



can i add my global variables like into family or something? so i can write 1code and all variables will check?
like for T or M or B and all variables what i listed will look for match. mhm ideas?
B
5
S
1
Posts: 6
Reputation: 337

Post » Wed Aug 02, 2017 5:57 am

Check my topic you will find the answer from Magistross.
viewtopic.php?f=147&t=192724
B
52
S
32
G
14
Posts: 242
Reputation: 12,333

Post » Wed Aug 02, 2017 6:53 am

@odiusfly can you help me to implement into my game? do you have skype or other quick chat platform, thanks
B
5
S
1
Posts: 6
Reputation: 337

Post » Wed Aug 02, 2017 7:57 am

@mokinys98

Send me pm here.
B
52
S
32
G
14
Posts: 242
Reputation: 12,333

Post » Wed Aug 02, 2017 9:21 am

Message: mokinys98 can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
can't pm i dont have pionts, my skype aurimasz98 or facebook https://www.facebook.com/aurimukas.vardenis

@odiusfly
B
5
S
1
Posts: 6
Reputation: 337


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest