The most important section of the document. The central gameplay systems are described here. For different games it will be completely different in terms of content. Also, this section can turn out to be quite voluminous, then it is better to divide it into several parts.
Control
Keyboard:
Arrows, wasd - movement
Esc - menu
Gamepad:
Left stick, right stick - movement
Start - menu
Mouse:
Click, hold - move
Mobile:
Tap, hold - move
Player
The player controls a ship that can move around the screen. The ship always automatically fires forward. When a projectile hits an enemy, the enemy is destroyed. When a player and an enemy collide, the enemy is destroyed. The player can also select bonuses.
Bonuses
Bonuses drop from killed enemies with some chance. Bonuses provide various positive effects. When you select identical bonuses that have an effect time, the duration of the effect increases.
- http://ims.cr5.space/app/p/Yi3JBUoR/imstarter-template/a/51dea71f-eece-4faf-b849-d0bf7335475a">Bonus - 1, "Flash"
- http://ims.cr5.space/app/p/Yi3JBUoR/imstarter-template/a/5c9ebd25-d70d-48d5-a99d-907fe0b98da0">Bonus - 2, "Reflection"
- http://ims.cr5.space/app/p/Yi3JBUoR/imstarter-template/a/413aa7cd-434e-439d-804c-1dd77d3af09c">Bonus - 3, "Acceleration"
Enemies
Enemies are generated randomly at intervals of no more than 2 seconds. There cannot be more than 30 enemies on the screen. Enemies are generated in such a way as not to overlap each other. Some enemies, for example http://ims.cr5.space/app/p/Yi3JBUoR/imstarter-template/a/cde00a26-d466-41af-afe4-9be066df0757">Enemy - 3, "Sinus" , cannot be generated in one copy, but only in a group. Fires red projectiles that disappear upon impact with a player.
If an enemy takes damage, its sprite flashes white and one is subtracted from the life counter. When the counter drops to zero, the enemy disappears. When an enemy is destroyed, points (UI ) are awarded.
- http://ims.cr5.space/app/p/Yi3JBUoR/imstarter-template/a/3f22904b-3360-45e4-b63c-32a54dee7da7">Enemy - 1, "Asteroid"
- http://ims.cr5.space/app/p/Yi3JBUoR/imstarter-template/a/c68623ca-6bcb-4aeb-858f-180378569fd3">Enemy - 2, "Mine"
- http://ims.cr5.space/app/p/Yi3JBUoR/imstarter-template/a/cde00a26-d466-41af-afe4-9be066df0757">Enemy - 3, "Sinus"
Space
Player moves endlessly in space from bottom to top. But technically, it's the enemies and background that move from top to bottom, creating the illusion of the player moving. The background consists of a single-color background and moving stars. The location of the stars is random.