How to keep your games maintainable and easy to update. In part four learn how to manage different sponsor APIs from a single code base.

Posted on 13th Aug 2019. Follow @phaser_ and get the Phaser World newsletter.

image

SBC Games wrote a series of tutorials on building games that are easy to maintain: "Many tutorials show you how to build a game. Let’s say, you already have one. And because it is good and catchy, sponsors are interested in it. Your nice and clean code is step by step polluted with sponsor specific APIs.

If you are publishing your game with multiple sponsors, then you know, that almost every sponsor company has its own API. These APIs are usually very different. Our target today is to build new library, that will help us to manage these differences. It will also keep most of the sponsor stuff separated from game. Also, we want to implement every sponsor API only once for all games we may publish with such sponsor."

Read More

Learn to code and lead your intrepid crew on a mission to save The Cloud in TwilioQuest, a PC role-playing game inspired by classics of the 16-bit era. Free forever, and available now for Windows, Mac, and Linux.

The first book on the creation of HTML5 cross platform games using Phaser 3 and other free software.
  • By Emanuele Feronato
  • 155 Pages
  • 28 Source Code Examples
  • Build a complete game from start to finish
  • Cross Platform
  • Scaling for devices
Buy Now
$19