Game:
Ashlynn

A 2 semester (6 month) project/game created when I was an undergrad at York University. I (Eric Lin) worked with: Hao Xu, Janus Chui, Rouming Lin to create this game.

Ashlynn game cover

This game was created on "Unity Game Engine". In this game you play as a girl that explores multiple biomes in her dreams. Each biome has its unique form that you can use. A dolphin in the ocean, a dinosaur in the city, and a bird in the sky. Cellular automata was used to create the voxel terrain. Additionally, a seperate camera had its view rendered onto a plane to simulate/create a portal that would link the biomes.

Cellular Automata Image

I worked on the procedural map generation of this game. Cellular automata was used to create "rooms". The concept is to create a grid populated with 0's and 1's. 0's function as an "open space", while 1's function as "walls". The "game of life" is then used to get rid of isolated cells. Once rooms are generated paths are "carved" into walls to connect each room. The result will be a "map" that looks similar to a cave system (depicted in the image above).

Procedural Map Image

After the terrain of the world has been generated the world would then randomly populate the map with trees, rocks, flowers, and other details. The placement of the details is determined using the same seed that generates the cellular automata used for the terrain.

Fish School Boids Image

In addition to the terrain/map generation I also worked on the AI implementation of "Boids". This very basic AI was used on the "Fish" in the aquatic world. It allows the fish to swim in schools. The code I used for this was derived from one of my earlier projects: Squids AI. Each fish AI will space themselves so that they are an ideal space away from other fish, and the environment. This allows the size/tightness of the fish school to be changed by either increasing or decreasing the ideal space.

Fish School Boids Image

Beyond that, I also worked on the "player controller". In this game the player swaps between "forms". By pressing buttons 1 through 4, the player can swap between human, bird, dolphin, and dinosaur. Gravity, movement speed, jump height are variables that differ between each playable form.

Code and other assets I developed for the game can be found on the Game_Ashlynn page of my Github.