Git Product home page Git Product logo

faculty-invader's People

Contributors

kenny-designs avatar

Watchers

 avatar  avatar

faculty-invader's Issues

more faculty

Right now, only Thurm feels the burn. Add in a few more.

Player Class

Get a working implementation of the player class.

game win

if the player beats all the invaders, restart the game with a persistent score

game over

When the player dies, give a game over screen.

Translate Code

We are working off of a version of Space Invaders written in Phaser 2. Sadly, it is wholly incompatible with Phaser 3. As such, the first big milestone of this project is to successfully take this given code and redo it for Phaser 3.

asset flip

One last quick asset flip. Replace the faculty pictures with something else and instead of gross throwing the snakes make it a student.

Flip Assets

Game assets are currently loaded in the src/index.js file within the preload() method (this is where Phaser recommends we load our assets in). We also import image files at the top of index.js for loading within the preload() method (albeit in the future we should try for something a bit cleaner and more dynamic).

Simply replace the paths for the old game assets to the new ones. You may have to tweak the size of the new assets to match the original ones or else they may be too big. You can also see about scaling the images down with Phaser itself.

Currently, there are two animations in the game. The explode animation and the fly animation. Those may give you some trouble to replace since they aren't static pictures so be forewarned. I'm certain it won't be too difficult though!

Enemy Movement

Enemies needs to move from side to side and slowly approach the player just as they did in the original game. Once they reach the bottom of the screen, it's game over!

Add Graphics

Graphics added a few new assets. I'm going to quickly add those in.

Bullet Manager

It might be useful to create a system for handling firing projectiles since both the player and enemies fire.

Game Scene

Currently, the game has only a single scene and that's the main game. In the bare minimum, there should be a scene for the game and a title screen that are themselves classes that extend from Phaser's scene class.

Enemy Manager

Create a class to handle controlling a group of enemies.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.