Phaser 3.0: HTML5 game framework
11–20 of 66 posts
Re: Phaser 3.0: HTML5 game framework
#12Re: Phaser 3.0: HTML5 game framework
#13Anyone know what the rendering is like now?
Re: Phaser 3.0: HTML5 game framework
#14Hadn't heard of Phaser but I'll definitely give it a look. Are there any frameworks that are specifically geared towards turn-based games with a "gameboard" similar to Scrabble / Words With Friends? I've been working on a game that follows this model, but have rolled-my-own implementation till now.
Re: Phaser 3.0: HTML5 game framework
#15"Games can be compiled to iOS, Android and native apps via 3rd party tools" Gonna need some explanation here... does it spit out native code? Where are the tools? And since it's HTML5 why can't I just run the thing in a native web view? Are there perf issues?
I'm not an Android or Swift dev, but I imagine you can just stick it in a native webview, which is what I believe Cordova does.
As for performance I can't imagine it's super-performant, but I do know the lead dev does his best to aim for 60fps rendering even under heavy duress.
Re: Phaser 3.0: HTML5 game framework
#16Actually, I was surprised to see this posted here now, since Phaser 3.0 is not yet out. It's mostly feature-complete, but they're still working on docs and preparing for the release (in the few days to a week). I've really enjoyed following the v3 devlog[2]. Richard Davey's dedication to the project and his and the other contributors herculean efforts towards v3.0 have been inspiring to watch. Truly a labor of love.
Some tips for others based on my experience with Phaser:
- USE TYPESCRIPT! One of the worst parts of Phaser is its documentation. In fact, the docs on the main website have been outdated by about 4 major releases, and the new docs are ugly and hard to use. TypeScript + VSCode massively improves this experience, by auto-completing functions and adding inline JSDoc info.
- Webpack is great, but hard to use with Phaser 2 OOTB. This may be a moot point since V3 is almost here, but if anyone wants to see how it can be done, my whole game is open source[3].
- Phaser.Group is a weird concept, but very powerful. Not only useful for object pooling, but also for creating custom GUIs using surfaces with coordinates relative to the group size/position. Makes nested dynamic UIs very easy.
- Phaser's scaling system[4] is awesome. Use it. Don't try to reinvent the wheel yourself!
Richard and crew, if you're reading this, THANK YOU! You've built an incredible project. Thank you for sharing it with the world.
[1] http://www.toomanycaptains.com/
[3] https://github.com/TooManyCaptains/TooManyCaptains/tree/mast...
[4] https://photonstorm.github.io/phaser-ce/Phaser.ScaleManager....
Re: Phaser 3.0: HTML5 game framework
#17"Games can be compiled to iOS, Android and native apps via 3rd party tools" Gonna need some explanation here... does it spit out native code? Where are the tools? And since it's HTML5 why can't I just run the thing in a native web view? Are there perf issues?
I'm not part of the Phaser development team, but I imagine the 3rd party tool they're referencing is Cordova. If you're using the CLI generator for Cordova, you'd put your finished project in the `www` folder and plug in your test device to see how it runs. This creates a webview app that runs on Android and iOS devices. I'm not an Android or Swift dev, but I imagine you can just stick it in a native webview, which i…
Re: Phaser 3.0: HTML5 game framework
#18One thing I would recommend for someone trying it out, especially coming from C/C++ game development like I did, is to use Typescript and the tooling that comes with it.
Re: Phaser 3.0: HTML5 game framework
#19How does this compare to the "Community Edition" of the Phaser framework?
Re: Phaser 3.0: HTML5 game framework
#20A year or so ago I did a lot with Phaser. I learned I'm not cut out for indie game dev and since moved on, but man is Phaser easy to learn and easy to get more advanced in. Even though I don't use it anymore, I am a big fan of their work. Congratulations on shipping 3.0. I hope it inspires a lot of great talent to discover themselves.