bullet

Get help using Construct 2

Post » Thu Feb 27, 2014 5:25 am

Hi, i've been having a few prblems. One is that i have made a top down game. i have made it so that the player always points to the mouse, and when you left click the bullet behavior is enabled. the problem is that my player is never stopped by objects with the solid behavior. i know i can use the 8 direction, but i prefer to control the player this way. is there anything i can do to make this work?
B
1
Posts: 4
Reputation: 133

Post » Thu Feb 27, 2014 7:00 am

It's hard to tell, when I don't see the code.
But maybe one of these will solve your problem:
Set "Bounce off" property of the bullet behaviour to "Yes".
Make a collision event with all solid objects.
B
14
S
3
G
1
Posts: 255
Reputation: 2,027

Post » Thu Feb 27, 2014 7:04 am

i tried both of those already. the bounce makes my character go into the corner and get stuck. the set to solid on collision has no effect. is this just a limitatuion of construct? di i need to switch to 8 direction?
B
1
Posts: 4
Reputation: 133

Post » Thu Feb 27, 2014 7:09 am

And did you try adding an event "Player : on collision with wall" => "Player.Bullet.Speed = 0" ?
B
17
S
8
G
4
Posts: 473
Reputation: 6,221


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 26 guests