Search found 1 match

by jvetvicka
Sat Jul 20, 2019 12:59 pm
Forum: Support and Development
Topic: Row of enemies
Replies: 2
Views: 3556

Row of enemies

Hi, i am begginer at Lua and Love2D and i need help. I would like to display 4 rows of enemies (like Space invaders), but i dont know how to do (simply). Thx for advice function love.draw() for i=1, #colors do if i <= 3 then rectangle.x = i*35 + (155 * (i-1)) rectangle.y = 35 elseif i > 3 and i <= 6...