Skip to content

Latest commit

 

History

History

keyboardscroller

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

KeyboardScroller Demo

What does it do?

It demonstrates how one can move the camera round, by pressing WASD.

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:

  • w.AddSystem(engo.NewKeyboardScroller(scrollSpeed, engo.W, engo.D, engo.S, engo.A)), to enable moving the camera by using the keyboard.