Phaser and Multiplayer - html

I have a question. How to create a game lobby for a game on Phaser. I had used tutorial http://ezelia.com/2014/tutorial-creating-basic-multiplayer-game-phaser-eureca-io, but have not yet understood how to create a game lobby and then send the players to the game, actually.
Is there a better game engines for developing multiplayer games?

I haven't made any multiplayer games with Phaser yet, but if I were to start, I would still use Phaser, but create a FireBase database because FireBase loads data in real time.
That being said, I'd be concerned if you were to make this multiplayer game for mobile platforms, simply because of performance.

Related

UE4 How to integrate score API to game sites?

I am able to create a very simple 2D game using the Blueprint Project with basic scoring system. Before I upload the game to Kongregate, I want to implement a scoreboard uploaded to and hosted by Kongregate itself.
How do I upload player scores on game sites like Kongregate? Below is the link to their site with details only for Javascript implementation. How do I apply it in a BluePrint Project?
Kongregate Score API
Example of my VERY old game using Stencyl which has the scoring API implemented : Lost Dungeon
Kongregate does not offer a special api for ue4/blueprints.
You can however setup a webservice using their javascript api and talk to that from your game.

Multimouse functionality in AS3

I am basically looking for a way to use multiple mouse plugged into one device so that multiple pointers can be seen and operate. This is for e-learning purposes, the goal is to have multiple students play an educational game in a classroom that has only got one PC but upto 10 or more mouse connected to a PC.
I did something similar a couple years ago in microsoft XNA framework. Currently I am developing applications and games in Adobe Flash AS3 and would like to find out if there is anyway that we can have multiple mouse functionality in a flash application?
Any sort of help would be great. Thank you!
For the web, this is probably impossible. If your flash project run on Adobe Air, you can add native code to handle this kind of functionality or you can use a local socket server to send information over socket to your swf or air application.
Example for native extension

Can I generate a FirefoxOS App from game written using starling framework?

A friend of mine has developed an excellent game using the starling framework. He is now wondering if he could port the game to FirefoxOS before he launches. The game is written in actionscript 3 and the starling framework project can build mobile packages for android and ios. It also can generate the flash file for the web (using flash player). Are there any paths for porting the game to FirefoxOS?
Someone suggested using shumway. If you know about this way, or any other path, please give a bief account of advantages/disadvantages. I am specially concerned about the performance, since the game in question has very high quality graphics. I think it needs to run in a GPU accelerated environment.
EaselJS uses a similar syntax to ActionScript; it has a Display List, Stage, Graphics and even Filters, this will make working with the canvas easier for us Flash developers.
I suggest you to port that game to EaselJS and TweenJS (both from CreateJS), I have used it to develop games for Firefox OS and worked quite well.
An advantage is that CreateJS now uses a WebGL renderer, but it also has a fall back to Context2D rendering if WebGL is not available. That would make your device more widely supported.
You will find all its features very explained in the following post from Mozilla Hacks. It has also some cool benchmarks to try it.
WebGL and CreateJS for FirefoxOS

Multiplayer game development in flash

Before you say that it is a repost of this question- Alternatives to Flash Media Server for multiplayer game development, it is slightly different as I am asking for pros and cons.
I want to know which server I should use for my specific flash game.
I am making a game called mathlympics. The idea is that the player has to answer simple arithmetic questions. The faster he answers the questions, the faster his athlete runs. I am making the game 3d using away3d engine for flash. A similar 2d example can be seen here
I want to make my game multiplayer, so that the different players could play against each other live at the same time.
Now I would like to know the pros and cons of the different engines.
red5
player.io
amfPHP (suggested on this question - AS3:Multiplayer Game by using AS3 with PHP?)
spogg
union
I do not which one is best. What are the pros and cons of each. Which one is easiest to use and which one suits my game best? If there are any other engines out there which might me more relevant to me, then please free to suggest?
Check out my recent post to the question you referenced above. It was added a few minutes ago. It might have some good insights..
AS3:Multiplayer Game by using AS3 with PHP?

Grab the domain the HTML5 game is running on. Libgdx

It's possible to grab the local domain/ip the HTML5 game is running on? Framework is Libgdx.
To receive the local domain in Libgdx it is possible to use com.google.gwt.user.client.Window.Location.