Role: Programming & Design
Knåddskogen is a single player adventure game where you play as a kindergarten teacher who has lost her toddlers while on a field trip in a swedish forest. But finding the kids is not that simple. You must find the kids and use them as projectiles to find all of the kids in a wacky field trip adventure. Rock Paper Shotgun article.
During the project I acted as a Programmer and Designer.
My responsibilities was implementing the teacher customization, the children skin randomization as well as the menus and intro cutscene.
Customization for the Teacher
When making the customization the team’s goal was for it to feel meaningful for the player. That’s why when setting up the scene I decided to have the camera up close to the character so the player could see their choices in a clear way.
The background scene is a stripped down version of the main level. This creates faster loading time while still keeping the same atmosphere. The frame was set up in such a way that the player will remember the red bus and brown fence which mirrors the area the player later starts in.
Modular Customization System
The goal when designing the customization system was to make it modular and usable long term. To achieve that I wrote the script with a target material and a list of textures, making it reusable for every seperate part of the customization.
The script controls a set of arrow buttons which includes a selected and deselected sprite. Unity’s standard Eventsystem Button assumes you only have one sprite which can change on selected. But in our customization menu we have two sprites which is controlled not by a button press but with horizontal axis movement. By using the Eventsystem interface I enabled our buttons to interact with the other elements in the Unity Eventsystem. This allowed us to have our own customized buttons while still being able to use the regular Eventsystem tools.
Randomizing Child Textures
Evenly Randomized Textures
One of our goals included the kids feeling diverse and unique. When collecting several of these toddlers in a line they should all blend together into a colorful mess.
In order to achieve this I made a script which evenly randomized out the textures for every kid in the level.
Everytime the game starts the kids will be assigned textures from a llist one at the time. Each time a texture is applied to a kid it will be removed from the list. When the list is empty it will be refilled will all textures. This ensures an even distribution of all availible textures and allows it to scale to different amount of kids in each level.