Score Global Variable Not Working??

Get help using Construct 2

Post » Mon Jul 02, 2012 7:44 pm

I followed the steps in the beginners guide, and it initially worked, but the program crashed, so I had to do it over again, now my score isn't showing changing in the textbox every tick, it starts at zero and stays zero.

Is it the global variable not changing?

Awakening2012-07-02 19:46:59
B
9
S
3
Posts: 148
Reputation: 1,738

Post » Mon Jul 02, 2012 7:47 pm

B
9
S
3
Posts: 148
Reputation: 1,738

Post » Mon Jul 02, 2012 7:50 pm

Your score changes, but you only display it on start of the layout.

Put the action "Set text : "Score :" & Score" in the "Every tick" event, and you should see the score raising as you eliminate "Tips".Kyatric2012-07-02 19:51:05
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,999
Reputation: 57,793

Post » Mon Jul 02, 2012 8:07 pm

LOL OH THANKS! hahaha, my bad,suppoed to be every tick, which usually is the top of my event sheets, haha, thanks!
B
9
S
3
Posts: 148
Reputation: 1,738

Post » Mon Jul 02, 2012 8:27 pm

Please - if Construct 2 crashes - report a bug. We really want to fix any possible crashes that can ever happen so Construct 2 is as reliable as possible. It's frustrating to read that Construct 2 has crashed but not be able to do anything to prevent the problem ever happening again!Ashley2012-07-02 20:28:27
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Mon Jul 02, 2012 10:39 pm

If I can recreate it will do!
B
9
S
3
Posts: 148
Reputation: 1,738


Return to How do I....?

Who is online

Users browsing this forum: fredriksthlm, MPPlantOfficial, Yahoo [Bot] and 18 guests