CheeseLord / plaid

PLAtformer In D
MIT License
0 stars 0 forks source link

Player sprite sized wrong #25

Closed CheeseLord closed 8 years ago

CheeseLord commented 8 years ago

Blitting the sprite doesn't scale it appropriately. We need to handle that.

CheeseLord commented 8 years ago

We rescale every frame, and we flatten at the edges of the world. Both should be fixed.

CheeseLord commented 8 years ago

Also, sometimes the sprite overlaps the platforms a little. We can probably fix this with alpha or drawing the platforms on top.

kronmillerg commented 8 years ago

The fact that things sometimes overlap by a pixel is not an issue with the player being sized wrong; it probably has to do with imprecisions when scaling from world to screen coordinates. If it's a problem, we should file a separate issue for it. I will close this issue once the edge-of-world flattening bug is fixed.