Inspiration
We were inspired by the world of Night City in the video game Cyberpunk 2077 and created this game to recapture some of those familiar surroundings in the form of an endless runner.
What it does
An endless runner with stunning visual assets, lighting, and soundtracks combined with a simple yet addicting gameplay that is sure to woo any cyberpunk fan out there. A fun way to pass the time by immersing yourself into the beautiful world of Cyber City by dodging obstacles and collecting coins to achieve the highest score possible.
How we built it
We built it using Unity and C#. We utilized C# for all the scripts for the player, camera, tracking collisions, coin and distance counters. Using Unity, we were able to apply these scripts to Objects in our scene. We utilized an asset template from unity's asset store, which helped us create the building assets around Cyber City, and utilized Unity's baked lighting feature to create static lighting to help with optimization and reduce lag.
Challenges we ran into
We ran into a couple of big challenges while working on this project. Namely,
1) Creating backups, or the lack thereof. We unfortunately learned the hard way how important it is to create backups when we lost about 4 hours of progress as Unity randomly decided to crash. However, we learned a valuable lesson in game dev, which is you can never be too sure with saving. It took us an hour to get back to where we were, but still taught us a valuable lesson.
2) Every asset we place down comes with a cost to optimization. We very quickly realized that putting in hundreds of assets, while visually appealing, is just not functional. We had to make a few assets in the background 2D to make the environment more optimized for running and less choppy.
Accomplishments that we're proud of
We are really proud how this game turned out as a whole. We are especially proud of implementing the coin and distance counter, which relied on coming up with an innovating coding "trick" using canvases in Unity that we could not find online. We are also really proud of the visual assets, lighting, and soundtrack in the game as they provide an immersive experience to the player.
What we learned
We learned that Unity is an excellent tool for making games in 3D. The assets available, the physics engine, the lighting is very easy and intuitive to implement. Before coming to this hackathon, none of us knew how to use Unity or C#, and we have essentially learned a big chunk of those in the last couple of days. We also learned the importance of optimization when making big projects as even a bunch of tiny hiccups in the code can cause major lag spikes as a whole.
What's next for Cyber Runner
We think that this game will be perfectly suitable for mobile and we would love to develop it compatible for mobile in the future as well. Unfortunately, the assets just make it unfeasible from an optimization point of view. We also would love to incorporate more levels, themes, surroundings in the future that the runner will alternate between to keep the game fresh.
Log in or sign up for Devpost to join the conversation.