command
Version:
v0.0.0-...-37710a6
Opens a new window with list of versions in this module.
Published: Mar 8, 2016
License: BSD-2-Clause
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
What does it do?
It demonstrates how one can move the camera round, by keeping the cursor close to the edges of the window.
For doing so, it created a green background. This way, you'll notice the moving.
What are important aspects of the code?
This line is key in this demo:
game.AddSystem(engi.NewEdgeScroller(scrollSpeed, edgeMargin))
, to enable moving the camera around by using the edges of the window.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.