ScratchData LogoScratchData
Back to benfire811's profile

Circle Collisions

BEbenfire811•Created February 27, 2017
Circle Collisions
1870
1279
45476 views
View on Scratch

Instructions

Just a circle physics simulator. Mouse to the top of the screen to: -See the FPS -Adjust the rounding(accuracy) -When you increase the accuracy you may have to restart the project to notice an effect. -Add or subtract balls -Toggle reduced lag mode -Inside the project you can use the CreateCircle function to spawn a circle with values you set. The values you can set include: 1.X Position 2.Y Position 3.X Velocity 4.Y Velocity 5.Spin Direction 6.Mass 7.Radius 8.Color 9.Updated(still to be implemented, set to false always) 10.Spin Speed

Description

Wow... featured... :) makes me so happy! Was thinking of using this to make pool and bowling sims/games. Cloud Multiplayer Pool sim here!: https://scratch.mit.edu/projects/147822165/ Thank you so much to @daCypher for figuring out the reason for the lag, I have now fixed the project using @daCypher ’s logic. Feel free to ask for (explanations/help using this project) in the comments :) Please report any bugs that are NOT listed below (they de-shine the balls). 100% Pen ===================================================== Friction is implemented(not fully), but you will have to adjust it in the project and increase the accuracy to at least 2. Spin direction and wall friction are also implemented, again you will have to change them in the project and increase the accuracy to at least 2. The bounding box can be adjusted within the project by changing the: BounceInBox()()()() numbers. The lower left coordinates of the box are the first inputs. The energy in the project is NOT constant if the accuracy is too low.

Project Details

Project ID147466773
CreatedFebruary 27, 2017
Last ModifiedMarch 6, 2017
SharedMarch 1, 2017
Visibilityvisible
CommentsAllowed