Search found 2 matches

by White_Silla
Tue Feb 18, 2014 5:05 pm
Forum: Support and Development
Topic: Player image
Replies: 2
Views: 397

Re: Player image

The players coordinates: player.x and player.y store the coordinates of the center of your player. When you use love.graphics.draw for an image, then by default, the parameters are used as the coordinates of the upper left corner (not the center). But you can easily correct this, by also handing ov...
by White_Silla
Tue Feb 18, 2014 1:26 am
Forum: Support and Development
Topic: Player image
Replies: 2
Views: 397

Player image

Hi, i'm very new to Love and i watched a couple of tutorials and i did a platformer. I did a quick sprite and then changed the image of the player, but this happened: http://k36.kn3.net/0DB1D3C3C.png As you can see, the player is clipping through the floor The image of the player is 32x32: http://k4...