by johnhattan on 2/14/18, 12:40 AM with 59 comments
by aroman on 2/14/18, 3:30 AM
Actually, 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....
by james-skemp on 2/14/18, 1:34 AM
What's holding me back from starting to really experiment with it is lack of TypeScript definitions. Phaser 2 was what got me started using TypeScript, and as a C# guy I'm still holding out hope that I can get my work using TypeScript for some project or other.
If you've been wanting to play with TypeScript, I highly recommend taking a look at creating a simple game with TypeScript.
There's a lot of templates out there, and I've done some popular tutorials in TypeScript instead of the JavaScript they were written in.
by madethemcry on 2/14/18, 6:23 AM
It's a wonderful place to stroll stroll around even if you don't have a concrete question in mind.
by freehunter on 2/14/18, 2:26 AM
Congratulations on shipping 3.0. I hope it inspires a lot of great talent to discover themselves.
by jjjensen90 on 2/14/18, 3:47 AM
One 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.
by keithnz on 2/14/18, 2:57 AM
Anyone know what the rendering is like now?
by Fifer82 on 2/14/18, 1:45 PM
I used to make Web Games, but then I realized the race to the bottom and bailed all together. I found after 10 years as a GameDeveloper (where every project is practically unique) has made being a React developer almost like using a baby's soft toy.
My job is beneath me, I sleep like a baby, and I get paid 4 times more than being a game developer for a job that demands 1% of the effort on a daily basis.
I don't miss my times with gaming at all and I would never go back.
Each to their own!
by birracerveza on 2/14/18, 8:12 AM
by mephitix on 2/14/18, 2:31 AM
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?
by Ycros on 2/14/18, 2:10 AM
by cyberferret on 2/14/18, 4:38 AM
by uptown on 2/14/18, 2:46 AM
by Donzo on 2/14/18, 12:36 PM
I really like it, but development on the project has been stagnant, and I’m considering a move.
Can anyone whose used both speak to what Phaser does better/worse than ImpactJS?
by myth_drannon on 2/14/18, 2:23 AM
by disease on 2/14/18, 2:34 PM
by ggregoire on 2/14/18, 1:57 AM
Both frameworks have 17,500 stars on github.
by baldfat on 2/14/18, 1:36 AM
by drumttocs8 on 2/14/18, 2:39 PM
by dgritsko on 2/14/18, 2:41 AM