How to move bullet object in direction that player is facing in Python (Pyglet)

时间:2018-07-24 10:09:54

标签: python-3.x pyglet

My code is made so that the player faces wherever the mouse is pointing and I have so far managed to make the bullet face the correct direction, but I dont know how to change x and y coordinates so that the speed is constant and in the direction of player

Any help would be appreciated :)

0 个答案:

没有答案