Search found 2 matches

by 10100
Sun Dec 15, 2013 2:36 am
Forum: Support and Development
Topic: Exteme lagg when drawing tiles
Replies: 2
Views: 968

Re: Exteme lagg when drawing tiles

Thanks! I didn't notice it before now. I first made the for loop in love.load() to make the collision boxes and then copied it to draw to draw the tiles. I must have forgotten to remove that line.
by 10100
Sun Dec 15, 2013 2:04 am
Forum: Support and Development
Topic: Exteme lagg when drawing tiles
Replies: 2
Views: 968

Exteme lagg when drawing tiles

Greetings. I've tried to make a tilebased map drawer, but when I use it it makes the game lagg. Making a function that checks if the map was already drawn didn't work either. Is there something I can do to remove the lagg? Code that makes it lagg: local posY = 0 for y = 1, map_screenH do local posX ...