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
37
S
16
G
2
Posts: 447
Reputation: 4,865

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
249
S
39
G
15
Posts: 1,953
Reputation: 40,598

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
37
S
16
G
2
Posts: 447
Reputation: 4,865

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
249
S
39
G
15
Posts: 1,953
Reputation: 40,598

Post » Thu Dec 18, 2014 3:35 pm

thanks a lot :)
B
37
S
16
G
2
Posts: 447
Reputation: 4,865



Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, tarek2 and 14 guests