Live data from Hacker News

Phaser 2.4 Released

github.com

11–20 of 25 posts

Re: Phaser 2.4 Released

#12
post #3

It's my favorite library for building small video games for fun. I recommend it to anyone who wants to build a 2D web game. It has good docs and the code is fairly simple to read and write.

Has anyone compared phaser with impact? They both seem great.

Re: Phaser 2.4 Released

#14
post #12
post #3

It's my favorite library for building small video games for fun. I recommend it to anyone who wants to build a 2D web game. It has good docs and the code is fairly simple to read and write.

Has anyone compared phaser with impact? They both seem great.

I've used both extensively. Here's my take:

* Impact is a lot more low-level. If your game is complicated, you will have to get into the weeds of the canvas API.

* Phaser supports canvas and WebGL. Impact supports canvas exclusively.

* Impact costs $99. Phaser is open source.

* Impact rarely ever receives updates. Apparently the creator is working on 2.0, but nobody knows if or when that will be released. Phaser is updated very frequently.

* Phaser has the edge in terms of popularity. You will find a lot more articles and books for it.

* Phaser has batteries included. Impact is more bare-bones.

* It can be a pain to keep your local changes synced with upstream changes in Impact unless you go through a bit of hassle. (You will -probably- need to modify Impact's core if your game is complicated.)

* Impact has a level builder and some other tools out of the box. I personally don't use it. Tiled is better, and Phaser has good support for Tiled. Actually, I've had better luck using Tiled in Impact, but it required writing a lot of custom code. Most people will probably have more luck using Tiled with Phaser.

* Impact is a lot faster in my experience, even with WebGL enabled in Phaser. YMMV.

* Impact has far superior support for high DPI screens last time I checked. (Disclaimer: was a year ago.) Getting stuff to look good on retina screens in Phaser was hellish and things would randomly break.

* The learning curve of Impact is extremely low. However, you will feel constrained for bigger projects, which may require lots of custom visual and audio handling.

* Impact uses its own module system. Using browserify or webpack with it isn't really feasible.

Re: Phaser 2.4 Released

#16

If I make a game in phaser then what are some server hosting options? Are there good and free ones?

As far as I remember, the only requirement is that you host it on a server of some kind. I haven't tested it, but I don't see any reason you shouldn't be able to throw it up on a Github page: https://pages.github.com/

Re: Phaser 2.4 Released

#17

If I make a game in phaser then what are some server hosting options? Are there good and free ones?

That would depend on whether you need any server-side application for your game. Obviously, if you want to build some kind of multiplayer game, that's a yes, and your options depend on the technology you want to use for the backend. Otherwise, if the game sits entirely in the client, you can get away with just serving static assets from something like Amazon S3, which costs very little at all, or perhaps even Github pages.

Re: Phaser 2.4 Released

#18
post #5

Phaser is the perfect framework to get started making HTML5 2D games. I can't wait to look into this new release! If you want to learn more about Phaser, you can check out my Flappy Bird tutorial here: http://blog.lessmilk.com/how-to-make-flappy-bird-in-html5-1/ I also wrote and self-published the first book about Phaser: https://www.discoverphaser.com/ Let me know if you have any questions! :-)

I just started with Phaser last month and it's great. Your tutorials page was a great reference for me(http://www.lessmilk.com/phaser-tutorial/). 2.4 looks great. Have you experimented with the support for boned Creature animations? I've ben testing out Creature for 2D skeletal animation and it seems quite nice.

Re: Phaser 2.4 Released

#19

If I make a game in phaser then what are some server hosting options? Are there good and free ones?

Anything that can serve static web pages will work, you can even share it from Dropbox and people will be able to play the game in their browsers.

If you want free, a Github page is a good option.

Post reply on HN