Escape from Zombie-infested Dead Valley in this HTML5 Grand Theft Auto style Game.
The full game is hosted here: http://www.deadvalleygame.com
Running the Game
Opening index.html locally in a browser will not work; you will need to set up a web server. I recommend using Pow on a mac. It needs a public directory to host static files so just create a symlink:
ln -s . public
It's already in the .gitignore file.
Dead Valley uses Requirejs for code organization.
Required Libraries (Found in vendor/)
The maps are JSON in the maps/ directory.
There is an HTML5 map editor editor.html. Select tiles on the left, and place them with a click. Free draw with the shift key. The red highlighted tiles in the map are the only places roads should leave the map.
There used to be a way to place full buildings, complete with defined walls and entrances (Building Archetypes) but that seems broken.
The "master" branch is what's currently hosted on http://www.deadvalleygame.com
The "standalone" branch has the most up to date code -- all of the Sprite and Inventory classes have had their view and data centered code split to make future development easier.
There's a suite of Jasmine tests in the test/ directory that put some aspects of the game through their paces. The coverage is spotty and the test code is kind of ratty but at least it exists.
Drag this to your browser bar: Test Runner Bookmarklet
Reload the game then click on the bookmarklet to run the tests.
Dead Valley by Doug McInnes is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.