SlideShare a Scribd company logo
Mobile first, next-gen Asteroid game, DOM BASED
TS based – deployed in Itch.io
Uses peasy-ui and peasy-lighting
Needs to detect touch capabilities or switch to keyboard if desktop
Mobile first:
Meaning that it will need to detect iOS, android, or other
Meaning that is will need to adjust the html elements to fit the device size, and to
adjust for the scrollbars
Meaning that if mobile, touch controls need to be used
All Menu items need to be touch assessable
All HUD elements need to be away from touch controls, and opaque
Fire
Lives: Score: 0
Level: 1
Ammo
Health
States:
• Intro: Game Landing page
• Game: main playable area
• Settings: Configurable landing page
• About
Intro Game Settings About
Setup new game
UI event, pause game,
open settings modal
UI event, open about
modal
UI event, close about
modal
UI event, close about
modal
Game event, game over
UI event, quit game
Progressive Difficulty:
• No more defined stages, just increased spawn rates
• Health of asteroids can increase, as well as scoring
• Increased rate of enemy AI spawning
• Level thresholds can be tied to experience of hitting asteroids and enemies
• Experience boost from destroying asteroid and enemy
Game Over when lives run out
• Life lost when health is empty
• 1 life gained with increasing level, upto max of 3
Navigation
• When moving entity leaves screen edge, it appears on opposite side
• Does not include ammo, ammo is removed from game when it hits edge of
screen
Controls
• Joystick(wasd) ‘up’ provides thrust in direction that player is facing
• Joystick (wasd) ‘left/right’ changes angle of player, but no thrust
• Joystick (wasd) ‘down’ provides reverse thrust, slows player down, or reverses player
• Tap Fire, shots ammo in direction which player is facing, ammo comes out of two
emitter points, and alternates
• Hold Fire, charged firing, with special upgrades
Fire
Lives: Score: 0
Level: 1
Ammo
Health
SETTINGS
SFX volume:
Music volume:
ABOUT
Fire
Lives: Score: 0
Level: 1
Ammo
Health
ABOUT
BACK
This application is made using Peasy library, for UI binding, physics, and
lighting.
Peasy Library GitHub: https://github.com/peasy-ui/peasy-ui
Asteroids Plus 2.0 GitHub: https://github.com/jyoung4242/Asteroids-Plus
Please leave your feedback on the itch.io page on how you feel on this
or any issues found.
Asteroids Plus 2.0
BEGIN
Physics (Collisions)
• Asteroids collide with other Asteroids and the collision is elastic, however, each
asteroid will have a mass associated with it, so two different masses collide, it could
transfer energy and change velocities, as well as direction and spin speed
• Asteroids can collide with NPC and playable characters as well, similar transfer of
energy, no spin change though, but different mass asteroids will impact ships
differently
• Player Bullets can collide with Asteroids and other NPC ships, but not with the parent
ship of the bullets… this applies to any ammo from the NPC as well
Combat
• Each bolt of ammo fired reduces the ammo meter by x amount, and while there is
energy supply in that meter, there is not restriction on tapping fire and producing
more ammo
• When energy depleted from meter, then fire rate becomes governed, until recharged
• Destroying an enemy NPC or an Asteroid will result in an energy boost to meter
• There is a once second recharge timer for ammo energy, and will increment x amount
of energy into meter over time
• A power up may be considered to boost this mechanic either faster recharge, or larger
capacity of energy
Scoring
• Each viable bullet collision with either Asteroid or NPC results in points being accrued
• Bonus points upon destruction of either Asteroid or NPC
• Local High scores are kept in browser local storage
Development sequence:
1. Screen Responsiveness and Detection
2. Game States
3. Fixed Step Engine
4. ECS
5. Entities
1. Player
2. Asteroids
3. Bullets
4. Star
5. NPC AI
6. Joystick System
7. Keyboard Input
8. Components
1. Mass/size
2. Velocity
3. Collision Detection & Recovery
4. Animations
5. Lighting
9. Systems
1. Rendering
2. Movement
3. Collisions
4. Animation
5. Lighting
10. Spawning
11. Scoring
12. Experience/Levels/Progression
13. HUD
14. Audio
15. AI system
16. Boosts – power ups

