Inspiration
We wanted to create a simple two-player competition game. The original idea is below in the What's next... section. Also, to accommodate our skillset, we wanted to build something we can both contribute heavily to, especially since we have fundamental knowledge in Python, physics, and general programming knowledge.
What it does
Two players can collect flags to increase their scores, the player with the highest score wins.
How we built it
Inside the Godot engine, we used one of the game templates, and modified the art and the mechanisms for our objective. The development was made by starting from creating each method then testing the game after each method to find any bugs that arose.
Challenges we ran into
There was a while where flags couldn't be collected due to some issues with collision and node properties. Those were fixed, but flags still do not disappear upon collection. Much of the challenge in our project came from discovering more about how Godot works and how to make our players, flags, and other game elements do what we wanted them to.
Accomplishments that we're proud of
We created a functional game using the Godot engine, using a new language we hadn't heard of before, GDScript. Luckily, GDScript was easy to learn, especially using the tutorial as a reference for how certain types of methods and commands work, and was similar to Python, a language we were familiar with.
What we learned
We learned how to collaborate in a team by solving problems together along with learning how the basics of the engine. We were constantly bouncing ideas off of each other to see what worked and how it worked. For example, when solving the issue related to player collision, we both went through each of the methods of the players and their descriptions to later come up the following:
func _on_Player1_area_entered(_area):
p1HitLoss()
func _on_Player2_area_entered(_area):
p2HitLoss()
These methods allowed both players to collide with each other and make them lose points based on how many they have.
What's next for Capture the Flags Game
Since the game is in demo version alpha, major changes are required in order to make a more stable version. These changes include making the flags disappear upon collection and increasing the game timer.
Our original idea was to have the two players collect up to 3 items and bring them to their own goals on opposite sides of the bottom of the screen. Bringing items back to your goal would increase your score. The players would also be able to hit each other to make them drop their items. This idea can still be realized, but will most likely be done in multiple stages of development.
Built With
- gdscript
Log in or sign up for Devpost to join the conversation.