How do I make my enemy move from right to left

Get help using Construct 2

Post » Thu Sep 25, 2014 1:21 pm

how do i make my enemy (outside of layout) move from the right side to the left?
B
5
Posts: 19
Reputation: 257

Post » Thu Sep 25, 2014 1:33 pm

GIve the enemy the Bullet behavior and set their angle of motion -- under the Bullet behavior actions -- to 180 degrees at the start of the layout/whenever created.
Moderator
B
113
S
41
G
20
Posts: 1,586
Reputation: 19,106

Post » Fri Sep 26, 2014 1:27 am

@linkman2004 tks
B
5
Posts: 19
Reputation: 257

Post » Fri Sep 26, 2014 12:07 pm

@linkman2004 i did what u said, but it doesnt go from right to left, my enemy just goes from left to right, but up side down
B
5
Posts: 19
Reputation: 257

Post » Fri Sep 26, 2014 12:16 pm

change the direction?
0 degrees would be left to right
180 degrees would be right to left
90 degrees would be down
270 degrees would be up

preventing the enemy to be upside down would be setting rotation to no in properties..

I'm guessing you set the angle of the enemy to 180 degrees instead of the angle of the bullet behaviour movement..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Sep 26, 2014 12:49 pm

You can also shange speed (under Bullet Behavior Properties) to negative (if you have currently 400, set it to -400) ;)
B
32
S
7
G
4
Posts: 397
Reputation: 4,589

Post » Fri Sep 26, 2014 1:18 pm

@LittleStain @grigrizljac tks so much, i got it now
B
5
Posts: 19
Reputation: 257

Post » Sat Sep 27, 2014 4:35 am

If you need it to continually do this you you can assign the object the Sine behavior and set it to up and down in whatever magnitude of pixels you want.
Check out my completed games on the Arcade! Capt. Doe Save the Universe! & Clicker Wizard!
B
65
S
17
G
8
Posts: 636
Reputation: 9,333


Return to How do I....?

Who is online

Users browsing this forum: el3um4s, TylerJS and 9 guests