O'Reilly logo

Releasing HTML5 Games for Windows 8 by Jesse Freeman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required