On / Off Button Problem :s

Get help using Construct 2

Post » Sun May 13, 2012 1:52 pm

I'm trying to make a button that sets the Grid either Visible or Invisible..

It did not work with a Global Variable, and now it is not working with "Visible"

--------------------------------------------------------------
*Event:   Mouse Left Clicked on "Grey_Button"
      
       *Sub-Event:   "Red_Light" = Visible
                 (Action): Set "Grid" Visible
                 (Action): Set "Red_Light" Invisible
                 (Action): Set "Green_Light" Visible
   
       *Sub-Event2: "Green_Light" = Visible
                 (Action): Set "Grid" Invisible
                 (Action): Set "Green_Light" Invisible
                 (Action): Set "Red_Light" Visible
--------------------------------------------------------------

Not working... What am I doing wrong?
B
40
S
11
G
4
Posts: 665
Reputation: 8,403

Post » Sun May 13, 2012 2:19 pm

Can you try using "on mouse button released" instead of left click? And add another condition "cursor is over grey button". If that works I think I know why this happens.

B
63
S
23
G
17
Posts: 254
Reputation: 14,342

Post » Sun May 13, 2012 2:30 pm

nope not working

http://dl.dropbox.com/u/53738503/RebirthTD%20(2).capx

feel free to try it outSchoening2012-05-13 14:30:26
B
40
S
11
G
4
Posts: 665
Reputation: 8,403

Post » Sun May 13, 2012 2:33 pm

Can you remove the plugins?
B
63
S
23
G
17
Posts: 254
Reputation: 14,342

Post » Sun May 13, 2012 2:40 pm

you mean deleting them in my folders?
B
40
S
11
G
4
Posts: 665
Reputation: 8,403

Post » Sun May 13, 2012 2:43 pm

On the project .capx, if other people don't have them installed we can't open it.
B
63
S
23
G
17
Posts: 254
Reputation: 14,342

Post » Sun May 13, 2012 2:48 pm

http://dl.dropbox.com/u/53738503/RebirthTD.capx

I have removed button and keyboard.

Are you using the newest Beta?
B
40
S
11
G
4
Posts: 665
Reputation: 8,403

Post » Sun May 13, 2012 2:53 pm

ive implemented my way of doing switches

not sure what the colors do..

grid
ImageImage
B
61
S
19
G
6
Posts: 809
Reputation: 9,028

Post » Sun May 13, 2012 3:58 pm

Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

Post » Sun May 13, 2012 4:29 pm

ohh i forgot to remove that, soz
B
40
S
11
G
4
Posts: 665
Reputation: 8,403

Next

Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, Braus, supreme676 and 9 guests