Chapter 9. Case Study: Heroine Dusk

Up until this part of the book we have talked about porting HTML5 games over to Windows 8 in theory, so I thought I would show off how I took an open-source game called Heroine Dusk and got it running on Windows 8 in only a few minutes. Here is how I did it.

About the Game

Heroine Dusk was created by Clint Bellanger. The game is a retro-style dungeon crawler that was designed to work on the Web and on mobile browsers (see Figure 9-1 and Figure 9-2).

The Heroine Dusk start screen.

Figure 9-1. The Heroine Dusk start screen.

Starting a new game in Heroine Dusk.

Figure 9-2. Starting a new game in Heroine Dusk.

What makes this game a perfect candidate is that it offers up simple controls that work great with a mouse or on a touchscreen (Figure 9-3).

Combat is turn based.

Figure 9-3. Combat is turn based.

Also, the game offers minimal animations but has a uniquely retro-graphic style that is easily identified by anyone who is a fan of this style of game (Figure 9-4).

When you pause the game you get a world map, stats, and can see your character.

Figure 9-4. When you pause the game you get a world map, stats, and can see your character.

While the core mechanics of the game are easy to pick up, the game offers a good amount of depth and, ...

Get Releasing HTML5 Games for Windows 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.