[r69]Bullet angle of motion problem

Get help using Construct 2

Post » Sun Nov 27, 2011 3:25 pm

so here is the problem

i made a bullet that is shooted by megaman but when megaman turns right all the bullet turns right to resolve the problem i made two bullets
the two are shooted in order (when player is right ,the right bullet shoot , when player is left ,left bullet shoot) but i the two bullets goes on the right side , i tried to change the angle of motion but it dont work and i dont know why


here's the capx file :
http://dl.dropbox.com/u/46771759/problem.capx


Thanks alot !!
B
42
S
17
G
17
Posts: 2,247
Reputation: 17,461

Post » Sun Nov 27, 2011 5:08 pm

Got a ton of errors while trying to open the capx.

Anyway, you should set Megaman's angle to 0 to face right (and not mirrored) and 180 to face left (and mirrored). You can then set the bullet's angle of motion to megaman.angle when fired. No need for multiple bullet objects!
Image
B
243
S
30
G
13
Posts: 1,787
Reputation: 18,770

Post » Sun Nov 27, 2011 7:17 pm

MY FILE GOT CORRUPTED
B
42
S
17
G
17
Posts: 2,247
Reputation: 17,461

Post » Sun Nov 27, 2011 7:20 pm

gosh that was close

can you edit my capx file so i can see what you mean srry if its hotfile
http://dl.dropbox.com/u/46771759/problem.capx
B
42
S
17
G
17
Posts: 2,247
Reputation: 17,461

Post » Sun Nov 27, 2011 7:22 pm

awww wrong link
B
42
S
17
G
17
Posts: 2,247
Reputation: 17,461

Post » Sun Nov 27, 2011 7:24 pm

this link
http://hotfile.com/dl/135972382/e1710e4/megaman_11.capx.html
B
42
S
17
G
17
Posts: 2,247
Reputation: 17,461

Post » Sun Nov 27, 2011 7:24 pm

thanks alot
B
42
S
17
G
17
Posts: 2,247
Reputation: 17,461

Post » Sun Nov 27, 2011 7:26 pm

oh and all my spritesheet script did go for the bullets
B
42
S
17
G
17
Posts: 2,247
Reputation: 17,461

Post » Sun Nov 27, 2011 7:26 pm

*eventsheet
B
42
S
17
G
17
Posts: 2,247
Reputation: 17,461

Post » Sun Nov 27, 2011 8:10 pm

Under 'post options' there is an option labelled 'edit post.' Please use that instead of rapidly making tons of posts. Thanks!
Moderator
B
94
S
33
G
33
Posts: 3,006
Reputation: 27,749

Next

Return to How do I....?

Who is online

Users browsing this forum: Lancifer, Yahoo [Bot] and 56 guests