• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
Sign in to follow this  
Followers 0
dmcinnes

Dead Valley: GTA/DayZ-style Top-down Zombie Survival Game

8 posts in this topic

Hey Folks,

I've been lurking here for a while, gratefully researching stuff for my own project which is finally released:

[b]Dead Valley[/b]

It's an HTML5 Zombie survival game in the 2D Grand Theft Auto top-down style. You have to scavenge for guns, ammo, food and fuel while trying to escape the valley by driving 150 miles away from your farmhouse. There's a day-night cycle, so be careful at night -- try not to damage your headlights [img]http://public.gamedev.net//public/style_emoticons/default/smile.png[/img]

Play it: [url="http://www.deadvalleygame.com"]deadvalleygame.com[/url]

Here is a gameplay video:
[media]http://www.youtube.com/watch?v=DaLrtgzg6ig[/media]

Let me know what you think! I'd be happy to talk about how it works.

Thanks!
Doug
0

Share this post


Link to post
Share on other sites
man, you have done some very good work! although the gameplay could be improved, the game is very sweet! :)
can you tell us what technologies exactly you have used to make it ?

and again, good job!
0

Share this post


Link to post
Share on other sites
I'm addicted to it!
Great gameplay and idea!
The hero is too slow. My fingers are tired to press this buttons trying to make him faster ))
0

Share this post


Link to post
Share on other sites
Thanks! I've been working on this one for a while... :)

I used DIVs with multiple backgrounds for the sprites and tiles and positioned them using 3D CSS transforms. Sprite animation just changes the position of backgrounds.
For the day/night cycle I used a canvas overlay and punched headlight/flashlight holes it in with a source-out compositing operation. Ricochet particles and the like are rendered directly on the sky canvas.

For collision detection I did a grid-based broad phase and SAT for the narrow. Collision response uses a mixture of rigid body dynamics for the cars and a version of speculative contacts for anything not touching a car :)

I used the SoundJS library for audio which worked fairly well -- HTML5 Audio is still crappy.
0

Share this post


Link to post
Share on other sites
wow mate, this is amazing, me and a friend were playing at the same time over skype. it's a great game, but the gas mechanics seemed to be a bit finiky, i couldn't refill my car when it was right next to the pump(and the pump had gas).

as well, if a car is broken, you lose everything in the car, which is a bit annoying, not sure if it was designed to do that, but after the first time, i stopped using the car's inventory .

also, I know it's asking for alot, but any sort of co-op multiplayer would make this game golden.

edit: out of curiosity, how long did you work on this? Edited by slicer4ever
0

Share this post


Link to post
Share on other sites
Thanks!

Currently it checks the distance between the center of the car and the center of the pump which isn't ideal since the car could be at an angle next to the pump but its center is too far away.

The loss of inventory has been a big complaint. I've considered different ways of having a car's inventory survive..simplest would be to show the wrecked car's inventory when touched. Ideally the items would have sprites that scatter on the ground but that means I have to support drops. Probably the way I should go. Regardless I will probably not let ALL the inventory survive :)

I'm looking at multiplayer! Lots of work though but it would be a good challenge. As an informal poll, would you guys pay for multiplayer? I'm toying with the idea of doing a Minecraft style pricing scheme, one time fee, 1/2 price beta etc with server side registration. Perhaps persistant worlds...

I worked on this in my free time off and on for a year and a half. During that time I moved across state lines and my wife had a baby so YMMV [img]http://public.gamedev.net//public/style_emoticons/default/tongue.png[/img]
0

Share this post


Link to post
Share on other sites
[quote name='dmcinnes' timestamp='1345656972' post='4972283']
Thanks!

Currently it checks the distance between the center of the car and the center of the pump which isn't ideal since the car could be at an angle next to the pump but its center is too far away.
[/quote]
Perhaps simply making the distance check be the car's radius and the gas pump radius plus a small x amount would be sufficient for most cases.


[quote name='dmcinnes' timestamp='1345656972' post='4972283']
The loss of inventory has been a big complaint. I've considered different ways of having a car's inventory survive..simplest would be to show the wrecked car's inventory when touched. Ideally the items would have sprites that scatter on the ground but that means I have to support drops. Probably the way I should go. Regardless I will probably not let ALL the inventory survive [img]http://public.gamedev.net//public/style_emoticons/default/smile.png[/img]
[/quote]

