Skip to content

whirlibulf/position-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

position-component

A component for storing the x, y and z co-ordinates of an object in the Whirlibulf game engine.

Installation

$ component install whirlibulf/position-component

Usage

Register the component:

game.use('position', require('position-component'));

The options object for this component:

{
  x: 0,
  y: 0,
  z: 0
}

All three values should be numbers.

License

MIT

About

A component for storing position co-ordinates in the whirlibulf game engine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published