Orbital physics V3.00

Orbital physics V3.00

by JawsSwaj

👁 70 ❤️ 2 ⭐ 3 🔄 0
Created: May 16, 2026 Last modified: Sep 13, 2026 Shared: May 17, 2026

Description

https://scratch.mit.edu/projects/1317103428/ thanks to the creator of this game for the "Supermassive" sprite used for rendering stuff V1.0-First release V1.1-Added planet collisions V1.2-Fixed some messed up physics calculations V1.3-Added zoom V1.4-Fixed planet rendering and made planet collisions based off of radius of the planet and not actually touching the planet, which fixes collisions when zooming and with extremely large planets. V1.5-Added atmospheres and new planet texture(mars's moon, but doesn't currently work) V1.6-Added lighting mode for atmospheres to make it look better V1.7-Orbiting planets! Added the ability for planets to orbit, and for planets to orbit each other(ex. moon-->earth-->sun). Also updated the trajectory to calculate the positions ahead of time. V1.8-FPS, pausing, ability to disable patched conics orbital physics system(bad idea), pause slider, and better setting organization. Also added a planet on the right that tells you what soi you are in. V1.9-Fixed rendering, again. Also made planet's atmospheres part of their sprites to save on rendering and to add a performance boost. Added the option for the rocket to bounce off of planets, which adds to realism. V2.0-Added a turbowarp detector, using the is compiled? custom block boolean trick. This allowed me to change sizing code so that turbowarp could remove size limits without the sprites going crazy. This allows for a better experience on turbowarp. V2.1-Added planet soi markers when the trajectory passes through them. Also fixed instability in trajectory due to floating point numbers(to a small degree, trajectory lines still shift, especially with bounces) V2.2-Fixed and readded timewarp! V2.3-Moved all code for everything into one sprite, removing the use for message broadcasting and *maybe* fixing some lag. V2.4-Automatically disabled trajectory and soi drawing during timewarp due to performance reasons. V2.5-Added a new planet, Saturn! V2.6-Big step towards VAB update, added physics that will work for several objects at once, near doubled fps, fixed trajectory shifting, made timewarp a bit less laggy, and cleaned up code a bit. V2.7-Added pause button. V2.8-Fixed the planet orbit system and made it way better V2.9-Fixed the direction calc block and added a black gradient to planet sprites, which creates a day/night cycle when combined with the planet pointing towards the sun as it orbits. V2.91-(yes ik its not 3.0, thats reserved for VAB update) Gave saturn a moon V2.92-*Hopefully* a small optimization to planet rendering and a scroll to zoom feature. V2.93-Made the camera seperate from the rocket, allowing for some camera features not previously possible. V2.94-Added a camera focus button that allows for switching the camera view to different planets or just the rocket. V2.95-MAJOR FIX to the orbital physics, which now behave properly.(for the most part) V2.96-Bigger planets V2.97-A lot of little changes, including a new direction indicator, slower moving planets, a photosensitivity warning, and a black hole(press 'e' and enter 8, ONLY works in TURBOWARP) V2.98-Added apoapsis and periapsis V2.99-Added major rework to the entire soi system, which boosted performance and made it better, added thrust slider with color V3.00-Added navball with prograde, retrograde, radial in, and radial out; x and y velocities with color for speed representation

Instructions

W or tap and hold to accelerate(rocket will point towards mouse/touch) ----------------------- TURBOWARP LINK-https://turbowarp.org/1321023124?hqpen&offscreen ----------------------- ~1200 blocks of code; gets laggy on low end devices, even with optimization. ----------------------- Note-Lots of glitches happen, and any suggestions are accepted. Highly suggest running on turbowarp with better pen mode. Mobile friendly! Hold down to thrust! The variable "traj length" is how long the trajectory line will be, longer will be more computationally expensive. I rebuilt this from the ground up, as the first one proved to be glitchy, unstable, and not well written. Things such as timewarp physics calculations, orbital paths, and more were fixed. W to apply thrust in direction Rocket points toward mouse Timewarp speeds up time

Project Details

Visibility
Visible
Comments
Enabled

More Cool Projects

Project thumbnail
View Project

beat up lion.exe

by Lestat1025

Project thumbnail
View Project

(ALMOST) All Aux-Mythicals!

by cheesef0rdawrld

Project thumbnail
View Project

Beat up spueak my tom2

by jayjayy1809

Project thumbnail
View Project

大きさ変換鬼ごっこ(フライングカバオから逃げろ)

by sobatako

Project thumbnail
View Project

Numberblocks Band 1-1 Trillion remix

by keropie143

Project thumbnail
View Project

Universe Size Comparison

by VictorMarcus

Project thumbnail
View Project

Mixels: The "MIX"-ing Game V0.1 (Preview)

by AsherTheRemaker

Project thumbnail
View Project

BEAT UP SUPER WHY!! fixed remix remix-2

by matheusmaccamargo

Project thumbnail
View Project

I'm Blue // ft. Flipnote chance

by jkl24012014

Project thumbnail
View Project

Blox Fruits clicker

by hw_4l2024

Project thumbnail
View Project

AY Surviving Tornado Peak! [ Remix 23 54 Players remix

by miguelhauck

Project thumbnail
View Project

Beat Up Buttons (1)

by CanadaPS

Project thumbnail
View Project

Animal Stampede with Discovery Kids remix remix remix remix remix-3

by animalslover44

Project thumbnail
View Project

Talking Tom And Ben News (Remade)

by KhaleefSyahmie

Project thumbnail
View Project

Kick the Buddy remix

by BrickManSam123

Project thumbnail
View Project

大戦争ゲーム ver2.0

by brasiltoshi

Project thumbnail
View Project

Cool Platformer nature

by 945gg

Project thumbnail
View Project

BFB Your Way + Profily + Winner + Price Tag + Host Center

by GannerPr0

Project thumbnail
View Project

i created a pikmin game

by MATIXIN

Project thumbnail
View Project

[Touhou Script] Hakugyoku Arena

by JBen2014

Project thumbnail
View Project

Beat up Scratch Cat! (Suggest me a button!) remix-3

by hyd3ns33k

Project thumbnail
View Project

Onaf 4

by EndoBetacool2022

Project thumbnail
View Project

リアルタイム地震ビューアー v1.5.3 remix

by Kamara-ku

Project thumbnail
View Project

Beat Up Vivi! Reloaded

by JojosWorld32