main.lua
unknown
lua
a year ago
301 B
11
Indexable
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
Editor is loading...
Leave a Comment