englercj / phaser-tiled

A tilemap implementation for phaser focusing on large complex maps built with the Tiled Editor.
MIT License
290 stars 31 forks source link

Object spritepool to pull custom objects from #10

Open englercj opened 9 years ago

englercj commented 9 years ago

Right now only base objects are spawned by ObjectLayers. There should be a way to spawn any custom game object you've created.

This was implemented in grapefruit via a pool that you could add prototypes to for the layer to create from. Potentially implement something similar here.