Skip to content

whirlibulf/script-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

script-component

A component for attaching custom update scripts to objects in the Whirlibulf game engine.

Installation

$ component install whirlibulf/script-component

Usage

Register the component:

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

The options object for this component:

{
  scripts: [...]
}

The scripts property is an array of script objects.

The whirlibulf/script-system system requires the script objects to have an update method.

Compatible Systems

License

MIT

About

Script component for the whirlibulf game engine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published