Explains how I made Pizza Peers, a game you can control with your smartphone, playable right in the browser. It was made using the Phaser.io library (game engine) and the peer-to-peer javascript library. The devlog basically explains everything I did, including images and code samples.

WebSockets + Node.js server

4 months ago

This is part 2 in my article series about how I created "Pizza Peers". If you haven't read the previous article, make sure to do so as it explains the basic idea behind everything. Here's the link: How I Created "Pizza Peers" So, first things first, we need: A server that hosts our game (an...

Read more...

Peer to peer connections

4 months ago

This is part 3 in my article series about how I created "Pizza Peers". If you haven't read the previous articles, be sure to do so! Here's the link: How I Created "Pizza Peers" As stated earlier, I used the simple-peer library. It's free, it's small, just grab it from GitHub and include it at t...

Read more...

Using Phaser.io

4 months ago

This is part 4 in my article series about how I created "Pizza Peers". If you haven't read the previous articles, be sure to do so now! Here's the link: How I Created "Pizza Peers" So far, we've created a system that allows connecting to a server, creating a room, and then directly connecting all...

Read more...

Player interface

4 months ago

This is part 5 in my article series about how I created "Pizza Peers". If you haven't read the previous articles, be sure to do so now! Here's the link: How I Created "Pizza Peers" Now that we can communicate with the game over the internet, we need an interface to make this communication easy...

Read more...

Problems with P2P

4 months ago

This is part 6 in my article series about how I created "Pizza Peers". If you haven't read the previous articles, be sure to do so now! Here's the link: How I Created "Pizza Peers" So, let's talk about our current setup: The game is started on a single computer. This computer is the host an...

Read more...