More Related Content

Similar to Next Gen Asteroids

Designing and Evolving an Unreal Tournament 2004 Expert Bot
 Designing and Evolving an Unreal Tournament 2004 Expert Bot Designing and Evolving an Unreal Tournament 2004 Expert Bot
Designing and Evolving an Unreal Tournament 2004 Expert Bot
keldon_spain
 
Future warfare
Future warfareFuture warfare
Future warfare
Andrea Prosseda
 
Future Warfare
Future WarfareFuture Warfare
Future Warfare
Andrea Prosseda
 
Gamemaker lesson 1
Gamemaker lesson 1Gamemaker lesson 1
Gamemaker lesson 1
iain bruce
 
Modelling Human Expert Behaviour in an Unreal Tournament 2004 Bot
Modelling Human Expert Behaviour in an Unreal Tournament 2004 BotModelling Human Expert Behaviour in an Unreal Tournament 2004 Bot
Modelling Human Expert Behaviour in an Unreal Tournament 2004 Bot
Antonio Mora
 
Unit 72 my computer game user guide (1) (4)
Unit 72 my computer game user guide (1) (4)Unit 72 my computer game user guide (1) (4)
Unit 72 my computer game user guide (1) (4)
Lewis Brierley
 
Shootemup report
Shootemup reportShootemup report
Shootemup report
Vivek Prasad
 
1casestudy
1casestudy1casestudy
1casestudy
Samuel-Schoettner
 
Game design document - BadBug Studio - Xbox Game
Game design document - BadBug Studio - Xbox GameGame design document - BadBug Studio - Xbox Game
Game design document - BadBug Studio - Xbox Game
UTC Fire & Security
 
Endless frontier summary_global_2016
Endless frontier summary_global_2016Endless frontier summary_global_2016
Endless frontier summary_global_2016
Ekkorr
 
Galactic Wars XNA Game
Galactic Wars XNA GameGalactic Wars XNA Game
Galactic Wars XNA Game
Sohil Gupta
 
The Virus Killer Game
The Virus Killer GameThe Virus Killer Game
The Virus Killer Game
Greta Helder
 
Work Flow for 2D Game
Work Flow for 2D GameWork Flow for 2D Game
Work Flow for 2D Game
bowes96123
 
Kodu game design
Kodu game designKodu game design
Kodu game design
Philip Sweezey
 
Unity
UnityUnity
Work flow
Work flowWork flow
Work flow
Deightonater
 
Dino system preview
Dino system previewDino system preview
Dino system preview
EatSleepDigitals.com
 
Killzone Shadow Fall: Threading the Entity Update on PS4
Killzone Shadow Fall: Threading the Entity Update on PS4Killzone Shadow Fall: Threading the Entity Update on PS4
Killzone Shadow Fall: Threading the Entity Update on PS4
jrouwe
 
4.3 collision detection
4.3   collision detection4.3   collision detection
4.3 collision detection
allenbailey
 
Indie Game Development Intro
Indie Game Development IntroIndie Game Development Intro
Indie Game Development Intro
Juan Zamora, MSc. MBA
 

Similar to Next Gen Asteroids (20)

Designing and Evolving an Unreal Tournament 2004 Expert Bot
 Designing and Evolving an Unreal Tournament 2004 Expert Bot Designing and Evolving an Unreal Tournament 2004 Expert Bot
Designing and Evolving an Unreal Tournament 2004 Expert Bot
 
Future warfare
Future warfareFuture warfare
Future warfare
 
Future Warfare
Future WarfareFuture Warfare
Future Warfare
 
Gamemaker lesson 1
Gamemaker lesson 1Gamemaker lesson 1
Gamemaker lesson 1
 
