How do I make a select/deselect operation happen w/ sprites?

Get help using Construct 2

Post » Fri May 15, 2015 6:45 am

Hey everyone!

Having difficulties with a game i'm making regarding making a selected sprite deselect as well. To give it more context my game involves selecting three "blocks" (sprites), two being two numbers and the third being an answer block, also a number, that equates to the two blocks being selected using an operand (+,-,x,/). The operand is back end and you don't see it. Anyways, there are more than just three blocks on the playing field, 12 in total, 8 normal blocks and 4 answer blocks. The problem im trying to solve is that a player can only select three blocks at one time, if they are correct they will disappear, otherwise stay on the game board. So if another block is clicked/touched the oldest clicked block should return to its old animation. There are two animations that represent the block's state, cracked and solid.

Please help in the sense where I want the oldest clicked brick to return to its resting state. Any more detailed information that you may need please feel free to get me to expand.

Thanks in advance, cheers!
B
4
Posts: 16
Reputation: 230

Post » Fri May 15, 2015 8:04 am

I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri May 15, 2015 8:15 am

I'll take a look. Guess I need to update Construct. Only downloaded it four weeks ago haha
B
4
Posts: 16
Reputation: 230

Post » Fri May 15, 2015 8:18 am

Was this made in the new beta release?
B
4
Posts: 16
Reputation: 230

Post » Fri May 15, 2015 8:34 am

I used version 204.2 for this..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri May 15, 2015 9:04 am

@LittleStain Wow thanks man...this helped immensely! Didn't think it would have to be that intense haha
B
4
Posts: 16
Reputation: 230

Post » Fri May 15, 2015 9:10 am

M0A0THIAS wrote:@LittleStain Wow thanks man...this helped immensely! Didn't think it would have to be that intense haha


There are probably much easier ways, haha..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri May 15, 2015 9:31 am

You would think! I tried numerous things, messing around with the frames and picking but found no solution. Yours does the trick! I'm just glad someone answers to my posts haha. You've been a great help for me today, I thank you. It's 230 am where I am so i'm off!
B
4
Posts: 16
Reputation: 230


Return to How do I....?

Who is online

Users browsing this forum: Armench, Artcadev, farsen, Google [Bot] and 12 guests