should be simple

Get help using Construct 2

Post » Sun Dec 23, 2012 5:30 am

I have no idea what you are using to move the object around, but when you place it at its new coordinates you will need to disable those movements, so lets say you have bullet, physics, 8-direction, or platform behavior on the object. You need to make an event to disable these movements from within the object. If you have something like While D pressed -> Move Object X to Object.X+2 Just add a global variable called AllowedMove and ONLY allow the player to move when this is true. THEN, set it to 0 when the object is set to that position so the player can't move it around.
B
40
S
12
G
7
Posts: 603
Reputation: 7,656

Post » Sun Dec 23, 2012 10:30 am

assign bullet to object.

when you want it to move to said location

event whatever:
-> set bullet angle(or angle of motion) angle(bulletX/Y, targetXY)
-> set bullet enabled

then do whatever you want to disable the bullet upon reaching location
B
87
S
18
G
9
Posts: 2,455
Reputation: 14,834

Previous

Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, mallorcaredes, Matthew de, Yahoo [Bot] and 2 guests