It is ok as I got it working. local x = 0 function love.load() -- Everything will be loaded here Beast=love.graphics.newImage("Beast.png") end function love.update(dt) -- Everything will be updated here x=x+1-dt end function love.draw() -- Everything will be drawn here love.graphics.draw(B...
thanks for helping me but I get error which show code blow local x = 0 function love.load() -- Everything will be loaded here Beast=love.graphics.newImage("Beast.png") end function love.update(dt) -- Everything will be updated here x=x*dt end function love.draw( -- Everything will be drawn...
Hello all, I have start to learning LUA and start doing basic LUA like variable, text on screen, Sprites on screen and on. I was trying to do moving sprites to try move sprite cross the screen but it not working for some reason. local x = 0 function love.load() -- Everything will be loaded here Beas...