-
Arduino WebSocket Server Using an ESP32
WebSockets is an incredibly useful protocol that lets you send data to and from a server over TCP without the need for HTTP. Importantly, it lets you push data from the server to a client (e.g. a browser) without needing to make a request. This can be very handy for things like browser-based multiplayer games.…
-
Getting Started with Phaser Part 3: Sprites and Movement
In the last part, we added the Phaser framework to a web page and said “hello” on a canvas element. In this part, we create a simple sprite (a ball) and move it around the canvas. Why a ball? I consider it to be a test of whether gaming is possible on a particular platform. In…
-
Getting Started with Phaser Part 2: Drawing Text
In the first part, we created a simple web server and page. We didn’t even touch Phaser! However, that is about to change. In the second part of this series, we create a game area in an HTML div and draw some simple text on it using Phaser. Directory Structure In your Games directory, create another…
-
Getting Started with Phaser Part 1: Web Server
As I learn to use the Phaser framework to make simple browser-based games, I figured I would chronicle my adventures and hopefully help others out. “Why a web web server?” As it turns out, when most browsers run a page as a local file, it locks down access to many other files, which we need…
-
Virtual Gamepad Plugin for Phaser
I am currently working on a simple arcade game intended for smartphones, and after some research, I decided to develop it using JavaScript and Phaser. Getting an arcade-style controller on a mobile app requires a specialized “joystick” (the accompanying buttons are fairly straightforward). The basic concept is to have an area where a player can touch that…





