How do I - 180 bullets, possible bug or I just suck?

Get help using Construct 2

Post » Fri Aug 28, 2015 11:52 am

Probably the latter,

All I'm trying to do is have the bullet shoot left AND from the same image point spot when the player faces left. Pretty simple problem. I set it up to do so, and it works 90% of the time but sometimes the bullet will shoot a tiny bit lower than where the imagepoint is when the player is facing right, like it will shoot out of the players feet when facing left. (using the 180 degree bullet angle action set).

To attempt to fix this I thought I was a genious so I made a second image point and dragged it slightly higher than the right facing bullet spawn image point, attached the mirrored bullet angle to the 2nd image point and it worked but not perfectly. The bullet will still spawn roughly 50 pixels below where it should when I have the action "adjust bullet angle 180 degrees." What the hell.

(posting this from memory not referencing my event screen so the wording may be a tad off)
Event - Mirror player
Bullet Action - spawn bullet on image point - Rotate Bullet Angle 180 degrees when player is mirrored.

Bullet doesnt come out where I want it to. Any help?
B
3
Posts: 5
Reputation: 185

Post » Fri Aug 28, 2015 1:00 pm

Can you post a capx ?
B
12
S
7
G
7
Posts: 450
Reputation: 4,276


Post » Fri Aug 28, 2015 6:03 pm

without more information it is shooting in the dark :) but...

look at your bullets (sprite) image point - is it up/down from centre - but if your bullet is working 90% of the time it can't be this...
do you have multiple images for your bullet ?

I'm with Coin coin - I think we need to see the capx.

Good luck
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
33
G
47
Posts: 1,194
Reputation: 30,812


Return to How do I....?

Who is online

Users browsing this forum: Darth Crusher and 1 guest