Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
Phaser
Discontinued Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering. [Moved to: https://github.com/phaserjs/phaser] (by photonstorm)
And after that... the game was pretty much done. I didn't get deep into the update function (which was mostly just "if you press this button, the sprite should be facing that direction") or the text showing how much time you've spent in the game, but you can find all of that code and more in the GitHub repository for Thirteen Potions.
When I first messed with Phaser, I just used a 2D array to plop in my tiles, but that was very tedious. That's when I discovered the Tiled map editor! I was able to "paint" with my tilemap to create a map with various layers. I made a ground layer, a wall layer, an enemy layer, and a potion layer.
I'd never used Aseprite before, but it was luckily pretty straightforward to copy and paste and slightly edit the knight into a little spritesheet!
I used the Phaser framework to build the game! I didn't pick it for any particular reason, I just saw that they were offering prizes at the end of the game jam so I thought it'd be a good choice. In hindsight, once again, I should have read the fine print and realized that Phaser is very large for this kind of game jam, but MOVING ON.