Global variable help

Get help using Construct 2

Post » Thu May 16, 2013 4:20 am

Hi everyone!!

First of all, let me tell you I am not a programmer or a computer question may sound a bit naive, but I'm having a serious issue here when it comes to global variables.

The thing is, I want to keep the score while changing layouts, in this simple game (is more of a quizz, actually) in order to use it with my students. I teach English in a primary school here in Portugal and I'm trying to develop some new ideas/ways of teaching...I've tried different ways, read a lot of stuff here in the forums, but still I wasn't able to sort it out.

Here's a capx of it. Like I said, quite simple.

I just can't figure out WHAT AM I DOING WRONG.........?????!!!!!!

can anyone PLEEEEEEASE help me?
Posts: 2
Reputation: 229

Post » Thu May 16, 2013 5:07 am

@Bruno Mayer
Seemed like you simply didn't have the text object in layout 3. I also cleaned up the events for you. When you have events of hovering over objects, you can have the default action in a "every tick" event (like the set mouse cursor) and only change it when you hover over the button, otherwise there's a conflict.
And I recommend you change the collision polygon on the objects, because it is what sets the area of the image you can click.
Posts: 1,039
Reputation: 15,314

Post » Thu May 16, 2013 10:20 am

Thank you so very much!!!

God.....I guess I was being quite dumb.....but I didn't read nowhere that I had to put the text box in all it was global. Well, nevermind. Thanks a lot, 7Soul!!
Posts: 2
Reputation: 229

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 67 guests