Modelling Human Expert Behaviour in an Unreal Tournament 2004 Bot
Modelling Human Expert Behaviour in an Unreal Tournament 2004 BotModelling Human Expert Behaviour in an Unreal Tournament 2004 Bot
Modelling Human Expert Behaviour in an Unreal Tournament 2004 Bot
 
Unit 72 my computer game user guide (1) (4)
Unit 72 my computer game user guide (1) (4)Unit 72 my computer game user guide (1) (4)
Unit 72 my computer game user guide (1) (4)
 
Shootemup report
Shootemup reportShootemup report
Shootemup report
 
1casestudy
1casestudy1casestudy
1casestudy
 
Game design document - BadBug Studio - Xbox Game
Game design document - BadBug Studio - Xbox GameGame design document - BadBug Studio - Xbox Game
Game design document - BadBug Studio - Xbox Game
 
Endless frontier summary_global_2016
Endless frontier summary_global_2016Endless frontier summary_global_2016
Endless frontier summary_global_2016
 
Galactic Wars XNA Game
Galactic Wars XNA GameGalactic Wars XNA Game
Galactic Wars XNA Game
 
The Virus Killer Game
The Virus Killer GameThe Virus Killer Game
The Virus Killer Game
 
Work Flow for 2D Game
Work Flow for 2D GameWork Flow for 2D Game
Work Flow for 2D Game
 
Kodu game design
Kodu game designKodu game design
Kodu game design
 
Unity
UnityUnity
Unity
 
Work flow
Work flowWork flow
Work flow
 
Dino system preview
Dino system previewDino system preview
Dino system preview
 
Killzone Shadow Fall: Threading the Entity Update on PS4
Killzone Shadow Fall: Threading the Entity Update on PS4Killzone Shadow Fall: Threading the Entity Update on PS4
Killzone Shadow Fall: Threading the Entity Update on PS4
 
4.3 collision detection
4.3   collision detection4.3   collision detection
4.3 collision detection
 
Indie Game Development Intro
Indie Game Development IntroIndie Game Development Intro
Indie Game Development Intro
 

Recently uploaded

原版制作(MDIS毕业证书)新加坡管理发展学院毕业证学位证一模一样
原版制作(MDIS毕业证书)新加坡管理发展学院毕业证学位证一模一样原版制作(MDIS毕业证书)新加坡管理发展学院毕业证学位证一模一样
原版制作(MDIS毕业证书)新加坡管理发展学院毕业证学位证一模一样
hw2xf1m
 
一比一原版(McGill毕业证)加拿大麦吉尔大学毕业证如何办理
一比一原版(McGill毕业证)加拿大麦吉尔大学毕业证如何办理一比一原版(McGill毕业证)加拿大麦吉尔大学毕业证如何办理
一比一原版(McGill毕业证)加拿大麦吉尔大学毕业证如何办理
w26izoeb
 
一比一原版布兰登大学毕业证(BU毕业证书)如何办理
一比一原版布兰登大学毕业证(BU毕业证书)如何办理一比一原版布兰登大学毕业证(BU毕业证书)如何办理
一比一原版布兰登大学毕业证(BU毕业证书)如何办理
wkip62b
 
UXpert_Report (UALR Mapping Renewal 2022).pdf
UXpert_Report (UALR Mapping Renewal 2022).pdfUXpert_Report (UALR Mapping Renewal 2022).pdf
UXpert_Report (UALR Mapping Renewal 2022).pdf
anthonylin333
 
一比一原版美国加州大学欧文分校毕业证(UCI学位证)如何办理
一比一原版美国加州大学欧文分校毕业证(UCI学位证)如何办理一比一原版美国加州大学欧文分校毕业证(UCI学位证)如何办理
一比一原版美国加州大学欧文分校毕业证(UCI学位证)如何办理
02tygie
 
