SpaceGame
A downloadable game for Windows, macOS, and Linux
GitHub: https://github.com/Skoort/SpaceGame
SpaceGame is a space survival game developed in Unity in one week.
Gameplay:
The story is set in a mining colony, which is overrun by aliens. The player takes on the role of a fighter pilot, which needs to defend the station. The hero starts the missions as a rookie with basic fighter equipment. The successfully accomplished missions are paid based on the pilot’s performance. After each mission the pilot is able to upgrade weapons and repair the ship in the hangar. Currently the game has only a few missions.
Technical Details:
The aliens’ AI is very simple. Because of the emptiness of space, traditional pathfinding approaches like A* would be a little extreme. The AI is controlled by a simple behavior tree. The results are surprisingly good. If I had more time, I would have implemented simple collision avoidance using raycasts and altering the course based on that.
Also noteworthy is the targeting system. Every unit in the game keeps track of its enemies and calculates what position it needs to shoot at to hit its target.
I also implemented an object pooling system that is used for creating the target leads, bullets, explosions, etc..
The game has an upgrade system allowing the player to upgrade their weapon, buy an AI turret and restore their health. The missile upgrade is not yet implemented.
The game also has a scoring system. The game manager keeps track of various statistics during the game which it uses to calculate the amount of credits the player will get at the end of the mission.
Overall, the game was a good learning experience.
Controls:
Q : Roll Left, E : Roll Right
Left Arrow: Look Left, Right Arrow: Look Right
Down Arrow: Look Down, Up Arrow: Look Up
W: Forward Thrust, S: Backward Thrust
A: Strafe Left, D: Strafe Right
Left Shift: Strafe Down, Space: Strafe Up
Hold Right Mouse Button: Shoot
Hold Left Mouse Button: Look Up/Down/Left/Right.
Leave a comment
Log in with itch.io to leave a comment.