SIZZLIN' SNAKE
Background
Dates: September 2017 - December 2017
Platform: Mobile
Engine: Unity 5
Project Type: Mobile Game Design
Intention: Create a simple and fun mobile game that a wide audience could enjoy.
This is a mobile game I created in my spare time. In the game, you play as a snake that must travel across the desert while staying in the shadows to avoid overheating. The game is geared toward a wide audience by utilizing simple controls and light hearted gameplay. The game was previously on the Google Play Store and the Apple App Store, but since has been removed from a lack of updates and financial support as I’ve been busy with other projects.
Development
While developing this game, I wanted to focus on 2 major systems: shadow detection and random level generation. For the first system, shadow detection, a script creates a raycast from multiple points on the player to the directional light in the scene. If the raycast hits an object, that part of the body is in the shade. The more points in the body not in the shade, the faster the player's 'heat' increases. Throughout the game, the directional light changes angles to simulate the passing day.
For the second system, random level generation, I created multiple land pieces the game randomly chooses from to create the level. As the player gets close to one of the edges, 3 random level pieces are generated and are added in front of the player. Then, the 3 farthest land pieces from the player are deleted. This allows the game to have an infinite level distance while still being optimized for mobile.