How do I show highscore menu + acceleration

Get help using Construct 2

Post » Sun Mar 30, 2014 4:46 am

I want to show a menu when a button is touched.

The code i wrote it works perfectly without the button touched.

but because there is a previous event of the touched button it not works, the actual behavior is when i touch the button the menu moves only once not the full route.

Here is the code.

Image

Someone can please help me?

Thanks and regards n_n
B
31
S
13
G
6
Posts: 355
Reputation: 5,058

Post » Sun Mar 30, 2014 3:00 pm

Any little help n_n ?
B
31
S
13
G
6
Posts: 355
Reputation: 5,058

Post » Sun Mar 30, 2014 3:13 pm

Never used the touch before however if you try creating a variable called ("display") then do the following:


on touch highscore then set "display" =1

Then as a seperate set of events(not a sub of the touch event) do:

If "diplay" =1
system evertick
highscore y>186 then (your actions)


else set "display" =0
Etc,etc
B
14
S
6
G
3
Posts: 83
Reputation: 4,228

Post » Sun Mar 30, 2014 3:15 pm

So the solution is creating a flag? n_n i thought there was another solution without the flag thanks a lot Lionheart
B
31
S
13
G
6
Posts: 355
Reputation: 5,058


Return to How do I....?

Who is online

Users browsing this forum: nahima and 5 guests