bp74 / StageXL_Particle

The particle emitter runtime for the StageXL library.
Other
6 stars 6 forks source link

Image support #5

Open mnordine opened 7 years ago

mnordine commented 7 years ago

This may be a naive approach, but I basically allow a BitmapData to be passed in as part of the config. Then I add that BitmapData.renderTextureQuad as the single entry in _renderTextureQuads. I don't do anything in _drawParticleTexture() if an image is available.