Skip to content

Scalable 2d ball movement, with random origins, velocity, directions and colors.

Notifications You must be signed in to change notification settings

A-Altemara/FinalMovingBalls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Moving Balls Project

Description:

Currently Balls can be added in index.js file by changing number in for loop and colors and position will be randomly generated.

Instalation:

Code can be copied and pasted into any existing JS code base.

Usage:

Amusement for now.

Support:

Airiel.Altemara@gmail.com

Roadmap: Future Implemenation:

  • Containment box location and styling
  • User entered ball generation
  • Button to toggle color on collision
  • Button to toggle gravity
  • Button to toggle inter-ball collision
  • Ablility to move box containing balls around and maintain collision with walls

Blog for further info on collision

- https://spicyyoghurt.com/tutorials/html5-javascript-game-development/collision-detection-physics

MIT License

Copyright (c) 2023 Airiel Altemara

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Scalable 2d ball movement, with random origins, velocity, directions and colors.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published