Apocalypse Taxi
A downloadable game for Windows
Apocalypse Taxi is my entry into the 2018 ProcJam.
Drive around a procedurally generated city, and try not to kill anyone. Pick up passengers and take them to their randomly generated destinations. It's more a tech toy than a game!
Techniques used:
- A Voronoi diagram (with Manhattan distance) is used to determine the road map.
- A simplex noise map determines altitude.
- Once the voronoi is generated, tiles containing roads are enumerated and tagged based on adjacency; appropriate road tiles are placed.
- Each tile within a "voronoi cell" is allocated to the appropriate region.
- Regions are given a type of water, park, rocks, residential, industrial or business.
- Water areas have their heights set low, so the bottom water plane shines through.
- Park and Rock areas have a procedural mesh generated from the height field (sloping to 0 at the roads), which is then added to the world. One of several textures is picked. A series of "props" (ruins, statues, etc.) are then randomly placed in the area.
- Residential, industrial and business districts are flat (altitude set to 0, and the mesh uses RLE to only render stripes - BIG performance improvement). Random buildings from a set of available options for that region are then placed on the world.
- I then randomly generate people. Names are built from census tables, skin color is determined from a set of available ethnic colorations (as is hair color). Different meshes are then applied to build a distinctive person. Various clothing options are generated, with random tints.
- Unreal's Vehicle system is then used to drive around.
- Physics determine collisions.
Source code is available here: https://dev.azure.com/herberticus/ApocalypseTaxi
BSD License and exclusion of warranty, to keep the lawyers happy:
Copyright 2018 Herbert Wolverson (DBA Bracket Productions)
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Status | In development |
Platforms | Windows |
Author | Bracket |
Genre | Action |
Tags | Driving, Procedural Generation, PROCJAM, unrealengine |
Download
Click download now to get access to the following files:
Comments
Log in with itch.io to leave a comment.
I liked the environmental variety; reminded me a bit of Streets of SimCity! Using the taxi driver role to provide additional motivation to explore (as opposed to just driving around at random) was a nice touch.
The map looks great! The city layout made sense and it was fun to drive around. I got stuck a few times when I ran something over or rolled the car, might be nice to add a way to reset to a valid position.
Thanks for trying it out! It was a game jam entry, so it was pretty rushed - I agree about needing some way to continue when you get stuck. I'll see if I can get that patched in soon. I don't plan to go very far with this game, but it was a great experience to make it. :-)
Release 2 fixes an embarrassingly bad spelling mistake and adds a license file that I missed the first time. Otherwise, it's unchanged.