Devlog #82: Having fun in the sewers
I finally spent some time adding completely new content to the game. The next tech demo will be featuring two missions, each having different looks.
First, we have the sewer levels:
The biggest change in the implementation was that map tiles now can be animated (water and water edges). Also, the water tiles are the first tile types that are both transparent (so the players can see and shoot through them) and non-walkable. It does sound obvious but required some code changes.
Sewer levels have much more closed locations than the "industrial district streets" level had. This introduced some challenges when composing level fragments. Each level is being randomly generated from predefined fragments, and I needed to make sure that fragments stick together correctly. It was easier with open spaces as they were, well, open. Here, with corridors and narrow passages present, I had to be more clever.
I ended up adding metadata to each level fragment, holding information about valid connection points with neighboring fragments. For instance, the level below can handle both low and high connection from the right, and a high one from the left:
This allowed for maintaining the same semi-randomized nature of levels and making sure that there is always a valid movement path for the player.
I've also decided to create some interior levels for the industrial level types as well, now that I had this fragments' connection thing figured out. These look pretty cool as well:
That's it for this entry - see you in two weeks!
Shardpunk: Verminfall
A tactical squad-based survival strategy game based in a thoroughly stylised pixel-perfect steampunk setting.
More posts
- Devlog #140: Shardpunk is now live!Apr 13, 2023
- Devlog #139: Less than a week to launch!Apr 07, 2023
- Devlog #138: Release date reveal!Mar 24, 2023
- Devlog #137: Can a game be truly fair?Mar 04, 2023
- Devlog #136: Reflections on Next FestFeb 17, 2023
- Devlog #135: hand-holding tutorialJan 27, 2023
- Devlog #134: shelter phase changesJan 27, 2023
- Devlog #133: 2022 wrap-upDec 31, 2022
- Devlog #132: playtests in progressNov 25, 2022
- Devlog #131: combat tactics, and moreNov 12, 2022
Leave a comment
Log in with itch.io to leave a comment.