Search found 2 matches
- Tue Jan 12, 2016 1:24 am
- Forum: Support and Development
- Topic: Rotating an image to face another point?
- Replies: 2
- Views: 3134
Re: Rotating an image to face another point?
awesome, thanks. i'm glad you could explain how it works, this will be useful for other things aswell.
- Mon Jan 11, 2016 10:59 pm
- Forum: Support and Development
- Topic: Rotating an image to face another point?
- Replies: 2
- Views: 3134
Rotating an image to face another point?
Hi, I'm kind of new to love, and I was curious to see how I can rotate an image to make it point to a certain point. (The mouse cursor position.) function love.draw(dt) love.graphics.draw(player.img, player.x, player.y, player.r) --player is a table value storing the information of the player end al...