SlideShare a Scribd company logo
1 of 14
2D Game Workflow
Player 1 sprite
This is the player sprite. I made the main colour of the ship white so that it
would stand out in the black space background. The blue ‘arms’ near the front
were supposed to be the weapons, but are difficult to see during gameplay. I
also had 2 engines at the back but the particle system was coded to be in
between them. I kept it that way because it looked fine during gameplay.
Coding keyboard controls
I chose the W, A, S and D keys for moving the player because they are the
standard movement controls for PC games.
Level limit coding
I created a level limit, so that the player is always within the room and can’t fly
offscreen.
Background designing
I made a black background to be space, and all of the white dots are distant
stars. It made the background like this to suit the rest of the game.
I also have a second background of only white dots that move at a different
speed than the first one, so that the game has a better effect of movement.
Jet sprite and coding particle system
I created the particle system to make the ship look more alive, and not just an
image sliding around on the screen. I coded it so the jet sprite appears at the
back of the ship, then gets smaller as it moves away, and then repeat.
Testing the game so far
This screenshot shows the earliest version of my game. It only includes the
background, the player ship and its particle system.
Creating the player laser sprite
The player laser is green because I wanted it to really stand out from
everything else on the screen, and to add a sort of toxic/acid feel to it.
Coding player projectile movement and removing once off the screen
I made it so that the player laser is removed from the game once it leaves the
screen. This is because if I didn’t do that, and enough lasers continue to exist, it
may eventually crash the game.
Adding code to make the player able to fire the projectile
I added code so that the player laser can actually be fired. I decided to make
the ‘enter’ button into the fire button.
Adding a projectile sound and adding code to have it play when a projectile is
fired.
I added a sound to the player laser so that the player feels like they are actually
shooting lasers out of their ship.
Creating an enemy sprite
I decided to make the first enemy a dark grey, but that made it difficult to see
it because of the dark background. I made the ‘eye’ red, and added a red glow
surrounding the enemy so it is easier to see, and looks more evil.
Coding enemy spawn and formation
I made it so that enemy 1 spawns in groups of 3 in a specific formation, but at
different parts of the y axis. This makes the enemy seem more like an
organised force against the player, but also makes the gameplay easier.
Creating enemy explosions
I chose to have some of the explosion to be green because the player laser is
green, and thought it would look better during gameplay.
Coding enemy explosion
This is the coding for the enemy to turn into the explosion when hit by the
player laser. Ingame it looks like the enemy has actually blown up.
Testing the game so far (screenshot taken from a later version where the
enemy can shoot)
This screenshot shows the player laser being fired (near the middle of the
screen) and an enemy blowing up from being hit. The lasers near the player are
from a later version of the game.
Creating enemy laser
I made the enemy laser as a glowing orb of energy that moves towards the
player. I chose to make the lasers round to match the shape of the enemy that
shoots them.
Coding enemy shooting the player
Here I added code to make the enemy able to fire its laser at the player. I made
it so that the laser moves straight towards where the player was when it
shoots.
Coding health/shield bar
This coding makes it so that a red shield bar is shown in the top left of the
screen.
Coding shield damage
This code makes it so the shield gets lower (damaged) when hit by an
enemy/laser.
Coding player destruction
This code changes the player ship into a different explosion animation when
the shield is lowered to 0 (around 4 hits from an enemy.
Coding point system
The code on the right puts a score up on the screen just below the shield bar.
The code on the left makes it so points can be gained.
Coding point gain when enemy is killed
This code adds 1 point to the score when an enemy is destroyed by the player.
Testing the game so far
The left screenshot shows the player being destroyed and the right screenshot
shows the shield bar and score in the top left.
Creating the second enemy sprite and laser
I made the second enemy look, move, and shoot differently than the first
enemy, to make them diverse. The second enemy is a yellow colour, but with a
black outline around it. Both enemies have an ‘eye’ on them, but this one’s eye
looks more like a real one. I changed the laser for the second enemy too.
Coding Enemy and Laser 2
I coded enemy 2 pretty much the same, but I made it so it shoots straight
ahead instead of at the player.
Creating player shield visual
I wanted to make the player feel like their ship has actually been hit by a laser,
so I added a second player frame to show a shield on the front of the ship and
coded it to only appear when an enemy laser hits the player.
Coding player and enemy collision (extra damage) and adding shield deflect
sound for enemy and enemy laser
I added a sound for when the player is hit that sounds like a shield deflecting a
shot. I also added code so that when the player and an enemy come into
contact with each other, the enemy blows up and the player takes extra
damage.
Adding music to play in the background
I added music to the game so that it would be more entertaining and make the
game feel more complete. Without the music the only sounds are laser shots
and explosions, which makes the game feel empty.
Testing the game (final version)
This is the ‘final’ version of the game (end of the tutorial videos). More
features such as a game over screen may be added in the future, but for now
this is it.

More Related Content

What's hot

Creating a serious game with the Unity 3D Game Engine and the importance of m...
Creating a serious game with the Unity 3D Game Engine and the importance of m...Creating a serious game with the Unity 3D Game Engine and the importance of m...
Creating a serious game with the Unity 3D Game Engine and the importance of m...danielandlubo
 
Introduction to Unity3D and Building your First Game
Introduction to Unity3D and Building your First GameIntroduction to Unity3D and Building your First Game
Introduction to Unity3D and Building your First GameSarah Sexton
 
Ig1 task 2 analysis work sheet 6
Ig1 task 2 analysis work sheet 6Ig1 task 2 analysis work sheet 6
Ig1 task 2 analysis work sheet 6Luke Summers
 
Ig1 task 2 analysis work sheet fire emblem
Ig1 task 2 analysis work sheet fire emblemIg1 task 2 analysis work sheet fire emblem
Ig1 task 2 analysis work sheet fire emblemAdambailey-eccles
 
3. research gaming
3. research gaming3. research gaming
3. research gamingLuke Ross
 
Unit 1 activity 3 game research
Unit 1 activity 3 game researchUnit 1 activity 3 game research
Unit 1 activity 3 game researchhaverstockmedia
 
Film Studies
Film StudiesFilm Studies
Film Studies_
 
Work Flow for 2D Game
Work Flow for 2D GameWork Flow for 2D Game
Work Flow for 2D Gamebowes96123
 
Level desighn workflow
Level desighn workflowLevel desighn workflow
Level desighn workflowKeatonBradley
 
Photoshop Express Identifive Video Game
Photoshop Express Identifive Video GamePhotoshop Express Identifive Video Game
Photoshop Express Identifive Video GameJennifer Stern
 
Game maker audio editing
Game maker audio editingGame maker audio editing
Game maker audio editingJordanSmith96
 
7 gate game design document
7 gate game design document 7 gate game design document
7 gate game design document ARshut Syabrin
 
Ig1 task 2 analysis work sheet21
Ig1 task 2 analysis work sheet21 Ig1 task 2 analysis work sheet21
Ig1 task 2 analysis work sheet21 Kieran Owens
 
Galactic Wars XNA Game
Galactic Wars XNA GameGalactic Wars XNA Game
Galactic Wars XNA GameSohil Gupta
 
Presentasi Seminar Unity (AMIKOM Game Dev)
Presentasi Seminar Unity (AMIKOM Game Dev)Presentasi Seminar Unity (AMIKOM Game Dev)
Presentasi Seminar Unity (AMIKOM Game Dev)Mas Bram
 
Game salad creator for windows manual 2012 11-01
Game salad creator for windows manual 2012 11-01Game salad creator for windows manual 2012 11-01
Game salad creator for windows manual 2012 11-01gabikovacs10
 

What's hot (20)

Workflow for my Task 2
Workflow for my Task 2Workflow for my Task 2
Workflow for my Task 2
 
Game design document
Game design document Game design document
Game design document
 
Creating a serious game with the Unity 3D Game Engine and the importance of m...
Creating a serious game with the Unity 3D Game Engine and the importance of m...Creating a serious game with the Unity 3D Game Engine and the importance of m...
Creating a serious game with the Unity 3D Game Engine and the importance of m...
 
Dead island 2
Dead island 2Dead island 2
Dead island 2
 
Introduction to Unity3D and Building your First Game
Introduction to Unity3D and Building your First GameIntroduction to Unity3D and Building your First Game
Introduction to Unity3D and Building your First Game
 
Ig1 task 2 analysis work sheet 6
Ig1 task 2 analysis work sheet 6Ig1 task 2 analysis work sheet 6
Ig1 task 2 analysis work sheet 6
 
Ig1 task 2 analysis work sheet fire emblem
Ig1 task 2 analysis work sheet fire emblemIg1 task 2 analysis work sheet fire emblem
Ig1 task 2 analysis work sheet fire emblem
 
3. research gaming
3. research gaming3. research gaming
3. research gaming
 
Unit 1 activity 3 game research
Unit 1 activity 3 game researchUnit 1 activity 3 game research
Unit 1 activity 3 game research
 
Film Studies
Film StudiesFilm Studies
Film Studies
 
Unity
UnityUnity
Unity
 
Work Flow for 2D Game
Work Flow for 2D GameWork Flow for 2D Game
Work Flow for 2D Game
 
Level desighn workflow
Level desighn workflowLevel desighn workflow
Level desighn workflow
 
Photoshop Express Identifive Video Game
Photoshop Express Identifive Video GamePhotoshop Express Identifive Video Game
Photoshop Express Identifive Video Game
 
Game maker audio editing
Game maker audio editingGame maker audio editing
Game maker audio editing
 
7 gate game design document
7 gate game design document 7 gate game design document
7 gate game design document
 
Ig1 task 2 analysis work sheet21
Ig1 task 2 analysis work sheet21 Ig1 task 2 analysis work sheet21
Ig1 task 2 analysis work sheet21
 
Galactic Wars XNA Game
Galactic Wars XNA GameGalactic Wars XNA Game
Galactic Wars XNA Game
 
Presentasi Seminar Unity (AMIKOM Game Dev)
Presentasi Seminar Unity (AMIKOM Game Dev)Presentasi Seminar Unity (AMIKOM Game Dev)
Presentasi Seminar Unity (AMIKOM Game Dev)
 
Game salad creator for windows manual 2012 11-01
Game salad creator for windows manual 2012 11-01Game salad creator for windows manual 2012 11-01
Game salad creator for windows manual 2012 11-01
 

Viewers also liked

Запчасти для мобильной электроники оптом для интернет-магазинов и сервисных ц...
Запчасти для мобильной электроники оптом для интернет-магазинов и сервисных ц...Запчасти для мобильной электроники оптом для интернет-магазинов и сервисных ц...
Запчасти для мобильной электроники оптом для интернет-магазинов и сервисных ц...Elena Makhneva
 
Princesas en peligro
Princesas en peligroPrincesas en peligro
Princesas en peligroMAELENAC801
 
Utilisation du modèle de coculture cellules endothéliales humaines/P. falcipa...
Utilisation du modèle de coculture cellules endothéliales humaines/P. falcipa...Utilisation du modèle de coculture cellules endothéliales humaines/P. falcipa...
Utilisation du modèle de coculture cellules endothéliales humaines/P. falcipa...Institut Pasteur de Madagascar
 
3회롯데아이디어
3회롯데아이디어3회롯데아이디어
3회롯데아이디어대원 김
 
Las Nuevas Princesas
Las Nuevas PrincesasLas Nuevas Princesas
Las Nuevas Princesasyairgallardo
 
제주관광안내 제주도싸게가는법
제주관광안내 제주도싸게가는법제주관광안내 제주도싸게가는법
제주관광안내 제주도싸게가는법hydkfuig
 
마감임박 두둥
마감임박 두둥마감임박 두둥
마감임박 두둥대원 김
 
34회제일기획
34회제일기획34회제일기획
34회제일기획대원 김
 
FreshInk-Highlights for Children
FreshInk-Highlights for ChildrenFreshInk-Highlights for Children
FreshInk-Highlights for ChildrenRFeldbush
 
Scrum - Aplicando Metodologias Ageis no Desenvolvimento de Software
Scrum - Aplicando Metodologias Ageis no Desenvolvimento de SoftwareScrum - Aplicando Metodologias Ageis no Desenvolvimento de Software
Scrum - Aplicando Metodologias Ageis no Desenvolvimento de SoftwareGuilherme Cardoso
 
Melhorando a qualidade do software com testes de ponta a-ponta
Melhorando a qualidade do software com testes de ponta a-pontaMelhorando a qualidade do software com testes de ponta a-ponta
Melhorando a qualidade do software com testes de ponta a-pontaGuilherme Cardoso
 
Produtividade para times de desenvolvimento com visual studio team services
Produtividade para times de desenvolvimento com visual studio team servicesProdutividade para times de desenvolvimento com visual studio team services
Produtividade para times de desenvolvimento com visual studio team servicesGuilherme Cardoso
 

Viewers also liked (16)

Запчасти для мобильной электроники оптом для интернет-магазинов и сервисных ц...
Запчасти для мобильной электроники оптом для интернет-магазинов и сервисных ц...Запчасти для мобильной электроники оптом для интернет-магазинов и сервисных ц...
Запчасти для мобильной электроники оптом для интернет-магазинов и сервисных ц...
 
Princesas en peligro
Princesas en peligroPrincesas en peligro
Princesas en peligro
 
Doc1
Doc1Doc1
Doc1
 
Utilisation du modèle de coculture cellules endothéliales humaines/P. falcipa...
Utilisation du modèle de coculture cellules endothéliales humaines/P. falcipa...Utilisation du modèle de coculture cellules endothéliales humaines/P. falcipa...
Utilisation du modèle de coculture cellules endothéliales humaines/P. falcipa...
 
3회롯데아이디어
3회롯데아이디어3회롯데아이디어
3회롯데아이디어
 
Las Nuevas Princesas
Las Nuevas PrincesasLas Nuevas Princesas
Las Nuevas Princesas
 
제주관광안내 제주도싸게가는법
제주관광안내 제주도싸게가는법제주관광안내 제주도싸게가는법
제주관광안내 제주도싸게가는법
 
gregg updated
gregg updatedgregg updated
gregg updated
 
3d mmorpg vindictus b
3d mmorpg vindictus b3d mmorpg vindictus b
3d mmorpg vindictus b
 
마감임박 두둥
마감임박 두둥마감임박 두둥
마감임박 두둥
 
34회제일기획
34회제일기획34회제일기획
34회제일기획
 
FreshInk-Highlights for Children
FreshInk-Highlights for ChildrenFreshInk-Highlights for Children
FreshInk-Highlights for Children
 
Scrum - Aplicando Metodologias Ageis no Desenvolvimento de Software
Scrum - Aplicando Metodologias Ageis no Desenvolvimento de SoftwareScrum - Aplicando Metodologias Ageis no Desenvolvimento de Software
Scrum - Aplicando Metodologias Ageis no Desenvolvimento de Software
 
Melhorando a qualidade do software com testes de ponta a-ponta
Melhorando a qualidade do software com testes de ponta a-pontaMelhorando a qualidade do software com testes de ponta a-ponta
Melhorando a qualidade do software com testes de ponta a-ponta
 
Produtividade para times de desenvolvimento com visual studio team services
Produtividade para times de desenvolvimento com visual studio team servicesProdutividade para times de desenvolvimento com visual studio team services
Produtividade para times de desenvolvimento com visual studio team services
 
Podemos comenzar
Podemos comenzarPodemos comenzar
Podemos comenzar
 

Similar to Cameron McRae - 2D Game Workflow

Y1 gd level_designworkflow
Y1 gd level_designworkflowY1 gd level_designworkflow
Y1 gd level_designworkflowNeilRogero
 
My Level Design For 2D Scroll Game By Arron Coakley
My Level Design For 2D Scroll Game By Arron CoakleyMy Level Design For 2D Scroll Game By Arron Coakley
My Level Design For 2D Scroll Game By Arron CoakleyArron96
 
The purpose and functions of components of game engines
The purpose and functions of components of game enginesThe purpose and functions of components of game engines
The purpose and functions of components of game enginesJoshCollege
 
My Level Design For 2D Scroll Game
My Level Design For 2D Scroll GameMy Level Design For 2D Scroll Game
My Level Design For 2D Scroll GameArron96
 
Task two workflow by tom crook
Task two workflow by tom crookTask two workflow by tom crook
Task two workflow by tom crookTomCrook
 
Documenting game (recovered)2
Documenting game (recovered)2Documenting game (recovered)2
Documenting game (recovered)2BenWhite101
 
Documenting game (recovered)2
Documenting game (recovered)2Documenting game (recovered)2
Documenting game (recovered)2BenWhite101
 
2D game work flow
2D game work flow2D game work flow
2D game work flowAidenKelly
 
Harry johnson 2d work flow task 2 screen shots
Harry johnson 2d work flow task 2 screen shotsHarry johnson 2d work flow task 2 screen shots
Harry johnson 2d work flow task 2 screen shots11275449
 
5. pre production fmp l3
5. pre production fmp l35. pre production fmp l3
5. pre production fmp l3greenj1123
 
5. pre production fmp l3
5. pre production fmp l35. pre production fmp l3
5. pre production fmp l3greenj1123
 
Unit 13 graphic style by fateha begum
Unit 13  graphic style by fateha begumUnit 13  graphic style by fateha begum
Unit 13 graphic style by fateha begumhaverstockmedia
 

Similar to Cameron McRae - 2D Game Workflow (20)

Game maker workflow
Game maker workflow Game maker workflow
Game maker workflow
 
Y1 gd level_designworkflow
Y1 gd level_designworkflowY1 gd level_designworkflow
Y1 gd level_designworkflow
 
Gamemaker work flow
Gamemaker work flowGamemaker work flow
Gamemaker work flow
 
Gamemaker work flow
Gamemaker work flowGamemaker work flow
Gamemaker work flow
 
My Level Design For 2D Scroll Game By Arron Coakley
My Level Design For 2D Scroll Game By Arron CoakleyMy Level Design For 2D Scroll Game By Arron Coakley
My Level Design For 2D Scroll Game By Arron Coakley
 
Workflow
WorkflowWorkflow
Workflow
 
The purpose and functions of components of game engines
The purpose and functions of components of game enginesThe purpose and functions of components of game engines
The purpose and functions of components of game engines
 
2dworkflow complete
2dworkflow complete2dworkflow complete
2dworkflow complete
 
Evaluation fmp
Evaluation   fmpEvaluation   fmp
Evaluation fmp
 
My Level Design For 2D Scroll Game
My Level Design For 2D Scroll GameMy Level Design For 2D Scroll Game
My Level Design For 2D Scroll Game
 
Task two workflow by tom crook
Task two workflow by tom crookTask two workflow by tom crook
Task two workflow by tom crook
 
Work flow
Work flowWork flow
Work flow
 
Documenting game (recovered)2
Documenting game (recovered)2Documenting game (recovered)2
Documenting game (recovered)2
 
Documenting game (recovered)2
Documenting game (recovered)2Documenting game (recovered)2
Documenting game (recovered)2
 
2D game work flow
2D game work flow2D game work flow
2D game work flow
 
Harry johnson 2d work flow task 2 screen shots
Harry johnson 2d work flow task 2 screen shotsHarry johnson 2d work flow task 2 screen shots
Harry johnson 2d work flow task 2 screen shots
 
5. pre production fmp l3
5. pre production fmp l35. pre production fmp l3
5. pre production fmp l3
 
5. pre production fmp l3
5. pre production fmp l35. pre production fmp l3
5. pre production fmp l3
 
Workflow
WorkflowWorkflow
Workflow
 
Unit 13 graphic style by fateha begum
Unit 13  graphic style by fateha begumUnit 13  graphic style by fateha begum
Unit 13 graphic style by fateha begum
 

More from CameronMcRae901

More from CameronMcRae901 (20)

Ha7and ha8 submission_declaration
Ha7and ha8 submission_declarationHa7and ha8 submission_declaration
Ha7and ha8 submission_declaration
 
Je ha3 ha4 submission form
Je  ha3 ha4 submission formJe  ha3 ha4 submission form
Je ha3 ha4 submission form
 
Games y1 ap3 2015
Games y1 ap3 2015Games y1 ap3 2015
Games y1 ap3 2015
 
7274 submission form
7274 submission form7274 submission form
7274 submission form
 
Cameron mcrae y1 games ig2_learner assessment submission declaration
Cameron mcrae y1 games ig2_learner assessment submission declarationCameron mcrae y1 games ig2_learner assessment submission declaration
Cameron mcrae y1 games ig2_learner assessment submission declaration
 
Explosion3 annotations
Explosion3 annotationsExplosion3 annotations
Explosion3 annotations
 
Beam1 annotations
Beam1 annotationsBeam1 annotations
Beam1 annotations
 
Sound recording glossary improved 3
Sound recording glossary improved 3Sound recording glossary improved 3
Sound recording glossary improved 3
 
Presentation script
Presentation scriptPresentation script
Presentation script
 
Task 7 c annotations
Task 7 c annotationsTask 7 c annotations
Task 7 c annotations
 
Vst effect 2
Vst effect 2Vst effect 2
Vst effect 2
 
Vst effect
Vst effectVst effect
Vst effect
 
Sound recording glossary improved
Sound recording glossary improvedSound recording glossary improved
Sound recording glossary improved
 
Sound recording glossary
Sound recording glossarySound recording glossary
Sound recording glossary
 
Sound recording glossary improved 2
Sound recording glossary   improved 2Sound recording glossary   improved 2
Sound recording glossary improved 2
 
Sound recording glossary improved
Sound recording glossary   improvedSound recording glossary   improved
Sound recording glossary improved
 
Mood board
Mood boardMood board
Mood board
 
Mood board
Mood boardMood board
Mood board
 
Robot companion
Robot companionRobot companion
Robot companion
 
Task 7 d annotations
Task 7 d annotationsTask 7 d annotations
Task 7 d annotations
 

Recently uploaded

Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 

Recently uploaded (20)

Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 

Cameron McRae - 2D Game Workflow

  • 1. 2D Game Workflow Player 1 sprite This is the player sprite. I made the main colour of the ship white so that it would stand out in the black space background. The blue ‘arms’ near the front were supposed to be the weapons, but are difficult to see during gameplay. I also had 2 engines at the back but the particle system was coded to be in between them. I kept it that way because it looked fine during gameplay.
  • 2. Coding keyboard controls I chose the W, A, S and D keys for moving the player because they are the standard movement controls for PC games.
  • 3. Level limit coding I created a level limit, so that the player is always within the room and can’t fly offscreen. Background designing I made a black background to be space, and all of the white dots are distant stars. It made the background like this to suit the rest of the game.
  • 4. I also have a second background of only white dots that move at a different speed than the first one, so that the game has a better effect of movement. Jet sprite and coding particle system I created the particle system to make the ship look more alive, and not just an image sliding around on the screen. I coded it so the jet sprite appears at the back of the ship, then gets smaller as it moves away, and then repeat. Testing the game so far This screenshot shows the earliest version of my game. It only includes the background, the player ship and its particle system.
  • 5. Creating the player laser sprite The player laser is green because I wanted it to really stand out from everything else on the screen, and to add a sort of toxic/acid feel to it. Coding player projectile movement and removing once off the screen I made it so that the player laser is removed from the game once it leaves the screen. This is because if I didn’t do that, and enough lasers continue to exist, it may eventually crash the game.
  • 6. Adding code to make the player able to fire the projectile I added code so that the player laser can actually be fired. I decided to make the ‘enter’ button into the fire button. Adding a projectile sound and adding code to have it play when a projectile is fired. I added a sound to the player laser so that the player feels like they are actually shooting lasers out of their ship.
  • 7. Creating an enemy sprite I decided to make the first enemy a dark grey, but that made it difficult to see it because of the dark background. I made the ‘eye’ red, and added a red glow surrounding the enemy so it is easier to see, and looks more evil. Coding enemy spawn and formation I made it so that enemy 1 spawns in groups of 3 in a specific formation, but at different parts of the y axis. This makes the enemy seem more like an organised force against the player, but also makes the gameplay easier.
  • 8. Creating enemy explosions I chose to have some of the explosion to be green because the player laser is green, and thought it would look better during gameplay. Coding enemy explosion This is the coding for the enemy to turn into the explosion when hit by the player laser. Ingame it looks like the enemy has actually blown up.
  • 9. Testing the game so far (screenshot taken from a later version where the enemy can shoot) This screenshot shows the player laser being fired (near the middle of the screen) and an enemy blowing up from being hit. The lasers near the player are from a later version of the game. Creating enemy laser I made the enemy laser as a glowing orb of energy that moves towards the player. I chose to make the lasers round to match the shape of the enemy that shoots them. Coding enemy shooting the player Here I added code to make the enemy able to fire its laser at the player. I made it so that the laser moves straight towards where the player was when it shoots.
  • 10. Coding health/shield bar This coding makes it so that a red shield bar is shown in the top left of the screen. Coding shield damage This code makes it so the shield gets lower (damaged) when hit by an enemy/laser. Coding player destruction This code changes the player ship into a different explosion animation when the shield is lowered to 0 (around 4 hits from an enemy.
  • 11. Coding point system The code on the right puts a score up on the screen just below the shield bar. The code on the left makes it so points can be gained. Coding point gain when enemy is killed This code adds 1 point to the score when an enemy is destroyed by the player. Testing the game so far The left screenshot shows the player being destroyed and the right screenshot shows the shield bar and score in the top left.
  • 12. Creating the second enemy sprite and laser I made the second enemy look, move, and shoot differently than the first enemy, to make them diverse. The second enemy is a yellow colour, but with a black outline around it. Both enemies have an ‘eye’ on them, but this one’s eye looks more like a real one. I changed the laser for the second enemy too. Coding Enemy and Laser 2 I coded enemy 2 pretty much the same, but I made it so it shoots straight ahead instead of at the player.
  • 13. Creating player shield visual I wanted to make the player feel like their ship has actually been hit by a laser, so I added a second player frame to show a shield on the front of the ship and coded it to only appear when an enemy laser hits the player. Coding player and enemy collision (extra damage) and adding shield deflect sound for enemy and enemy laser I added a sound for when the player is hit that sounds like a shield deflecting a shot. I also added code so that when the player and an enemy come into contact with each other, the enemy blows up and the player takes extra damage.
  • 14. Adding music to play in the background I added music to the game so that it would be more entertaining and make the game feel more complete. Without the music the only sounds are laser shots and explosions, which makes the game feel empty. Testing the game (final version) This is the ‘final’ version of the game (end of the tutorial videos). More features such as a game over screen may be added in the future, but for now this is it.