Deployed Site: https://space-invaderz-ultra-wyne.netlify.app/
To create a 2D Space Invaders game with powerups, increasingly difficult enemies, a scoring system, amazing soundtrack and just overall fun to play. The game is at its base version at the moment.
- Class & Object heavy project: using object functions and meshing that in with the overall game animation functions
- Basic 2D Game Development
- Canvas functions
- Geometry: Projectile and Sprite collisions, collision detection
- Overall usage of programming fundamentals
Basics:
- Poject Setup
- Create a Player
- Allow the Player to move
- Create Projectiles
- Create an Invader
- Create and move grids of invaders
- Spawn grids at intervals
- Allow invaders to shoot back
- Enemy explosions
- Create background
- Create lose conditions
- Score functionality
- Fixed-width for the canvas
Features:
- Dynamic score labels
- Bombs
- Machine gun power-up
- Progressively harder enemies/levels
- Spaceship sprite animation
- Start and Game Over UI
- Sound effects and Music
- Visual Studio Code - The IDE used to code the website.
You can fork the repository through the following steps. Forking the repository means you will have a copy of the repository and any changes you make will not affect the original repository.
- Log in to GitHub and locate the GitHub Repository. Here is a link for the repository
- At the top of the Repository (not top of page) just above the "Settings" Button on the menu. Looking towards the right of the page. Locate the button "Fork" then click
- You should now have a copy of the original repository in your GitHub account
This is used when you would like to make changes to the project code
- Should you wish to use a different IDE like VSCode. You first log in to Github and locate the required repository. Here is the link for this repository
- Open a new terminal on Git Bash
- Type
git clone
, and then paste the URL you copied
git clone https://github.com/wyne-ybanez/Space-InvaderZ.git
Here is a link that can explain this process further. Click Here
- You can just run
index.html
on your browser.
Project is deployed on Netlify.
- Spaceships goes off map sometimes
Special thanks to these content creators for their free content.
- GameSupplyGuy for "200+ Space Sound Effects (Various Futuristic SFX)"
- Cwupcwake for "Basic game 8bit game sound"
- Goose Ninja for "Space Music Pack"
- Eclipzodiac for "RPG Battle music - RPG Maker Mix V1.25"
- Mobile responsiveness with touch screen functions
- Boss Battles
- Log player scores in local storage or in a JSON database
- Display last score earned
- Additional power ups
- Level System
-
Special Thanks to Christopher Lis for his tutorial on how to create this game and to develop it further.
-
Thanks to friends and family for playing this game and testing it out for me.