一比一原版马来西亚世纪大学毕业证成绩单一模一样
一比一原版马来西亚世纪大学毕业证成绩单一模一样一比一原版马来西亚世纪大学毕业证成绩单一模一样
一比一原版马来西亚世纪大学毕业证成绩单一模一样
k4krdgxx
 
一比一原版(Teesside毕业证)英国提赛德大学毕业证如何办理
一比一原版(Teesside毕业证)英国提赛德大学毕业证如何办理一比一原版(Teesside毕业证)英国提赛德大学毕业证如何办理
一比一原版(Teesside毕业证)英国提赛德大学毕业证如何办理
mfria419
 
TOWER DESIGN PROCEDURE TOWER DESIGN BASIS .pptx
TOWER DESIGN PROCEDURE TOWER DESIGN BASIS .pptxTOWER DESIGN PROCEDURE TOWER DESIGN BASIS .pptx
TOWER DESIGN PROCEDURE TOWER DESIGN BASIS .pptx
BAWAALEX1
 
一比一原版(Rice毕业证)美国莱斯大学毕业证如何办理
一比一原版(Rice毕业证)美国莱斯大学毕业证如何办理一比一原版(Rice毕业证)美国莱斯大学毕业证如何办理
一比一原版(Rice毕业证)美国莱斯大学毕业证如何办理
oabn3692
 
一比一原版(Deakin毕业证书)澳洲迪肯大学毕业证文凭如何办理
一比一原版(Deakin毕业证书)澳洲迪肯大学毕业证文凭如何办理一比一原版(Deakin毕业证书)澳洲迪肯大学毕业证文凭如何办理
一比一原版(Deakin毕业证书)澳洲迪肯大学毕业证文凭如何办理
k4krdgxx
 
一比一原版(NU毕业证书)诺森比亚大学毕业证如何办理
一比一原版(NU毕业证书)诺森比亚大学毕业证如何办理一比一原版(NU毕业证书)诺森比亚大学毕业证如何办理
一比一原版(NU毕业证书)诺森比亚大学毕业证如何办理
21uul8se
 
NHL Stenden University of Applied Sciences Diploma Degree Transcript
NHL Stenden University of Applied Sciences Diploma Degree TranscriptNHL Stenden University of Applied Sciences Diploma Degree Transcript
NHL Stenden University of Applied Sciences Diploma Degree Transcript
lhtvqoag
 
一比一原版(KPU毕业证)加拿大昆特兰理工大学毕业证如何办理
一比一原版(KPU毕业证)加拿大昆特兰理工大学毕业证如何办理一比一原版(KPU毕业证)加拿大昆特兰理工大学毕业证如何办理
一比一原版(KPU毕业证)加拿大昆特兰理工大学毕业证如何办理
kmzsy4kn
 
一比一原版(UoB毕业证)英国伯明翰大学毕业证如何办理
一比一原版(UoB毕业证)英国伯明翰大学毕业证如何办理一比一原版(UoB毕业证)英国伯明翰大学毕业证如何办理
一比一原版(UoB毕业证)英国伯明翰大学毕业证如何办理
zv943dhb
 
一比一原版(Brunel毕业证)英国布鲁内尔大学毕业证如何办理
一比一原版(Brunel毕业证)英国布鲁内尔大学毕业证如何办理一比一原版(Brunel毕业证)英国布鲁内尔大学毕业证如何办理
一比一原版(Brunel毕业证)英国布鲁内尔大学毕业证如何办理
ka3y2ukz
 
一比一原版(UC毕业证书)堪培拉大学毕业证如何办理
一比一原版(UC毕业证书)堪培拉大学毕业证如何办理一比一原版(UC毕业证书)堪培拉大学毕业证如何办理
一比一原版(UC毕业证书)堪培拉大学毕业证如何办理
wkip62b
 
