Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions mxlh39/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
**Asteroid Field**

*Based on "Meteoroids" by Katsumi Shibata
http://www.openprocessing.org/sketch/537362

Licensed under Creative Commons Attribution ShareAlike
https://creativecommons.org/licenses/by-sa/3.0
https://creativecommons.org/licenses/GPL/2.0/*

Program has been changed from a rigid game to a more open and flexible asteroid field simulator - changes made were:

* Solid walls added with frictioned collisions
* Trail length is now controllable by way of a slider
* Cursor gravity is now controllable by way of a slider
* The cursor increases in size on collision with asteroids
* The cursor changes color on collision with asteroids, becoming the color of said asteroid
* Field size can be freely altered in the code with no ill effects
* Cursor gravity is dependent on the cursor being in the field
* Asteroids can be added by left clicking
* The initial and maximum number of asteroids can be altered in the code
* Code has been completely rewritten into a class-based approach still utilising p5.js
Binary file added mxlh39/mxlh39.zip
Binary file not shown.
Binary file added mxlh39/mxlh39original.zip
Binary file not shown.