All Projects → Stricks1 → shooterGame

Stricks1 / shooterGame

Licence: other
This project is about a platform/shooter game created with Phaser JS to learn the basic structure of Phaser

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to shooterGame

MedievalWar
A simple turn-based strategy game using Phaser 3
Stars: ✭ 22 (+69.23%)
Mutual labels:  phaser3
phaser3-webpack-es6-dev-starter
Development set up for Phaser 3, Webpack, and ES6.
Stars: ✭ 44 (+238.46%)
Mutual labels:  phaser3
genie
BBC Genie Games Framework
Stars: ✭ 23 (+76.92%)
Mutual labels:  phaser3
template
使用 phaser3 + es6 + webpack4.8.1 配置开发游戏(基本模版)
Stars: ✭ 12 (-7.69%)
Mutual labels:  phaser3
marthas rescue shooter game
This is a shooter game featuring Martha, a battle aircraft pilot who's trying to rescue her father. In this app, you will be able to help her by shooting and destroying the enemy's aircraft. Built with Javascript and Phaser 3.
Stars: ✭ 31 (+138.46%)
Mutual labels:  phaser3
phaser-parcel
A Phaser 3 game template using Parcel bundler
Stars: ✭ 64 (+392.31%)
Mutual labels:  phaser3
phaser-jam-template
A Phaser Template to kick off your Game Jam with everything you need. Typescript, code quality, building for itch, various input methods, examples, bootloader, preloader, main game, end screen, credits screen and license screen.
Stars: ✭ 18 (+38.46%)
Mutual labels:  phaser3
phaser3-faq
A guide to Phaser 3
Stars: ✭ 69 (+430.77%)
Mutual labels:  phaser3
phaser3-rollup-typescript
Phaser 3 TypeScript Starter
Stars: ✭ 129 (+892.31%)
Mutual labels:  phaser3
starfall-phaser3-typescript
A tiny game written on Phaser 3 on Typescript
Stars: ✭ 52 (+300%)
Mutual labels:  phaser3
ionic4-phaser3-template
Ionic 4 and phaser 3 template
Stars: ✭ 19 (+46.15%)
Mutual labels:  phaser3
phaser-3-palette-swapping-example
Example of using palette swapping on a spritesheet in Phaser 3.
Stars: ✭ 32 (+146.15%)
Mutual labels:  phaser3
Platform-game
I built a platform game, Grab Fruits!, with Phaser library. A player is expected to collect as many fruits as possible without touching spiders.
Stars: ✭ 26 (+100%)
Mutual labels:  phaser3
realtime-multiplayer-space-invaders
Realtime Multiplayer Space Invaders Game with Phaser 3 and Ably
Stars: ✭ 42 (+223.08%)
Mutual labels:  phaser3
phaser3-typescript-starter-kit
This repository contains the code necessary to start making a game in Phaser 3 using TypeScript.
Stars: ✭ 94 (+623.08%)
Mutual labels:  phaser3
phaser3-planck
Implement planck.js physics in Phaser3
Stars: ✭ 18 (+38.46%)
Mutual labels:  phaser3
genie-starter-pack
This is the Starter Pack for Genie games. Containing everything a games developer might need to start building a game using the Genie framework. Every game should be forked into a new repository from this repo.
Stars: ✭ 15 (+15.38%)
Mutual labels:  phaser3
infinite-jumper-template-phaser3
Starting point template source code from Infinite Jumper in Phaser 3 in Modern JavaScript book.
Stars: ✭ 46 (+253.85%)
Mutual labels:  phaser3
space-commit
The game where contributors become literal heroes! 🏆 Winner of the GitHub Actions Hackathon 2021
Stars: ✭ 37 (+184.62%)
Mutual labels:  phaser3
Opensc2k
OpenSC2K - An Open Source remake of Sim City 2000 by Maxis
Stars: ✭ 4,753 (+36461.54%)
Mutual labels:  phaser3

Contributors Forks Stargazers Issues

Shooter Game Pacific Treasures

This game was build using Phaser 3 to learn his functionalities

Table of Contents

Installation

  • You can get a local copy of the repository please run the following commands on your terminal:
$ cd <folder>
$ git clone [email protected]:Stricks1/shooterGame.git
  • Open your terminal and go for the folder you copied
  • Run the command 'npm run-script start' and it will build and open the game at your browser

