Giter Club home page Giter Club logo

pewpew's People

Contributors

brycekrah avatar ellun avatar

Watchers

 avatar

pewpew's Issues

Bullet Animation

Bullets fired currently remain inline with the fire sourced.

If fired, the bullet should stay in it's horizontal course without shifting up and down with the source that fired it.

Bullet Display

Bullets reset at the same time interval.

This needs to be adjusted to where each bullet has it's own lifespan.

Example
Bullet 1 is fired and will disappear in 1 second.
If bullet 2 is fired within this first second, it will disappear at the same time as bullet one.
Bullet 2 should disappear after 1 second of it's initial firing.

Game Reset

On new game after gameover the background does not reset correctly.

Nav Bar Design and Style

Improve the Nav bar css to better display score, lives, and health.

A better visual representation of health should be added.

Collision Detection

Issue Location: Line 203 - Line 224 of my Check() function.
At the start of my game I generate 10 enemies. Each enemy is assigned an id of ('enemy' + i) upon creation. Thus I receive enemy1 through enemy10. Currently my Check function detects if there has been a collision between bullets fired and enemy ships. For a test, I have my code console.log('hey') upon collision. This works for a handful of the enemies generated, but for the remaining enemies I receive the an error message of "Uncaught TypeError: Cannot read property 'id' of undefined."

I think it is either ID related or type related. The ships are assigned random type values upon generation. I think it is one of these two because different ships are effected each game.

Concurrent Keydown Events

Players are currently unable to fire multiple keystrokes at the same time.

New keystrokes will override previous ones.

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.