Search found 2 matches

by Cheeta
Tue Jun 08, 2021 10:18 am
Forum: Support and Development
Topic: Draw array
Replies: 3
Views: 6547

Re: Draw array

Translate: https://love2d.org/wiki/love.graphics.translate You can use the chars in array: chars = {".", "#", "@"} print (char[1]..char[2]..char[3]) -- ".#@" Oh, sure. Thank you. Hi, maybe something like this: currently when drawing the map, you loop through ...
by Cheeta
Mon Jun 07, 2021 7:35 pm
Forum: Support and Development
Topic: Draw array
Replies: 3
Views: 6547

Draw array

Hello. I'm pretty sure this is not the best way to achieve my goal (draw the player in the middle of screen and everything near him, emulating a what I think is called "camera movement"??), however this is the only way I can think of. function love.load() map={} w_max=100 h_max=100 for y=1...