GithubHelp home page GithubHelp logo

slappy-test's Introduction

Asteroids

Project description:

The player is a little rocket ship. He can fire bullets.

The player is either

  • restricted to the screen space area, or
  • gets teleported to the other side if he goes out of bounds.

Astroids spawn randomly at the edge of the screen and move around.

Enemies spawn occasionally at the edge and go towards the player.

Both asteroids and enemies can be shot.

This project was made reality by using the following library:

slappy-test's People

Contributors

lionkor avatar sla-ppy avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

slappy-test's Issues

Player: Basic movement

Just casual WASD - UpLeftDownRight for now, because I dont immidately have an idea how rotation, throttle and thrust should be handled.

Throttle should be not stopping the player, but continously slowing down until speed reaches zero.

Thrust has to have a limit otherwise the ship will become FUN which we clearly dont want here.

Player: Collision basics

Just declaring since we cant check yet if it will work or not, we can only assume. (reason being is cuz we dont have skybox)

Player: Rotation

Left - Right -> rotation

Somehow the player object has to update with this.
I am not sure how we should solve this actually.

Skybox: A-B-C-D corners,

Make it display maybe, just until we are making it so we can see it, maybe make it 1-5 pixels less than the resolution so we can see the borders as well until we are making it?

Player: Firing mechanicsm

Continous vector with a loop? Would be cool to do with a straight line that would "delete itself" moving forward, this way we could use the vector later on as a "crosshair / aiming mechanic" maybe upgrade? that would be cool.

LINKED LIST!

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.