Live data from Hacker News

Phaser 3.0: HTML5 game framework

github.com

31–40 of 66 posts

Re: Phaser 3.0: HTML5 game framework

#31
post #16

I've spent the past 6 months building a game[1] using Phaser and TypeScript. On the whole, it's been a great experience. 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 projec…

imho the reason why Phaser docs are so bad is an excuse to sell... Books about Phaser. Maybe I'm wrong, but why they exists if community repeated many times that docs should be improved?

Re: Phaser 3.0: HTML5 game framework

#32
post #16

I've spent the past 6 months building a game[1] using Phaser and TypeScript. On the whole, it's been a great experience. 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 projec…

imho the reason why Phaser docs are so bad is an excuse to sell... Books about Phaser. Maybe I'm wrong, but why they exists if community repeated many times that docs should be improved?

hmm I mean that could be why, but the simplest explanation is that they're lacking the peoplepower to work on documentation.

Who wants to work on docs after all? Some people, but probably not enough

Re: Phaser 3.0: HTML5 game framework

#33

There is also a huge community around Phaser (as well as Pixi, the huge 3D gaming framework Babylon.js and many more) hosted by Richard who is developing Phaser. http://www.html5gamedevs.com It's a wonderful place to stroll stroll around even if you don't have a concrete question in mind.

Ooh, thanks for that! I knew of all of these frameworks yet had missed this.

I bet it's a great place to learn tricks for squeezing better performance out of the web too (even if limited to specific niche tasks).

Re: Phaser 3.0: HTML5 game framework

#34
post #16

I've spent the past 6 months building a game[1] using Phaser and TypeScript. On the whole, it's been a great experience. 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 projec…

imho the reason why Phaser docs are so bad is an excuse to sell... Books about Phaser. Maybe I'm wrong, but why they exists if community repeated many times that docs should be improved?

Hanlon's Razor. It seems to me that if there's limited resources, then if they've decided that they're not using "documentation as marketing" (which for free frameworks doesn't seem to be the best strategy to be honest), then directing time to developing paid for learning materials over and above using that time for free docs is a valid strategy.

I can't imagine any project deliberately having crappy docs in order to sell resources, as you'd get almost no buy in to begin with.

Re: Phaser 3.0: HTML5 game framework

#36
post #9

"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 built a (very simple) game in Phaser a couple of years ago and used cocoon (https://cocoon.io/) to package it up into an Android and iOS app. Basically it packages the HTML/JS/CSS app into a native webview.

Phaser is a great framework. I managed to conceive, write the game from scratch and have it in the app store within a day.

It's no longer on the iOS store as I didn't continue to pay my dev licence, but happy to share the play store link if anyone is interested.

Re: Phaser 3.0: HTML5 game framework

#37
post #16

I've spent the past 6 months building a game[1] using Phaser and TypeScript. On the whole, it's been a great experience. 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 projec…

For Ludum Dare 34, my friends and I used Phaser and Typescript to make a Jam-game[0][1].

(meaning: team-based, has more days available, not part of the main "competition", which is about the solo achievement of making a 48 hour game)

It was my first introduction to either, and none of us had used Phaser before. My experience matches yours: combining the two made for a great dev experience, and the docs are confusing at times.

Luckily my friends Thomas ten Cate (aka Frozen Fractal) and Marten Veldthuis (aka... Marten Veldthuis) are excellent developers, who have struggled with way worse documentation, so we managed anyway. Docs aside, Phaser-the-framework seemed very well constructed.

Tangent: a few competitions later Thomas made Leonardo's Paint Machine[2], which is so amazing, especially for a 48 hour game, that I'll link it despite being made in a different framework (he uses Ludum Dares to try new out new frameworks and such).

[0] http://ludumdare.com/compo/ludum-dare-34/?action=preview&uid...

[1] https://blindedcyclops.neocities.org/ld34/index.html

[2] https://frozenfractal.com/games/leonardos-painting-machine/

Re: Phaser 3.0: HTML5 game framework

#38
post #9

"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 built a (very simple) game in Phaser a couple of years ago and used cocoon ( https://cocoon.io/ ) to package it up into an Android and iOS app. Basically it packages the HTML/JS/CSS app into a native webview. Phaser is a great framework. I managed to conceive, write the game from scratch and have it in the app store within a day. It's no longer on the iOS store as I didn't continue to pay my dev licence, but happy…

Can we see the game? :)

Re: Phaser 3.0: HTML5 game framework

#39
post #38

Earlier quoted context omitted.

I built a (very simple) game in Phaser a couple of years ago and used cocoon ( https://cocoon.io/ ) to package it up into an Android and iOS app. Basically it packages the HTML/JS/CSS app into a native webview. Phaser is a great framework. I managed to conceive, write the game from scratch and have it in the app store within a day. It's no longer on the iOS store as I didn't continue to pay my dev licence, but happy…

Can we see the game? :)

Of course! Though, I just tried to launch it on my phone for the first time in a year or so and it just crashes at the title screen YMMV (OnePlus3 running 8.0.0)

https://play.google.com/store/apps/details?id=com.fraserhart...

Post reply on HN