SlideShare a Scribd company logo
1 of 3
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 Botkeldon_spain
 
Gamemaker lesson 1
Gamemaker lesson 1Gamemaker lesson 1
Gamemaker lesson 1iain 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 BotAntonio 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
 
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 GameUTC Fire & Security
 
Endless frontier summary_global_2016
Endless frontier summary_global_2016Endless frontier summary_global_2016
Endless frontier summary_global_2016Ekkorr
 
Galactic Wars XNA Game
Galactic Wars XNA GameGalactic Wars XNA Game
Galactic Wars XNA GameSohil Gupta
 
The Virus Killer Game
The Virus Killer GameThe Virus Killer Game
The Virus Killer GameGreta Helder
 
Work Flow for 2D Game
Work Flow for 2D GameWork Flow for 2D Game
Work Flow for 2D Gamebowes96123
 
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 PS4jrouwe
 
4.3 collision detection
4.3   collision detection4.3   collision detection
4.3 collision detectionallenbailey
 

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

(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一Fi sss
 
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130Suhani Kapoor
 
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024CristobalHeraud
 
定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一
定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一
定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一lvtagr7
 
Design Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William VickeryDesign Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William VickeryWilliamVickery6
 
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...babafaisel
 
Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Rndexperts
 
call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
VIP Kolkata Call Girl Gariahat 👉 8250192130 Available With Room
VIP Kolkata Call Girl Gariahat 👉 8250192130  Available With RoomVIP Kolkata Call Girl Gariahat 👉 8250192130  Available With Room
VIP Kolkata Call Girl Gariahat 👉 8250192130 Available With Roomdivyansh0kumar0
 
SCRIP Lua HTTP PROGRACMACION PLC WECON CA
SCRIP Lua HTTP PROGRACMACION PLC  WECON CASCRIP Lua HTTP PROGRACMACION PLC  WECON CA
SCRIP Lua HTTP PROGRACMACION PLC WECON CANestorGamez6
 
NATA 2024 SYLLABUS, full syllabus explained in detail
NATA 2024 SYLLABUS, full syllabus explained in detailNATA 2024 SYLLABUS, full syllabus explained in detail
NATA 2024 SYLLABUS, full syllabus explained in detailDesigntroIntroducing
 
WAEC Carpentry and Joinery Past Questions
WAEC Carpentry and Joinery Past QuestionsWAEC Carpentry and Joinery Past Questions
WAEC Carpentry and Joinery Past QuestionsCharles Obaleagbon
 
Architecture case study India Habitat Centre, Delhi.pdf
Architecture case study India Habitat Centre, Delhi.pdfArchitecture case study India Habitat Centre, Delhi.pdf
Architecture case study India Habitat Centre, Delhi.pdfSumit Lathwal
 
Call Girls Aslali 7397865700 Ridhima Hire Me Full Night
Call Girls Aslali 7397865700 Ridhima Hire Me Full NightCall Girls Aslali 7397865700 Ridhima Hire Me Full Night
Call Girls Aslali 7397865700 Ridhima Hire Me Full Nightssuser7cb4ff
 
Call Girls Bapu Nagar 7397865700 Ridhima Hire Me Full Night
Call Girls Bapu Nagar 7397865700 Ridhima Hire Me Full NightCall Girls Bapu Nagar 7397865700 Ridhima Hire Me Full Night
Call Girls Bapu Nagar 7397865700 Ridhima Hire Me Full Nightssuser7cb4ff
 
Passbook project document_april_21__.pdf
Passbook project document_april_21__.pdfPassbook project document_april_21__.pdf
Passbook project document_april_21__.pdfvaibhavkanaujia
 
Kindergarten Assessment Questions Via LessonUp
Kindergarten Assessment Questions Via LessonUpKindergarten Assessment Questions Via LessonUp
Kindergarten Assessment Questions Via LessonUpmainac1
 
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130Suhani Kapoor
 

Recently uploaded (20)

(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
 
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130
 
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
 
定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一
定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一
定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一
 
Design Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William VickeryDesign Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William Vickery
 
Call Girls in Pratap Nagar, 9953056974 Escort Service
Call Girls in Pratap Nagar,  9953056974 Escort ServiceCall Girls in Pratap Nagar,  9953056974 Escort Service
Call Girls in Pratap Nagar, 9953056974 Escort Service
 
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
 
Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025
 
call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
VIP Kolkata Call Girl Gariahat 👉 8250192130 Available With Room
VIP Kolkata Call Girl Gariahat 👉 8250192130  Available With RoomVIP Kolkata Call Girl Gariahat 👉 8250192130  Available With Room
VIP Kolkata Call Girl Gariahat 👉 8250192130 Available With Room
 
SCRIP Lua HTTP PROGRACMACION PLC WECON CA
SCRIP Lua HTTP PROGRACMACION PLC  WECON CASCRIP Lua HTTP PROGRACMACION PLC  WECON CA
SCRIP Lua HTTP PROGRACMACION PLC WECON CA
 
NATA 2024 SYLLABUS, full syllabus explained in detail
NATA 2024 SYLLABUS, full syllabus explained in detailNATA 2024 SYLLABUS, full syllabus explained in detail
NATA 2024 SYLLABUS, full syllabus explained in detail
 
WAEC Carpentry and Joinery Past Questions
WAEC Carpentry and Joinery Past QuestionsWAEC Carpentry and Joinery Past Questions
WAEC Carpentry and Joinery Past Questions
 
Architecture case study India Habitat Centre, Delhi.pdf
Architecture case study India Habitat Centre, Delhi.pdfArchitecture case study India Habitat Centre, Delhi.pdf
Architecture case study India Habitat Centre, Delhi.pdf
 
Call Girls Aslali 7397865700 Ridhima Hire Me Full Night
Call Girls Aslali 7397865700 Ridhima Hire Me Full NightCall Girls Aslali 7397865700 Ridhima Hire Me Full Night
Call Girls Aslali 7397865700 Ridhima Hire Me Full Night
 
Cheap Rate Call girls Kalkaji 9205541914 shot 1500 night
Cheap Rate Call girls Kalkaji 9205541914 shot 1500 nightCheap Rate Call girls Kalkaji 9205541914 shot 1500 night
Cheap Rate Call girls Kalkaji 9205541914 shot 1500 night
 
Call Girls Bapu Nagar 7397865700 Ridhima Hire Me Full Night
Call Girls Bapu Nagar 7397865700 Ridhima Hire Me Full NightCall Girls Bapu Nagar 7397865700 Ridhima Hire Me Full Night
Call Girls Bapu Nagar 7397865700 Ridhima Hire Me Full Night
 
Passbook project document_april_21__.pdf
Passbook project document_april_21__.pdfPassbook project document_april_21__.pdf
Passbook project document_april_21__.pdf
 
Kindergarten Assessment Questions Via LessonUp
Kindergarten Assessment Questions Via LessonUpKindergarten Assessment Questions Via LessonUp
Kindergarten Assessment Questions Via LessonUp
 
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
 

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