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

0 favourites
  • 8 posts
From the Asset Store
Build your map with these isometric objects and terrains
  • 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!

  • I'll take a look. Guess I need to update Construct. Only downloaded it four weeks ago haha

  • Was this made in the new beta release?

  • I used version 204.2 for this..

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

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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..

  • 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!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)