Is there a simple way to rotate an image?
Posted: Wed Dec 21, 2011 2:23 am
Hi guys. I haven't used LÖVE in a while and I'm trying to get back into it. Right now I'm just testing out some of the basics again, but I can't seem to find a simple way to rotate an image (loaded using love.graphics.newImage). I looked at the Wiki and a few libraries and stuff, but things like love.physics or an entire animation library seem a little complicated for something like this. I messed around with love.graphics.drawq a bit, but can't seem to make it rotate around the center of the image (it rotates around the upper left it seems). Is there something obvious and easier that I'm missing here, or should I just use one of the above-mentioned methods?