Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 938 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 938 Bytes

elm-space-arena

A sloppy 2D spaceship shooter built with Elm to explore game development.

It's a work-in-progress with shameful code.

Clone

$ git clone https://github.com/danneu/elm-space-arena.git
$ cd elm-space-arena
$ npm install
$ elm make
$ npm start
Dev server running on <http://localhost:8080>

Technical Notes

Optimization Notes

  • obj.visible = false means container and all of its children's matrices won't be updated.
  • obj.renderable = false means that the container will be updated but not rendered (use for culling).
  • texture = Texture.EMPTY has no special cases. Sprite is rendered anyway.