Pocket City Blog
  • Blog
  • Game Overview
  • Subreddit
  • Codebrew Games

Game Development

Indie game development, iOS, Android, PC, Cross platform using HTML phaser.io and Cordova

Game Development

Optimizations for HTML + JS Mobile Game Development

Performance is one of the main challenges of building an app in HTML + JS. Below are some optimization techniques that I've used in Pocket City, a hybrid Cordova app, to deliver the smoothest experience possible.

Bobby
Game Development

5 Reasons to Use DOM Instead of Canvas for UI in HTML5 Games

Drawing to canvas is the primary way of rendering content in HTML5 games, as it beats DOM manipulation out of the water for performance. However, I've found that the DOM still has a

Bobby
Game Development

Cheating at z-depth sprite sorting for draw order

When implementing buildings in Pocket City, I discovered that ordering buildings was easy - just sort the z-index using the buildings's Y position whenever the buildings changed, then cache the buildings as a

Bobby
Pocket City Blog © 2019
Latest Posts Facebook Twitter Ghost