Alternatively you can play online on the Live Demo

Game Design Document

Game Concept

On this game, you are Bob the octopus, and you are in a quest to find a treasure in the 16-bit layout deep sea. You need to face some sea creatures in order to achieve your goal, and you can kill the creatures by shooting ink from our hero and interact with levers on the scenario to open paths. You have a limited time to complete the quest.

screenshoot

How to play

  • To move our character you should use the left and right arrow keys on your keyboard.
  • You can jump with the up arrow key, you can do one extra jump while on air performing a 'double jump'.
  • To shoot an 'ink bullet' you should press the space key on your keyboard.

Bob the hero

bob

  • This is our hero, he dies if hit by any enemy.

Enemies

dolphin

  • The Dolphin is our basic enemy. Moves left/right and dies after being hit once by our shoot.

jelly

  • The Jelly is a simple enemy that moves up/down and dies on 1 hit.

whale

  • The Whale moves left/right. To kill the whale you need to hit 3 times.

seahorse

  • The Sea Horse is an aggressive enemy. Moves left/right and shoot a bubble that can kill our hero, be careful! Dies after being hit once

agrofish

  • This fish is also an aggressive enemy. Moves left/right and shoot a bold that can kill our hero. To kill it you need to hit twice.

Interactive Scenario

chest

  • Our goal is to reach the chest, as soon as we got it we finish our quest. You get 250 points and the seconds you had left on the clock are then converted into points (Each second worth 5 points at the end).

lever

  • At some points, you will face a wall of seaweed. In order to open that wall, you need to activate the lever. You can do it by touching or shooting it.

Video Presentation

Loom video apresentation

Demo

Live Demo

Planification

  • Day 1: My objective was to learn how to use Phaser to work efficiently when starting developing and to learn how to deploy a Phaser project on Heroku. I searched for some tutorials and Templates that I could use, and how to use a Parallax background. Looked up for some basic game assets in order to create something deployable and did some tutorials on deploying with Heroku. By the end of this day, I was able to understand how to use Phaser, and to deploy on Heroku.

  • Day 2: My objective on this day was to create the whole concept and idea for the game and have a version deployable with the character and some enemies. I decided to make the game a character quest for a chest. Designed the idea for different enemies and interactions. Searched for some more assets and music. At the end of this day, I had the full idea of the game and a version with the hero and some enemies to deploy on Heroku.

  • Day 3: My objective was to complete the main scene itself and start to design the title, instructions and leaderboard scenes. On this day I mostly did the development, created the whole scenario, added all the platforms, enemies, walls, and levers. I refined the scoring system to give points for the remaining time when the player gets to the chest and worked to make it already a playable main scene. Started the design on the side scenes (title, instructions, and leaderboard), and started creating the API to access the Scores.

  • Day 4: My objective here was to make the API working and to refine my main scenario, adding some extra animations and decorative objects to make the game looks nicer. This day I was able to achieve those objectives and also to make some changes on the template for activating/deactiving the sounds and background music to give a better touch.

  • Day 5: My objective was to create the tests on Jest and to write the README file. I followed some tutorials about creating mockup Phaser elements in order to create the tests and wrote all the README. Also did some fixes on some assets and I created the images needed for the documents.

Future Implementations

  • I plan to add more stages for the game
  • I will add some more images for the background (already added some interesting pngs on the assets to be used on improvements).
  • Add more enemies with different behavior.

Built With

  • Javascript
  • HTML
  • Phaser 3
  • Webpack
  • Jest
  • Leaderboard API

Testing

  • Test made with Jest.

You can run test running npm test on console at the folder

Templates

  • To create the game I used 2 different templates that helped improve the project. They are the basic template for Phaser 3 you can find here created by Richard Davey. Another template I used that implemented some help functionalities to render and align my characters from William Clarkson.

Design Credits

  • The background used is from free assets on itch io
  • Most sea creatures are also from free assets you can find it here
  • The main character octopus is a twitch mascot from hicelina the original art creator is Michael Perez.

Contributing

Contributions, issues and feature requests are welcome!

You can do it on issues page.

Acknowledgments

Special thanks to code reviewers.

Show your support

Give a ⭐️ if you like this project!

Author

👤 Gabriel Malheiros Silveira

License

Creative Commons 2020

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].