Problem when adding "x" to Text displaying a Var

Discussion and feedback on Construct 2

Post » Tue Dec 10, 2013 3:18 pm

That's weird! I have just duplicated this - it doesn't make sense although it seems to be something to do with having the global variable at the start of the display text string. If you make your text string look like this then it'll display correctly (ie have some text to display first, even if it's a nil entry):

"" & Multiplier & "x"
A big fan of JavaScript.
B
74
S
20
G
69
Posts: 2,205
Reputation: 43,832

Post » Tue Dec 10, 2013 3:25 pm

Right! It works. Even without rounding and the many 00000's in the var according to the debugger, it displays only 1.x, 2.x and so on.

Thank you very much to everyone who took the time to read and reply.

Now I only have to fix this problem with selecting and deleting family members. (http://www.scirra.com/forum/topic82615.html)Bl4ckSh33p2013-12-10 15:28:07
B
54
S
16
G
6
Posts: 719
Reputation: 9,207

Post » Tue Dec 10, 2013 3:47 pm

I've submitted a bug report for this.
A big fan of JavaScript.
B
74
S
20
G
69
Posts: 2,205
Reputation: 43,832

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: Lof, mihirolover and 5 guests