5310 / yourglass

Yourglass is a small two-player game made with LÖVE for the Tigcompo Versus.
https://5310.github.com/yourglass
3 stars 0 forks source link

Glass stops spinning a certain angle. #1

Closed 5310 closed 13 years ago

5310 commented 13 years ago

Alright, this is more of a test than a real issue, but it exists, just not committed yet.

With shapes added to glass.body, the hourglass stops spinning at an exact angle.

5310 commented 13 years ago

(I promised myself that I won't make a fool of myself in public, therefore I shall withhold the cursing.)

Ahem.

The rotation thingie was because the shapes were crossing the world border at that angle. Easily fixed.

Then, the problem became that nothing seemed to draw right, even when done properly. Everything other than the glass would draw south-east shifted and rotate.

That was because I forgot to put in love.graphics.push()/pop() operations.

:slapself:

Fix coming.