Live data from Hacker News

Phaser – A fast, fun and free open source HTML5 game framework

phaser.io

31–40 of 57 posts

Re: Phaser – A fast, fun and free open source HTML5 game framework

#31

I am going through the official tutorial right now. Are there any: 1) examples of phaser games using multiple .js files? 2) games with multiple levels? And what are the best games made with phaser?

I could possibly get you an example of both if you were interested. Most of the people using Phaser are using Tyepscript and doing multi-module management with that. I use Browserify (and bring in Phaser separately).

If you have a state that loads levels, you change the level targets and restart the state so that the preload runs again and gets the new resources. Or you can load everything up front and approach multiple levels that way.

Re: Phaser – A fast, fun and free open source HTML5 game framework

#32
post #4

Good examples and loads of tutorials. I just started playing with it and circular dependencies make me cringe. Game object initiates subsystems that in turn get their dependencies through game object, which is a requirement for initialising aforementioned subsystems. What is this pattern? It's really tough to compose things with it.

Working with it professionally, I agree. You pass the game object everywhere, no matter what. The variation if factory methods is also frustrating. It's ridiculous trying to reference how to create things when all the examples use game.add. and sometimes you want to construct them separate and use .add.existing. But the standalone constructors will take different sets of arguments (including the game object).

Re: Phaser – A fast, fun and free open source HTML5 game framework

#33

I am going through the official tutorial right now. Are there any: 1) examples of phaser games using multiple .js files? 2) games with multiple levels? And what are the best games made with phaser?

I could possibly get you an example of both if you were interested. Most of the people using Phaser are using Tyepscript and doing multi-module management with that. I use Browserify (and bring in Phaser separately). If you have a state that loads levels, you change the level targets and restart the state so that the preload runs again and gets the new resources. Or you can load everything up front and approach multi…

yes please teach me!

Re: Phaser – A fast, fun and free open source HTML5 game framework

#34

I am going through the official tutorial right now. Are there any: 1) examples of phaser games using multiple .js files? 2) games with multiple levels? And what are the best games made with phaser?

> 1) examples of phaser games using multiple .js files?

Not a example but you can use Yeoman to organise your code.

https://github.com/codevinsky/generator-phaser-official

Re: Phaser – A fast, fun and free open source HTML5 game framework

#36

Earlier quoted context omitted.

You know, this is one of the things that I think is really important in a game engine: Has a fully polished game ever shipped using the engine. It's easy , by comparison, to get to the 80% point with a game -- especially if you have a sample to start from that's somewhat close to what you want to create. What's hard is making every little bit work correctly; creating a finished product that doesn't have glitches, tha…

I shipped one of the first large games with Haxe on iOS (in ~2011), and I am at a loss for words to describe just how right you are. My game was complete, but the garbage collector would randomly crash, every hour or so. I spent nearly two weeks reading through incomprehensible C++ code, and completely failed to fix the problem myself. Hugh, the creator of NekoNME, graciously helped me after I sent in a deterministic…

I released an android game using HaxeFlixel and the process was relatively painless, actually I was suroprise at how well it run on my device and how flawlesly things like immersive mode and in-app purchases were implemented.

But again, it as last year, so I assume 3 years make a huge difference in development, plus Haxeflixel is a haxe framework tailored for making games. To whoever might be interested in diving into it, we shipped a nice amount of polished finished games: http://haxeflixel.com/showcase/games/ (Mine is polaritron)

Re: Phaser – A fast, fun and free open source HTML5 game framework

#38
QICI Engine (http://www.qiciengine.com/) is a open-source JavaScript library based on Phaser with a web-based comprehensive suite of game making tools. It will be released soon, we want to help to make Phaser better. https://twitter.com/sailing8036/status/629495719414476800

Phaser News: http://phaser.io/news/2015/08/qici-dota-demo

Dota demo: http://engine.qiciengine.com/demo/0.5/dota.html

Performance demo: http://engine.qiciengine.com/demo/0.5/performance.html

Tower Defense demo: http://engine.qiciengine.com/demo/0.5/tower.html

Casual game demo: http://engine.qiciengine.com/demo/0.5/sources.html

Re: Phaser – A fast, fun and free open source HTML5 game framework

#39
This is quite a coincidence, I first learned of Phaser earlier today as I was investigating various modern HTML5 gaming engines. I have finished writing the story for a game that's been in my head for years, and I am eager to move on to implementation now that the story is solid. I may opt to roll my own engine since I am well-versed in the necessary minutia, and I enjoy the learning experience. But on the other hand, it would be nice to release the game within the decade. Damn the relentless march of time.

Re: Phaser – A fast, fun and free open source HTML5 game framework

#40
post #14

I looked at phaser recently, but couldn't find any examples of successful games made with it. Are there any success stories?

I'm working on 91 applications in it (Series of educational games/interactives/story books). It's going really well and we have more than half complete. There are some bugs, but any framework has that.

You do have a company right? How many applications/games have you already shipped?
Post reply on HN