Drops would probably work best in the long run, particularly if you do manage to get multiplayer up, so if i want to toss things to my friend, i just have to drop it out of my inventory.

[quote name='dmcinnes' timestamp='1345656972' post='4972283']
I'm looking at multiplayer! Lots of work though but it would be a good challenge. As an informal poll, would you guys pay for multiplayer? I'm toying with the idea of doing a Minecraft style pricing scheme, one time fee, 1/2 price beta etc with server side registration. Perhaps persistant worlds...
[/quote]
if it did get to the point of asking for money, i think it'd be better to move it into a distributable binary at such a point, than keeping it as an html5 web game, but only if money were to become involved, but i'd probably be willing to shell out 9.99 if their were multiplayer, persistant world, and a bit more variety of buildings/weapons. also, in my time of playing the game, zombies seemed to be the only creatures i encountered, perhaps adding a few other enemy types would be a decent idea.

if you really wanted to immense players in the game, i'd also re-work how entering buildings worked, instead of just kind of going in like you do now, i'd make it so you actually can walk around the house and such, this way when you encounter the zombies whom are in homes, you actually fight them in the home(or perhaps some scary baddies could be lurking in homes as well, instead of out in the open).

[quote name='dmcinnes' timestamp='1345656972' post='4972283']
I worked on this in my free time off and on for a year and a half. During that time I moved across state lines and my wife had a baby so YMMV [img]http://public.gamedev.net//public/style_emoticons/default/tongue.png[/img]
[/quote]

It's an impressive game mate, and shows alot of your dedication, me and my friends really enjoyed it, so i hope you keep at it as i think you've got alot of potential to make this game really great.

edit: also, out of curiousity, do the zombies just spawn outside of your view, or is their some other mechanism's that govern where zombies are? Edited by slicer4ever
0

Share this post


Link to post
Share on other sites
[quote]Drops would probably work best in the long run, particularly if you do manage to get multiplayer up, so if i want to toss things to my friend, i just have to drop it out of my inventory.[/quote]

Good point!

[quote]if it did get to the point of asking for money, i think it'd be better to move it into a distributable binary at such a point, than keeping it as an html5 web game, but only if money were to become involved, but i'd probably be willing to shell out 9.99 if their were multiplayer, persistant world, and a bit more variety of buildings/weapons. also, in my time of playing the game, zombies seemed to be the only creatures i encountered, perhaps adding a few other enemy types would be a decent idea.[/quote]

Good to know. There's probably no reason why I couldn't wrap up a web view in an app with some custom bindings. I could make a real Audio component.

[quote]if you really wanted to immense players in the game, i'd also re-work how entering buildings worked, instead of just kind of going in like you do now, i'd make it so you actually can walk around the house and such, this way when you encounter the zombies whom are in homes, you actually fight them in the home(or perhaps some scary baddies could be lurking in homes as well, instead of out in the open).[/quote]

I'd love to do that! Make searching more interesting. The way it works now was partly done to limit the amount of art I needed to draw [img]http://public.gamedev.net//public/style_emoticons/default/smile.png[/img]

[quote]It's an impressive game mate, and shows alot of your dedication, me and my friends really enjoyed it, so i hope you keep at it as i think you've got alot of potential to make this game really great.[/quote]

Thanks so much! [img]http://public.gamedev.net//public/style_emoticons/default/smile.png[/img]

[quote]also, out of curiousity, do the zombies just spawn outside of your view, or is their some other mechanism's that govern where zombies are?[/quote]

The game holds 4 sections of 64 tiles each of the full game world at any one time. As you move around, I shift out the two sections behind you and pull in two new sections in front. Each section gets a random number of zombies depending on how many buildings and cars it contains and how far you are from the origin.
To save some cycles I turn off all collision detection past a certain radius which also has the added benefit of making it easier for the zombies to find you [img]http://public.gamedev.net//public/style_emoticons/default/smile.png[/img]
0

Share this post


Link to post
Share on other sites
I really like the idea and implementation of the game. Its fun to play :)
The only thing that really annoys me after playing it for a couple of minutes is that it feels like the character is constantly walking through a sea of glue.
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0