New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch to PhaserIO #29
Comments
Agreed - I've already started looking in to PixiJS - after I've got the game importing assets this is my next large milestone. The canvas performance isn't terrible now, but there is a ton of room for improvement. |
I raised the same suggestion here. Phaser is also built on top of Pixi - depends how far we want to go with it. |
Switched from Pixi to Phaser once I realized how much Pixi is lacking (and what Phaser takes care of for you). Seeing some huge performance gains with frame rates at a solid 60fps with the entire map on screen. Still needs a lot of work specifically around z-order issues and getting animations working again, but it's progressing. Hoping to put a version up in the next day or so, eventually this will become the main branch. |
Nice to see Phaser winning you over, it's a solid library with some really
nice features.
Looking forward to seeing what you've come up with!
…On Feb 12, 2018 2:29 PM, "Nicholas Ochoa" ***@***.***> wrote:
Switched from Pixi to Phaser once I realized how much Pixi is lacking (and
what Phaser takes care of for you). Seeing some huge performance gains with
frame rates at a solid 60fps with the entire map on screen. Still needs a
lot of work specifically around z-order issues and getting animations
working again, but it's progressing. Hoping to put a version up in the next
day or so, eventually this will become the main branch.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#29 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACKQrkiagbXcbhZ2eoButLF2dGKJgt-Iks5tUEregaJpZM4R-kZF>
.
|
It's coming along very well - I've finally got it back up and running to the point it was before switching to Phaser - just need to work out a few remaining bugs and hoping to post a commit tomorrow evening with the changes. Solid 60fps will full animations, also have the game asset extraction / import / tile map generation completed - if a bit ugly. That'll be included as well. Next steps after this will be removing the native SQLite dependency and restructuring the project to ES6 standards. Side note: One nice thing about moving to Phaser, I'm already seeing some benefits of the framework in things such as Camera controls and instances - I've tested multiple cameras (similar to how the Tycoon series does it) and it works flawlessly with zero impact to the frame rate. Full zooming and controls in all cameras as well. |
You're probably good for now, but Phaser 3 has just been released. It is bleeding edge at the moment so you've probably got a bit of time but it's there. |
I’ve been working with the 3.x codebase, it’s given me some headaches (most examples are 2.x) and the docs are lacking, but it’s been worth it |
Any eta when the rewrite will be up? Was wanting to contribute, but have to wait till that's done. |
@ntomsic now 😊 |
Both use webgl and are considerably better than handling canvas directly.
The text was updated successfully, but these errors were encountered: