Hello, I have a problem. I want create FPS and i dont know how set bullet angle for Y axis?
thank for help :)
This looks very awesome mate keep it up!
For your issue, try to manipulate the z elevation of the bullet, so if you want it to fly forward it has to substract 1 from z elevation each tick or whatever speed the bullet is going.
Quick example is creating a variable called bulletZ, add every tick set bullet sprite z elevation to bulletZ
and then after that i would add like "every 0.2 sec > substract 1 from bulletZ".
This would make the bullet appear flying forward.
Then you will ofc have to implement your way of firing the bullet i just gave you an example that i think would work. Like add a function to shoot the bullet, check z elevation to destroy the bullet once its like -100 z ele
Let me know how it works out, again, seems like a nice game :)
P.S: If you worked with 3d shapes before, z elevation is way easier to understand.