PBS-KIDS / Platypus

2D tile based game framework in HTML5
128 stars 30 forks source link

Use pixi.js as an alternative renderer? #23

Closed sntran closed 9 years ago

sntran commented 10 years ago

While I'm sure CreateJS is great, pixi.js has gained attraction lately as one of the fastest renderer. Is there any plan to support it? I can help with it if I can be pointed to the right direction.

probityrules commented 10 years ago

Hi @sntran, We haven't made any plans to support other libraries since CreateJS provides the core handlers needed for several aspects of game dev, including preloading and audio in addition to rendering. Additionally, EaselJS will soon support webGL, so all-in-all I'm not certain how substantial the difference between renderers would be.

That said, however, creating an alternative renderer sounds fine to me. What do you think @mcscooter? Since the engine is component-based, implementation should be relatively straight-forward. You would just need to create a new layer-level component analogous to handler-render-createjs and entity-level components equivalent to the other render components.

probityrules commented 9 years ago

Platypus v0.6.0 introduces support for pixi.js: https://github.com/PBS-KIDS/Platypus/releases/tag/v0.6.0