mirror of
https://github.com/vrld/hump.git
synced 2024-11-23 12:24:19 +00:00
Merge pull request #110 from davidskeck/patch-2
Not really a full example without this IMO.
This commit is contained in:
commit
4c73c1f5a6
@ -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
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user