How do I specify the direction of a spawned object?

Get help using Construct 2

Post » Fri May 15, 2015 12:01 pm

My student is making a hockey game. When the hockey player spawns the puck, it by default goes right. When the player is facing left however, the puck still goes right. How can I make the puck go left?

I know condition 1 has to be space bar pressed (to shoot puck), and condition 2 has to be that the player is mirrored (to face left). What action or sub events do I need to add?

Thank you!
Posts: 11
Reputation: 249

Post » Fri May 15, 2015 12:10 pm

Does the puck have bullet behaviour?

if so something like this would work:

puck on created
player is mirrored
> puck - bullet set angle of motion = 180
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
Posts: 6,160
Reputation: 19,775

Post » Fri May 15, 2015 3:30 pm

This worked, thank you so much!
Posts: 11
Reputation: 249

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 3 guests