一比一原版(CSUEB毕业证)美国加州州立大学东湾分校毕业证如何办理
一比一原版(CSUEB毕业证)美国加州州立大学东湾分校毕业证如何办理一比一原版(CSUEB毕业证)美国加州州立大学东湾分校毕业证如何办理
一比一原版(CSUEB毕业证)美国加州州立大学东湾分校毕业证如何办理
stgq9v39
 
一比一原版(UWE毕业证书)西英格兰大学毕业证如何办理
一比一原版(UWE毕业证书)西英格兰大学毕业证如何办理一比一原版(UWE毕业证书)西英格兰大学毕业证如何办理
一比一原版(UWE毕业证书)西英格兰大学毕业证如何办理
etls06p8
 
一比一原版肯特大学毕业证UKC成绩单一模一样
一比一原版肯特大学毕业证UKC成绩单一模一样一比一原版肯特大学毕业证UKC成绩单一模一样
一比一原版肯特大学毕业证UKC成绩单一模一样
tobbk6s8
 
一比一原版马里兰大学毕业证(UMD毕业证书)如何办理
一比一原版马里兰大学毕业证(UMD毕业证书)如何办理一比一原版马里兰大学毕业证(UMD毕业证书)如何办理
一比一原版马里兰大学毕业证(UMD毕业证书)如何办理
9lq7ultg
 

Recently uploaded (20)

原版制作(MDIS毕业证书)新加坡管理发展学院毕业证学位证一模一样
原版制作(MDIS毕业证书)新加坡管理发展学院毕业证学位证一模一样原版制作(MDIS毕业证书)新加坡管理发展学院毕业证学位证一模一样
原版制作(MDIS毕业证书)新加坡管理发展学院毕业证学位证一模一样
 
一比一原版(McGill毕业证)加拿大麦吉尔大学毕业证如何办理
一比一原版(McGill毕业证)加拿大麦吉尔大学毕业证如何办理一比一原版(McGill毕业证)加拿大麦吉尔大学毕业证如何办理
一比一原版(McGill毕业证)加拿大麦吉尔大学毕业证如何办理
 
一比一原版布兰登大学毕业证(BU毕业证书)如何办理
一比一原版布兰登大学毕业证(BU毕业证书)如何办理一比一原版布兰登大学毕业证(BU毕业证书)如何办理
一比一原版布兰登大学毕业证(BU毕业证书)如何办理
 
UXpert_Report (UALR Mapping Renewal 2022).pdf
UXpert_Report (UALR Mapping Renewal 2022).pdfUXpert_Report (UALR Mapping Renewal 2022).pdf
UXpert_Report (UALR Mapping Renewal 2022).pdf
 
一比一原版美国加州大学欧文分校毕业证(UCI学位证)如何办理
一比一原版美国加州大学欧文分校毕业证(UCI学位证)如何办理一比一原版美国加州大学欧文分校毕业证(UCI学位证)如何办理
一比一原版美国加州大学欧文分校毕业证(UCI学位证)如何办理
 
一比一原版马来西亚世纪大学毕业证成绩单一模一样
一比一原版马来西亚世纪大学毕业证成绩单一模一样一比一原版马来西亚世纪大学毕业证成绩单一模一样
一比一原版马来西亚世纪大学毕业证成绩单一模一样
 
一比一原版(Teesside毕业证)英国提赛德大学毕业证如何办理
一比一原版(Teesside毕业证)英国提赛德大学毕业证如何办理一比一原版(Teesside毕业证)英国提赛德大学毕业证如何办理
一比一原版(Teesside毕业证)英国提赛德大学毕业证如何办理
 
TOWER DESIGN PROCEDURE TOWER DESIGN BASIS .pptx
TOWER DESIGN PROCEDURE TOWER DESIGN BASIS .pptxTOWER DESIGN PROCEDURE TOWER DESIGN BASIS .pptx
TOWER DESIGN PROCEDURE TOWER DESIGN BASIS .pptx
 
