Giter Site home page Giter Site logo

kingsj / dead-valley Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dmcinnes/dead-valley

0.0 2.0 0.0 13.39 MB

HTML5 Grand Theft Auto style Zombie Survival Game

Home Page: http://www.deadvalleygame.com

JavaScript 92.39% HTML 3.09% CSS 4.52%

dead-valley's Introduction

Dead Valley

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.

Code

Dead Valley uses Requirejs for code organization.

Required Libraries (Found in vendor/)

Editor

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.

Branches

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.

Tests

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.

License

Creative Commons License
Dead Valley by Doug McInnes is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

dead-valley's People

Contributors

dmcinnes avatar

Watchers

James Cloos avatar SJKarchive avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.