Discord
Login
Community
DARK THEME

can some one help

i cant get this code to work can you take a look at it and give me some tips on it? init = function() Quick.init player = Quick.addSpite("baby1"0,0,50,100) end

update = function() Qiuck.update if keyboard.Q then addspite("bullet3"0,0,50,+5) if (0,0,50,100) then addspite("baby2"0,0,50,100) end if keyboard.W then addspite("bullet2"0,0,50,+7) if 0,0,50,100 then addspite("baby3"0,0,50,100) end if keyboard.E then addspite("bomb1"0,0,50,+2) if (0,0,50,100) then addspite("baby4"0,0,50,100) end if keyboard.R then addspite("nook1"0,0,-2,50) if (0,0,50,50) then

end if keyboard.SPACE then addspite("baby1"0,0,50,100)

draw = function() screen.fillRect(0,0,screen.width,screen.height,"rgb(16,147,147)") end screen.drawSprite("wall",i*40-position%40,-80,40) end

end lilly

you misspelled Quick and addsprite. you're also refencing "i" and if you're not using a loop, then it'll just be 0

next time use <.code> and </.code>without the dots to make your code more readable

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community