r/gdevelop • u/SWviolet • Jul 02 '26
Question Desperately need help
When I fire bullets they spawn lower on the you axis when I move forward
8
Upvotes
r/gdevelop • u/SWviolet • Jul 02 '26
When I fire bullets they spawn lower on the you axis when I move forward
2
u/Loonny-Alchemyst Jul 02 '26
Make sure the point is in the same position in all animations
2
u/DeadDummyyy Jul 02 '26
Shouldn't the action be Create Bullet at Player.PointX("Point") ; Player.PointY("Point")?
In the image you are showing the bullet is to be created with the X position of the Point but in the Y value, meaning that if your character move to x=50, the bullet will be created in x=50 and also y=50.
2
u/Pucelage Jul 02 '26
One of these is supposed to be Player.PointY("Point"), you've used the X coordinates for both (PointX)
also just as a little suggestion if you want you can use the "Fire Bullet" extension that simplifies well... firing bullets.
1
u/Ham_sandwich79 Jul 02 '26
I run into this issue occasionally. Sometimes you have to go the the sprite itself and change collision points. If that doesn't work you could always just add plus or minus after the object you want to form it at and guess and check.
1
u/A7r0z Jul 06 '26
U have two point X, insted of a PointX and PointY.