brian-lui / DiveFrog

The fighting game sensation
0 stars 0 forks source link

Gosh, instead of flipping it around (0, 0) and then shifting the sprite how about you set the offset to sprite.center and flip it there genius #51

Closed brian-lui closed 8 years ago

brian-lui commented 8 years ago

https://love2d.org/wiki/love.graphics.draw

It's possible to rotate an object about its center by offsetting the origin to the center. number ox (0) Origin offset (x-axis). number oy (0) Origin offset (y-axis).

HAHA. poopy