Sprint 1 (2024-04-14)


-We started by drawing out our options for procedural generation.

-Option 1: Only move terrain and not the player.

-Option 2: Move the Player and not the terrain.

-Option 3: Move Player and terrain to prevent floating point number errors.

-After talking to OT we decided not to over complicate things and start with just moving the terrain and generate new prefabs using a trigger.

Character and Chunk Movement

-The Player can move left and right within 3 lanes and jump without moving forward.

Procedual Generation

-The terrain chunks are stored in queue structure with trigger wall in each of them. When triggered, the first chunk will be destroyed(may change later in object pool) and a new chunk will generated at the end. So the result is that player doesn’t move, and environment move in a certain range of distance.

-We also created a Shader Graph to create a world curvature so the Player wont ever see emptiness or stuttering from the prefabs being generated.

Curve Shader Graph

Get Sponge Adventure

Leave a comment

Log in with itch.io to leave a comment.