How do I create a multiple selection

Just started using Construct 2? Post your questions here

Post » Fri Jan 13, 2017 2:11 pm

Message: tiopudull can only post plain text URLS until they have 500 rep. 2 URLS modified. Why?
Hi, im trying to create a card game but not like poker or battle one is more like a boardgame so the problem is i can't do the cards to be selecte or deselect, i just make a really REALLY simple event sheet im stuck with the logic.

this is the layout
http://prntscr.com/dv539t

this is the event sheet
http://prntscr.com/dv52so

i already figure out half way but the thing i want to do is those brown squares are my cards so when the players select (click or tap) one of then just change to another frame and is the player click or tap again they will change to the original frame
B
4
Posts: 3
Reputation: 206

Post » Fri Jan 13, 2017 3:41 pm

You need to check the frame number also. If it's 0, set it to 1 else set it to 0.
ImageImageImage
B
71
S
21
G
232
Posts: 3,695
Reputation: 129,866

Post » Fri Jan 13, 2017 3:57 pm

blackhornet wrote:You need to check the frame number also. If it's 0, set it to 1 else set it to 0.


ok what you see is what you just suggeted, when i click or tap the square change the frame from 1 to 0 but what i want to do is change the frame back to 1 when the player click it, i already try adding a new condition with everything like while or if and even with or but anything works just because all the condition are true and then nothing happens
B
4
Posts: 3
Reputation: 206

Post » Fri Jan 13, 2017 4:06 pm

ImageImageImage
B
71
S
21
G
232
Posts: 3,695
Reputation: 129,866

Post » Fri Jan 13, 2017 4:55 pm

Message: tiopudull can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
blackhornet wrote:http://www.blackhornettechnologies.com/Construct2Stuff/ToggleSelection.capx


im retarded :shock: , thank you man i been trying to solve this for like 1 week...im such a noob
B
4
Posts: 3
Reputation: 206


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests