Page 3 of 3

Re: hello love: i really don't know who you are [version 1.2]

Posted: Sun Mar 28, 2010 8:32 am
by zachwlewis
God damn it.

I uploaded the wrong copy. The link should now be fixed. All the problems you had were resolved with the real version 1.2.

Re: hello love: i really don't know who you are [version 1.2]

Posted: Sun Mar 28, 2010 9:34 am
by Robin
zachwlewis wrote:God damn it.

I uploaded the wrong copy. The link should now be fixed. All the problems you had were resolved with the real version 1.2.
Good. For some reason, the top of walls and paths are now just black. Character, treasure and front side of walls do show.

Re: hello love: i really don't know who you are [version 1.2]

Posted: Sun Mar 28, 2010 3:35 pm
by zachwlewis
That's strange. I just tried it on my two computers (Windows 7, Love 0.6.2) and it worked perfectly. Does anyone know why this could happen? I'm using spriteBatches with enough space to store all the content I'm showing and I'm not seeing any problems.

Re: hello love: i really don't know who you are [version 1.2]

Posted: Sun Mar 28, 2010 5:38 pm
by pekka
By the way, if I may give a little suggestion: You could make the player sprite turn left and right by flipping it horizontally. This can be done by drawing it as follows, where flip is a parameter or variable that can be either 1 or -1. HalfWidth in turn is half the width of your tiles, or 16 in this program.

Code: Select all

function drawPlayer()
  love.graphics.drawq(character_map, player.quad, player.x - camera.xOffset + halfWidth,
    player.y - camera.yOffset, 0, flip, 1, halfWidth)
end
It's not a big deal by any means, but I personally like it when a character turns left or right in response to the direction of the last move it made.

EDIT: I haven't seen any problems of the sort Robin describe above. The game looks the same on my computer as in the screen shots posted by Zach (1st posting in the thread).

Re: hello love: i really don't know who you are [version 1.2]

Posted: Sun Mar 28, 2010 6:23 pm
by zachwlewis
I may add flipping if I get a fix to the black tiles on Robin's system. :)