一比一原版(Rice毕业证)美国莱斯大学毕业证如何办理
一比一原版(Rice毕业证)美国莱斯大学毕业证如何办理一比一原版(Rice毕业证)美国莱斯大学毕业证如何办理
一比一原版(Rice毕业证)美国莱斯大学毕业证如何办理
 
一比一原版(Deakin毕业证书)澳洲迪肯大学毕业证文凭如何办理
一比一原版(Deakin毕业证书)澳洲迪肯大学毕业证文凭如何办理一比一原版(Deakin毕业证书)澳洲迪肯大学毕业证文凭如何办理
一比一原版(Deakin毕业证书)澳洲迪肯大学毕业证文凭如何办理
 
一比一原版(NU毕业证书)诺森比亚大学毕业证如何办理
一比一原版(NU毕业证书)诺森比亚大学毕业证如何办理一比一原版(NU毕业证书)诺森比亚大学毕业证如何办理
一比一原版(NU毕业证书)诺森比亚大学毕业证如何办理
 
NHL Stenden University of Applied Sciences Diploma Degree Transcript
NHL Stenden University of Applied Sciences Diploma Degree TranscriptNHL Stenden University of Applied Sciences Diploma Degree Transcript
NHL Stenden University of Applied Sciences Diploma Degree Transcript
 
一比一原版(KPU毕业证)加拿大昆特兰理工大学毕业证如何办理
一比一原版(KPU毕业证)加拿大昆特兰理工大学毕业证如何办理一比一原版(KPU毕业证)加拿大昆特兰理工大学毕业证如何办理
一比一原版(KPU毕业证)加拿大昆特兰理工大学毕业证如何办理
 
一比一原版(UoB毕业证)英国伯明翰大学毕业证如何办理
一比一原版(UoB毕业证)英国伯明翰大学毕业证如何办理一比一原版(UoB毕业证)英国伯明翰大学毕业证如何办理
一比一原版(UoB毕业证)英国伯明翰大学毕业证如何办理
 
一比一原版(Brunel毕业证)英国布鲁内尔大学毕业证如何办理
一比一原版(Brunel毕业证)英国布鲁内尔大学毕业证如何办理一比一原版(Brunel毕业证)英国布鲁内尔大学毕业证如何办理
一比一原版(Brunel毕业证)英国布鲁内尔大学毕业证如何办理
 
一比一原版(UC毕业证书)堪培拉大学毕业证如何办理
一比一原版(UC毕业证书)堪培拉大学毕业证如何办理一比一原版(UC毕业证书)堪培拉大学毕业证如何办理
一比一原版(UC毕业证书)堪培拉大学毕业证如何办理
 
一比一原版(CSUEB毕业证)美国加州州立大学东湾分校毕业证如何办理
一比一原版(CSUEB毕业证)美国加州州立大学东湾分校毕业证如何办理一比一原版(CSUEB毕业证)美国加州州立大学东湾分校毕业证如何办理
一比一原版(CSUEB毕业证)美国加州州立大学东湾分校毕业证如何办理
 
一比一原版(UWE毕业证书)西英格兰大学毕业证如何办理
一比一原版(UWE毕业证书)西英格兰大学毕业证如何办理一比一原版(UWE毕业证书)西英格兰大学毕业证如何办理
一比一原版(UWE毕业证书)西英格兰大学毕业证如何办理
 
一比一原版肯特大学毕业证UKC成绩单一模一样
一比一原版肯特大学毕业证UKC成绩单一模一样一比一原版肯特大学毕业证UKC成绩单一模一样
一比一原版肯特大学毕业证UKC成绩单一模一样
 
一比一原版马里兰大学毕业证(UMD毕业证书)如何办理
一比一原版马里兰大学毕业证(UMD毕业证书)如何办理一比一原版马里兰大学毕业证(UMD毕业证书)如何办理
一比一原版马里兰大学毕业证(UMD毕业证书)如何办理
 

