@al-engine/game_object

Game Object for Al-engine, minimalistic game engine, for pixel perfect games

Usage no npm install needed!

<script type="module">
  import alEngineGameObject from 'https://cdn.skypack.dev/@al-engine/game_object';
</script>

README

Al engine

Scale

This is module with base class of Game Object for Al engine.

You need to extend your class from GameObject and add realisation of needed methods:

  needUpdate
  init
  tick
  update
  render
  draw

Also you can use fields:

  position
  size
  speed
  children
  parent
  sprite