Multiplayer game tutorial with Phaser, and Node.js part 1

Recommended Posts

I wrote my very first blog post. It's a tutorial on how to create a multiplayer game with phaser in the client, and Node.js in the server:

The server uses Socket.io and Express.js.

Part 1:  http://gojasonyang.com/post/phaserMultiplayerGamePart1.html

It's for complete beginners who aren't familiar with Node.js and Phaser. I hope someone finds it useful if it's their first time working with Phaser and Node.js !!



Share this post

Link to post
Share on other sites

Some changes in my TypeScript version of code from this tutorial.

I solved my problem with background offset of a remote player.

I moved server scripts in src_server folder.

I changed build commands: 



For installation: npm install

For building the client: gulp client

For building the server: gulp server

For building the client and the server together: gulp

For running the server and the client: press "Server/Clint" button in Debug mode in VSCode



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.