Inspiration
Since the hackathon theme was so open ended, we wanted to make something that was fun while also challenging ourselves to learn something new in code.
What it does
We made a 2D golf game with 6 levels where you win by getting the golf ball in the level's hole. The game has simple collision physics to ensure the ball stays within the bounds and acts like a ball. The game also has a level selector to go between levels as well as a drag controller that lets you control the angle and power in which you hit the ball by dragging your mouse.
How we built it
We built this game entirely on Unity and C# scripts. We used Unity's built in physics engine to simulate physics for the golf ball and we used scripts for the ball object to register whenever it lands in a hole as well as for selecting levels and implementing a basic drag controller to shoot the ball.
Challenges we ran into
We started this project with little to no experience with Unity and C# so we had many issues learning/working with Unity. We had issues with importing tiles/tilesets to create levels and registering collision between the golf ball and walls as well as registering when the golf ball lands in the hole, registering button clicks, etc. One of our biggest challenges was time management. Since the hackathon coincided with family weekend. 2 of our members had to leave early to watch the game and hang out with their family. This made us lose manpower and also time when we had to catch them up to speed when they came back.
Accomplishments that we're proud of
Making a functioning Unity game with little to no experience in Unity. We weren't confident that we would have a functioning game in 24 hours especially with our time constraints and our lack of experience with the engine. We're very proud with our finished project.
What we learned
We learned how to better work as a team, manage our time and how to research documentation/learn new cs skills/languages effectively.
What's next for Let's Go Golfing
While we were able to make a lot of progress on our game in the 24 hour period, our game's mechanics are still very basic. In the future, we hope to add music to our game as well as sound effects whenever the ball is shot and when it bounces and scores. We also hope to add more mechanics to our game such as levels with low/high gravity, different levels of bounciness, simple objects such as gates, buttons, wind, coins, etc. Additionally, we hope to have a star system where you get stars for completing certain challenges such as beating a level in under a certain amount of strokes etc. Lastly, we hope to improve the visual aspect of the game with custom sprites for grass and hole tiles and fixing visual bugs such as screen tearing.
Log in or sign up for Devpost to join the conversation.