How do I MOVE OBJECT AFTER SHOOTING IT ?

Get help using Construct 2

Post » Thu Dec 18, 2014 10:36 am

Hi guys, I like to shoot a object.... Once the bullet hit's the objcet it should move a few pixels to the oposite direction from where the bullet came.

how can I do that ? a small capx sample would be great :)

thanks
B
38
S
16
G
2
Posts: 463
Reputation: 4,922

Post » Thu Dec 18, 2014 11:23 am

mariogamer you could do it like so
You do not have the required permissions to view the files attached to this post.
B
257
S
43
G
15
Posts: 1,992
Reputation: 41,535

Post » Thu Dec 18, 2014 12:36 pm

Hi thanks 4 the reply :)
look ...i made a modification. now u can stear and shoot. how can I change the angle of movement of the enemy box according the direction from where the bullet is hitting the enemy ?

thanks :)
You do not have the required permissions to view the files attached to this post.
B
38
S
16
G
2
Posts: 463
Reputation: 4,922

Post » Thu Dec 18, 2014 2:10 pm

you need to add only one line bullets angle toward enemy like so
You do not have the required permissions to view the files attached to this post.
B
257
S
43
G
15
Posts: 1,992
Reputation: 41,535

Post » Thu Dec 18, 2014 3:35 pm

thanks a lot :)
B
38
S
16
G
2
Posts: 463
Reputation: 4,922



Return to How do I....?

Who is online

Users browsing this forum: corporatedrone, dereck28, Yahoo [Bot] and 28 guests