entityscroller

command
v0.0.0-...-8fc0beb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2016 License: MIT Imports: 4 Imported by: 0

README

EntityScroller Demo

This demo is built upon the TileMap Demo

What does it do?

It demonstrates how one can use the EntityScroller system to scroll the camera to the position of a entity

What are important aspects of the code?

These lines are key in this demo:

  • 'w.AddSystem(&common.EntityScroller{SpaceComponent: &character.SpaceComponent, TrackingBounds: levelData.Bounds()})' to add the system

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL