Git Product home page Git Product logo

aframe-sprint's Introduction

slides for history of VR / Intro to Aframe: https://docs.google.com/presentation/d/1TFNlNaAAq9XQAkSzMjsUq_neW1CVovD9rkFAik59HVI/edit?usp=sharing

slides for advanced Aframe / React integration: https://docs.google.com/presentation/d/1W_QRLqOEDKKe1yUQBKYuLdpWnmBLBhWVF7EabXXi56M/edit?usp=sharing

First Steps:

  1. fork this repo to your github account
  2. clone down the repo
  3. ensure that you have Node installed on your machine
  4. open a terminal in the project directory and run the following commands:

npm install

npm start

The bundle will be created and served. A browser window should open, if not open one and direct it to localhost:3000

Edit the source code files in your favorite text editor or IDE to complete as many of the following milestones as possible within the time-limit:

Minimum Viable Product:

  1. Implement the spawnEntities method of the App component
  2. Implement event listeners in the App component
  3. Complete the lock-on-source and lock-on-target components to allow the player to target and destroy enemy entities
  4. Complete the fly-away component to cause entities to fly out of the scene if they are not destroyed in time
  5. Complete the missile-launcher component to give dangerous enemies the ability to shoot missiles at the player
  6. Have the player lose a life when hit by a missile
  7. End the game when the player runs out of lives

Full Basic Functionality:

  1. Display a meter showing the number of remaining lives
  2. Change the view at the end of the game to display a "game over" message and a reset button
  3. Keep track of the score and show a UI notification when it changes
  4. Show an explosion when a missile hits the player and when the player destroys a target
  5. Limit the number of targets that can be locked onto at once

Advanced Content:

  1. Load in 3D models for the player and targets instead simple sphere primitives
  2. Add sound effects
  3. Implement new enemy and friendly types - perhaps an armored enemy that needs to be hit more than once to be destroyed, or a rapid-fire enemy that launches missiles at a faster rate
  4. Add powerups that enemies and friendlies drop -- they could be extra lives, or a bigger cursor, or a bomb that will destroy anything on screen. Enemies could drop powerups when they are destroyed and friendlies could drop them when they fly away
  5. Create different difficulty modes, or have the difficulty progressively increase with time
  6. Create a "flight-path" component that causes entities to move along a designated path before flying away
  7. Modify the spawnEntities() function in the utils directory to spawn groups of entities laid out in formation rather than one at a time
  8. Prevent entities from spawning in a position that is blocked by the player
  9. Prevent the application from generating new entities when the window is not active (currently A-Frame pauses but React does not)
  10. Build a back end to keep track of high-scores, user accounts, and leader boards

This workshop is a work in progress, so if you find an optimization or implement a cool new feature, feel free to send a pull request and maybe your code will make it into the next iteration!

This project was bootstrapped with Create React App.

If you wish to change any of the configure files (webpack, etc), run the following command:

npm run eject

Please note that this action cannot be undone and is not necessary to complete the basic steps of this assignment.

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.