Skip to content

rh5140/174a-beyblades

Repository files navigation

Team 15: Rayblades

Intro:

Two beyblades start on a rocky arena, rotating around their axis and the center of the arena. The beyblades will collide into each other, causing them to move in different directions until one of them falls off. Source code can be found in assignment2.js

Instructions:

The easiest way to access the project is here: https://rh5140.github.io/174a-beyblades/.

To set up the project, run server.py on the command line with python and navigate to localhost:8000. Alternatively open the project in Webstorm and run index.html. Use WASD to move the camera. Press R to reset the beyblades. Press J to make one of the beyblades jump. Press U I K L < > to control the color of the jumping beyblade.

Details

The main function for the project is the beyblades.update() function, which determines where the beyblades will be rendered in each frame. Within it are calculations for handling collisions, out of bounds detection, and gravity when the beyblades jump.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages