• Register

After Corruption is a retro survival horror game inspired by games from the early days of PSX. A extra-dimensional virus has infected, and destroyed the known world. You play as an agent of an organization created to study the breach and try to restore the world to a stable place - third person/fixed camera - 7 environment types to explore - procedurally generated levels - random puzzles - weird/gross/horrifying bosses - cheesy cutscenes - moving while aiming - old-school tank controls - nostalgic vertex jiggle

Post feature Report RSS After Corruption - Dev Log 1 - Level Generation

Dev log focusing on level generation for my PSX inspired horror game.

Posted by on

The store page for my new game is now live. Wishlist if you are interested here: After Corruption on Steam

Last week I posted a view going over the first prototype I had for a new fixed-camera/tank-controller game. It mainly covers the first attempt at random generation, then the issues and changes to improve the system.

I started off in Blender creating a standard "tile" which I attached camera positions to within Unity. After testing with completely random generation I realized the level was a mess and started building dedicated "rooms" that could be connected together by doors.

Level generation right now consists of:

  • placing rooms
  • placing enemies
  • placing furniture
  • setting wall/floor textures

Each of these elements are still being improved but basic levels are playable now and based on an INT seed to change.

After Corruption - Dev Log 1 - Level Generation on Youtube

4925

6221

7040

7545

Note that the tile model has been an ongoing development. In some images you may notice the tile has "extra" faces creating what look like solid blocks. This started because the original tile was just scaled cubes.

As development continued I wanted to reduce the vertex count and clean up any of walls or floors that were too short/long to match next to another tile. This also helped in the editor because only having one face allows the camera to "see-through" the walls when editing.

Post comment Comments
Code4Broke
Code4Broke - - 1 comments

Good work, procedural generation is a lot of fun to write in my opinion, it's also the topic of my focus right now so it's always interesting to see what other people are doing.

Reply Good karma Bad karma+2 votes
crubeyawne Author
crubeyawne - - 1 comments

Thanks! Are you working on anything you can reference/show right now?

Reply Good karma+2 votes
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: