How do I make a game like Unblock Me?

Get help using Construct 2

Post » Tue Mar 04, 2014 8:50 am

If you remember the game Unblock Me for iOS, then I would like to create one like that as well.
My only problem is that the collisions between 2 blocks wont work. I tried to make a event, whenever a block collide with another, dragdrop would automatically drop. But when I drag the block again, it just went through the other block.
How can I make the blocks collide properly?
You do not have the required permissions to view the files attached to this post.
B
3
Posts: 1
Reputation: 177

Post » Wed May 14, 2014 12:43 pm

Hi animehunter,

I'm having the same issues where on drag and drop the block goes through other blocks if I drag to hard. So far I have not seen any other solution to this problem. Have you had any success?
Thanks!
B
4
Posts: 5
Reputation: 465

Post » Wed May 14, 2014 3:31 pm

I have a solution to this issue:
1) Take the moving sprite (for example your vertical moving bar) - position by the left wall and record its position (x,y)
2) Go to the events sheet and add an event, select the sprite and double click on collision with another object (collision sprite)
3) Add to actions for that sprite A) Drop Drag Drop and B) Set position (here is where you place the position (x,y) ) this is where the sprite will stop when collision is true.

you need to do this to all possible collisions along the path of the sprite.

Good Luck,
tonyg70
B
4
Posts: 5
Reputation: 465


Return to How do I....?

Who is online

Users browsing this forum: 8tomo8, brunopalermo and 10 guests