i am trying to make a side scrolling shooter ie megaman. im setting up my bullet directions to fire left and right depending on player direction, but the bullet dynamically changes after being created as my player changes direction
Develop games in your browser. Powerful, performant & highly capable.
You are probably setting the bullet direction every tick, so when your player changes direction so does the bullet. Just set the direction once on bullet spawned.