Next Gen Asteroids

  • 1. Mobile first, next-gen Asteroid game, DOM BASED TS based – deployed in Itch.io Uses peasy-ui and peasy-lighting Needs to detect touch capabilities or switch to keyboard if desktop Mobile first: Meaning that it will need to detect iOS, android, or other Meaning that is will need to adjust the html elements to fit the device size, and to adjust for the scrollbars Meaning that if mobile, touch controls need to be used All Menu items need to be touch assessable All HUD elements need to be away from touch controls, and opaque Fire Lives: Score: 0 Level: 1 Ammo Health States: • Intro: Game Landing page • Game: main playable area • Settings: Configurable landing page • About Intro Game Settings About Setup new game UI event, pause game, open settings modal UI event, open about modal UI event, close about modal UI event, close about modal Game event, game over UI event, quit game Progressive Difficulty: • No more defined stages, just increased spawn rates • Health of asteroids can increase, as well as scoring • Increased rate of enemy AI spawning • Level thresholds can be tied to experience of hitting asteroids and enemies • Experience boost from destroying asteroid and enemy Game Over when lives run out • Life lost when health is empty • 1 life gained with increasing level, upto max of 3 Navigation • When moving entity leaves screen edge, it appears on opposite side • Does not include ammo, ammo is removed from game when it hits edge of screen Controls • Joystick(wasd) ‘up’ provides thrust in direction that player is facing • Joystick (wasd) ‘left/right’ changes angle of player, but no thrust • Joystick (wasd) ‘down’ provides reverse thrust, slows player down, or reverses player • Tap Fire, shots ammo in direction which player is facing, ammo comes out of two emitter points, and alternates • Hold Fire, charged firing, with special upgrades
  • 2. Fire Lives: Score: 0 Level: 1 Ammo Health SETTINGS SFX volume: Music volume: ABOUT Fire Lives: Score: 0 Level: 1 Ammo Health ABOUT BACK This application is made using Peasy library, for UI binding, physics, and lighting. Peasy Library GitHub: https://github.com/peasy-ui/peasy-ui Asteroids Plus 2.0 GitHub: https://github.com/jyoung4242/Asteroids-Plus Please leave your feedback on the itch.io page on how you feel on this or any issues found. Asteroids Plus 2.0 BEGIN Physics (Collisions) • Asteroids collide with other Asteroids and the collision is elastic, however, each asteroid will have a mass associated with it, so two different masses collide, it could transfer energy and change velocities, as well as direction and spin speed • Asteroids can collide with NPC and playable characters as well, similar transfer of energy, no spin change though, but different mass asteroids will impact ships differently • Player Bullets can collide with Asteroids and other NPC ships, but not with the parent ship of the bullets… this applies to any ammo from the NPC as well Combat • Each bolt of ammo fired reduces the ammo meter by x amount, and while there is energy supply in that meter, there is not restriction on tapping fire and producing more ammo • When energy depleted from meter, then fire rate becomes governed, until recharged • Destroying an enemy NPC or an Asteroid will result in an energy boost to meter • There is a once second recharge timer for ammo energy, and will increment x amount of energy into meter over time • A power up may be considered to boost this mechanic either faster recharge, or larger capacity of energy Scoring • Each viable bullet collision with either Asteroid or NPC results in points being accrued • Bonus points upon destruction of either Asteroid or NPC • Local High scores are kept in browser local storage
  • 3. Development sequence: 1. Screen Responsiveness and Detection 2. Game States 3. Fixed Step Engine 4. ECS 5. Entities 1. Player 2. Asteroids 3. Bullets 4. Star 5. NPC AI 6. Joystick System 7. Keyboard Input 8. Components 1. Mass/size 2. Velocity 3. Collision Detection & Recovery 4. Animations 5. Lighting 9. Systems 1. Rendering 2. Movement 3. Collisions 4. Animation 5. Lighting 10. Spawning 11. Scoring 12. Experience/Levels/Progression 13. HUD 14. Audio 15. AI system 16. Boosts – power ups