Also by change you end up wanting to use the image angle for anything its good to wrap it mostly later if your trying to use fov and what not. However, keep in mind that if you rotate the sprite, the hitbox of the sprite will rotate as well. For player movement collision handling you want to avoid using image_angle variable by using your own variable for the image rotation with the draw_sprite_ext function. 1 You should be able to use imageangle for this, changing the value will change the angle of the sprite, and continiously increasing/decreasing that value will simulate a rotation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |