ScratchData LogoScratchData
Back to MoonRocketBoyScriptz's profile

Orbit Simulator but the object is a black hole and WAIT WHAT THE OBJECTS ARE GONE

MOMoonRocketBoyScriptz•Created June 3, 2022
Orbit Simulator but the object is a black hole and WAIT WHAT THE OBJECTS ARE GONE
0
0
6 views
View on Scratch

Instructions

Just a bit of Math Fun! This is the first time I have been able to successfully create a program that can calculate/simulate gravity. I have an idea for a project that will use similar physics... Just wait and you'll see! Controls: [Arrow Keys] [Mouse] Move Around Space! Click and Hold to make a planet/moon! Ask any questions about this project in the comments below! Things To Do: 1. I fixed the Slingshotting bug, where objects despawn if it is too close to the middle. But I think I should add something where if it gets pretty close and the gravity is too high, it actually lowers it, which would make it less realistic, but it would prevent chaos because in real life, objects would be much bigger than each other and would be farther apart, meaning that gravity wouldn't be so high :) 2. Make it so when you spawn a planet, it automatically starts orbiting like the other planets are. 3. Maybe make the camera scroll with the planet? Let me know if that would be nice!

Project Details

Project ID700664041
CreatedJune 3, 2022
Last ModifiedJune 3, 2022
SharedJune 3, 2022
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root