main.lua
unknown
lua
a month ago
301 B
5
Indexable
Never
camera = require "Libraries/hump-master/camera" cam = camera(380,580) function love.load() myPic = love.graphics.newImage("Path/To/MyPic775x783.png") end function love.update(dt) cam:move(0, dt * -6) end function love.draw() cam:attach() love.graphics.draw(silverMillennium,0,0) cam:detach() end
Leave a Comment