Buttons

For questions about using Classic.

Post » Wed May 13, 2009 5:05 am

For some reason I end up not being able to solve the simplest of problems in construct. Can someone tell me how I can make it so when a sprite overlaps a button, that button's private variable becomes 1 and all the other button's variables become 0? and the button's variable has to stay 1 until the sprite overlaps another one.
B
2
S
2
G
4
Posts: 239
Reputation: 1,928

Post » Wed May 13, 2009 8:12 am

Here you go, in just one event (uses a family to aid in un-picking):

http://dl.getdropbox.com/u/529356/button%20thing.cap
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Fri May 15, 2009 4:39 pm

Deadeye fails at help... he always gives bad advice... get my example it's better.

http://dl.getdropbox.com/u/529356/button%20thing.cap

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
45
S
17
G
37
Posts: 2,853
Reputation: 25,966

Post » Fri May 15, 2009 4:43 pm

You rotten thief!

Edit:
And you rotten post editor!
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Mon May 18, 2009 3:18 am

Thanks a bunch, I think I got it but I put so many sprite objects in my platformer that the game starts to chug >.< oh well next project.
B
2
S
2
G
4
Posts: 239
Reputation: 1,928

Post » Wed May 20, 2009 12:16 am

[quote="deadeye":2zss91h8]You rotten thief!

Edit:
And you rotten post editor![/quote:2zss91h8]

teehee ^^


<3

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
45
S
17
G
37
Posts: 2,853
Reputation: 25,966

Post » Wed May 20, 2009 7:45 am

lol my topics always turn out easily answered and then the subject changes :roll:
B
2
S
2
G
4
Posts: 239
Reputation: 1,928


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 6 guests