@thespielplatz/wall-spark-engine
v1.2.2
Published
a WLED Pixel Display Render/Game Engine
Readme
Wall Spark Engine
Features
- Rendering on Console & WLED display (via UDP)
- Rendering/GameEngine with basics
- Config via config.json
Roadmap
- Milestone BlockClock - Add the same functionality of BlockClock code of BlockClock Repo
- Milestone Web UI - t.b.d.
- Milestone Example: Tetris Game with Socket.games - t.b.d.
Too see the full roadmap or the milestones more in detail --> Roadmap page (Single source of truth).
How to use
- install node lts
npm i wall-spark-engineCoding examples
import { GameEngine, Config, Rainbow, Time } from 'wall-spark-engine'
console.info('Playground Example: Rainbow Clock')
const config = new Config()
const gameEngine = new GameEngine(config.config)
const rainbow = new Rainbow({
x: 0,
y: 0,
width: config.config.width,
height: config.config.height,
speed: 0.25,
})
const time = new Time({
x: 0,
y: 0,
centerOnWidth: config.config.width,
})
gameEngine.addGameObject(rainbow)
gameEngine.addGameObject(time)
gameEngine.start()
gameEngine.on(GameEngine.EVENT_STOPPED, () => {
process.exit(0)
})Have fun
Dev Notes
Typescript guide: https://www.totaltypescript.com/how-to-create-an-npm-package
Support
If you like this project, give it a star! If you love it, fork it and take it out for dinner. 🌟🍽️ And hey, why not send some tip love?
