Search found 4 matches

by Mendokuse
Mon Mar 28, 2011 3:03 am
Forum: Support and Development
Topic: Drawing a character over a tileset
Replies: 3
Views: 1974

Re: Drawing a character over a tileset

I decided to change it about and now I'm using two layers, the second layer has the character on it and blank (transparent) tiles for everything else. However, when I run the code, I only see layer 2 (it's drawn after) and the blank tile spots are just black (which is the LOVE2D background because L...
by Mendokuse
Sun Mar 27, 2011 3:39 am
Forum: Support and Development
Topic: Drawing a character over a tileset
Replies: 3
Views: 1974

Drawing a character over a tileset

Hi. I followed the first section of this tutorial: https://github.com/kikito/love-tile-tutorial/wiki And everything was fine, so I decided to try and make a character move on the screen (move block by block) but I can't figure out how to get it done. So far I have this: A drawCharacter() function th...
by Mendokuse
Sat Mar 26, 2011 12:12 pm
Forum: Support and Development
Topic: Black image.
Replies: 4
Views: 3383

Re: Black image.

EDIT: Huh, I read the PO2 syndrome and if I resize it to 256x256 it displays. I didn't think this would happen, my graphics card isn't too old (8800GTS) It isn't really the graphics card's fault, it's because of shitty drivers. Are you sure your drivers are up to date? I was pretty sure they were. ...
by Mendokuse
Sat Mar 26, 2011 3:58 am
Forum: Support and Development
Topic: Black image.
Replies: 4
Views: 3383

Black image.

Hi function love.load() image = love.graphics.newImage("image1.png") sound1 = love.audio.newSource("sound1.mp3") local f = love.graphics.newFont(14) love.graphics.setFont(f) love.graphics.setColor(0,0,0,255) love.graphics.setBackgroundColor(255,255,255) end function love.draw() l...