Search found 2 matches

by IronCrab
Wed Jul 15, 2015 8:33 am
Forum: Support and Development
Topic: First time with LÖVE
Replies: 4
Views: 2714

Re: First time with LÖVE

local rand = math.rand(1,255) --Place this line in the same function. if love.keyboard.isDown("direction") then love.graphics.setColor(rand,rand,rand,255) love.graphics.draw(ham, x, y) x or y = x or y + (speed*dt) end And... x or y = x or y + (speed*dt) What ? :crazy: Did you mean : x, y ...
by IronCrab
Tue Jul 14, 2015 11:21 pm
Forum: Support and Development
Topic: First time with LÖVE
Replies: 4
Views: 2714

First time with LÖVE

New to the forum here, so hello everyone. I've been coding for awhile (year perhaps, just a hobby, nothing serious) in C++, and I've decided to create a game using SDL library, resulting in a enormous mess, and loads of unexplainable errors :? . Instead of giving up I moved into LUA because of it's ...