#Joystick controls while firing || Android Development

8 messages · Page 1 of 1 (latest)

cinder current
#

For the past month or so I have been trying to simply fire a instance of the bullet scene and every time I try it either crashes or the bullet isn't shooting at all! I could use some beginner help here any advice would be appreciated 👍

outer breach
#

Could you post some screenshots of errors and your code?

cinder current
#

So I got it to where the joystick is instancing the bullet.tscn but all my bullets are only going right any advice? I've been stuck on this for weeks

warped eagle
#

Can we see your code

warped eagle
#

Here's one potential way to solve this.

#

Get your direction as a vector, and normalize it

#

Then in your process function,you can write something like

#

Position += speed * delta * directionvector