How do I pick and drop object?

Get help using Construct 2

Post » Fri Oct 25, 2013 8:17 pm



In the game I want to:-

1. Pick a cube when a key is pressed and move with it in all 4 directions ( 8-direction behavior                         with direction set as " 4 direction")

2. Drop the cube when a key is pressed


i tried using the pin behavior but i think it is not the right method to achieve this mechanic.

Thanks in advance!
B
2
Posts: 5
Reputation: 160

Post » Fri Oct 25, 2013 8:42 pm

I have figured out most of it but it does not seems to work smoothly

   player on collision with red cube ---- red cube pin to player (position & angle)

on space pressed ----- unpin pin behavior

i can move perfectly in 3 directions but it does not move with the same flow at the direction i am facing . It is slower.

PRoblem :-

   how to trigger pin behavior on a key pressed not on just collision

   fixing the push behavior at the direction the player is facinghuribaba2013-10-25 20:47:54
B
2
Posts: 5
Reputation: 160

Post » Fri Oct 25, 2013 8:52 pm

capx link http:// w w w.hyperfileshare.com/d/873cd91b
B
2
Posts: 5
Reputation: 160


Return to How do I....?

Who is online

Users browsing this forum: jorgmaquoi, Sup with that? and 55 guests