Time Flier
Time-Flyer
Time heals all wounds! Fly through time, evade when hurt to heal
A 2D arcade-style top-down space shooter
Made in Unity Engine 2019.3.13f1 personal, play in browser (WebGL)
Movement: WASD for movement and arrow keys for turning. Space bar to fire.
Source Code: https://github.com/DeplorableMountaineer/Time-Flyer
MIT license. Some assets are CC-Attribution though most are CC-0. See notes in source code.
Design and Features
- High score saved
- Each level is a time zone
- Moving bodies are missiles and pawns
- Pawns are enemies and the player ship
- Enemies can fly solo (a flock of one) or group into a flock.
- A flock has a leader and one or more support elements that follow the leader
- A flock of one has a leader with no support
- When a support element is hit, it breaks from the flock till it heals, and enters flee mode
- When the leader is hit, if not already in flee mode, it enters flee mode
- Flocks are spawned in waves
- A new wave begins when all flocks of the previous wave have been destroyed
- When all waves have been destroyed, the player goes to the next time zone
- Enemy AI includes steering and flocking
- support elements try to keep up with the flock while maintaining separation: flock support members repel each other (inverse square law) if too close, while trying to match the velocity of the center of mass and trying to maintain a constant distance from that center of mass.
- The leader seeks the player target, attacks (fires missiles) when in range, using (linear) predictive targeting, then flees, and then seeks again
- The support elements also attack when in range, using linear predictive targeting.
- If the leader is destroyed, another flock member, if any remain, is immediately promoted to leader.
- If the player is destroyed, the leader goes into wander mode
- When a support element is hit, it breaks from the flock till it heals, and enters flee mode
- When the leader is hit, if not already in flee mode, it enters flee mode
- Enemy AI also includes collision avoidance from other moving bodies.
- On being hit, a pawn loses health.
- The pawn regains health over time, unless it dies
- thus the pawn must be shot several times quickly to kill it
- Flames visually show the amount of damage
- Enemy pawns flee when hit to give health time to restore
- Movement
- The ship remains centered and pointing up (relative to the camera), while it appears that everything else moves and rotates.
- There are two backgrounds--
- one moves to show the movement of the player, the other is fixed and represents a parallaxed infinite-distance background.
Status | Released |
Platforms | HTML5 |
Author | Deplorable Mountaineer |
Genre | Shooter |
Made with | Unity |
Tags | 2D, Space, Time Travel, Top down shooter |
Code license | MIT License |
Asset license | Creative Commons Attribution v4.0 International |
Average session | A few minutes |
Languages | English |
Inputs | Keyboard |
Links | Source code |
Leave a comment
Log in with itch.io to leave a comment.