Merge pull request #110 from davidskeck/patch-2

Not really a full example without this IMO.
This commit is contained in:
Matthias Richter 2018-10-14 13:36:42 +02:00 committed by GitHub
commit 4c73c1f5a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,12 @@ worry about that.
camera:move(dx/2, dy/2) camera:move(dx/2, dy/2)
end end
function love.draw()
camera:attach()
-- do your drawing here
camera:detach()
end
List of Functions List of Functions
----------------- -----------------