Releases: CatPrinceHQ2/SpaceflightSimulatorInHTML
Release list
R1.6.0
The file roughly doubled in size from 1.5 (6,890 → 12,570 lines; ~130 new functions added, only 4 old ones removed). it's a near-rewrite of the procedural universe + save systems, plus several new UI features.
I think i will move on to new projects soon and just come back to bugfix this every once in a while at this point.
New player-facing features
Tutorial: Walks you through exiting Earth's SOI by building a basic rocket, pressing launch, and waiting. A 3 year old could do it. Super easy.
Save system overhaul: I redid the whole saving thing. Theres now 3 save options on the menu, savestate cheat, and autosave in the Build menu. It exports save data like any other game. If you can decode it you earn the right to edit it.
Build tools: Symmetry toggle. Places on the opposite side. Drag toggle. Places when you hold click. Autosave. Auto saves your build every 5 seconds.
Rarity/discovery system: procedurally generated star systems now have rarity tiers (common/rare/epic/legendary). Each one has it's own special track - go explore. You'll get notified if you generate a real rare system like Epic or Legendary up top. And there will be an arrow pointing to it. Epic and legendary systems have crazy features. Watch out.
Navigation aids: Rewrote the whole nav beacon code. It should not miss anymore and shouldn't lag anymore. Even for really far away objects. Really far away.
Proc Spawn: It's a new thing. If you zoom out to galactic levels, you'll get a galactic star spawner. You can spawn thousands of seeds a second, as much as your PC can handle. Try to render all 1 million. I optimized it for ages. I could NOT for the life of me ever get optimization good enough to run it on my PC, atleast.
Under-the-hood engine changes
Orbital mechanics rewrite: Everythings gone and replaced lol. Works better now. Makes alot of sense and stuff.
Warp speed restrictions: Logic computes max warp speed instead of hardcoded bounds so you aren't stuck in a SOI with a tiny timewarp maximum.
Procedural universe generation - We had this in basic in 1.5 but it was garbage. The whole thing is mega optimized by hundreds of times now and basically doesn't even resemble the original.
Rendering performance/LOD system: Draws far away stars with a level of detail less the more zoomed out you are. That's the way you get 60fps with 5k stars loaded.
Minor
Menu redone with all of those new things listed. Yay.
Version string was updated to R1.6.0. Obviously.
Full Changelog: R1.6.-1...R1.6.0
R1.6.-1
PRE release. Rushed update. Will push full 1.6.0 later
Expect a shit ton of bugs. And no readme update. Sory
R1.5.0
stuff marked add124 in comment is all claude bc its too difficult
Full Changelog: R1.4.2...R1.5.0
Major new feature: Procedural Galaxy Generation
New "Procedural Planets" toggle in the menu (off means real-life systems only and on means the random systems), with a seed input (1–1M, plus a "random seed" button) and a system-count limit setting, basically set this based on how good ur pc is
Procedural music theme assignment per system (all vanilla star themes) with semitone-shift picker so they are atleast somewhat different to usual songs
They spawn around that Sagittarius A* i added last version. That was what the black hole was for.
System caching via a proceduralSystems Map, capped at 75 systems by default so you don't literally bust your pc
type planets to get more planets. same as the other cheatcode, just spawns planets this time
Orbital mechanics upgrade - really means I just made elliptical orbits angular instead of all eccentric in one direction.
Refactored "dominant body" detection
New helper functions (domBodyContains, dominantAmongChildren, cheapDominantRecheck) for soi logic perf (stepsimseconds was crashing fps)
UI additions
GitHub link added to the menu (github.com/CatPrinceHQ2/SpaceflightSimulatorInHTML)
stars now glow.. like.. stars. yay
R1.4.2
Fix sagitarius A so its actually black and fix audio hotfix
R1.4.1
Sagittarius A* with like 80 million gravity mult and a soi thats like 500t units big, rewrote rendering partially, new song, lagfix
SAG A song broke in backup constructor get 1.4.2
Full Changelog: R1.4.0...R1.4.1
R1.4.0
Full Changelog: R1.3.2...R1.4.0
The main stuff is re entry heat and asteroids. Yay. Realism. Disable reentry heat with indestructible cheat if you can't handle the spice. Heat shield parts. Fuel compressor is literally, well, an electrified fuel compressor, that thing deals with heat when generating fuel, it's got a big heat res.
New music for moons soi. Cheats unlocked through typing 'unlockcheats' or just straight up waiting ten minutes if you are an epic gamer who isn't brainrotted. Antiflicker for atmosphere culling
Big optimization, completely redid how planets get calculated everything is in one spot now. super moddable
Readme is updated as well with all ts.
R1.3.2
I clauded part of this update, so, you will definitely see some of that turn up in the changelog. If you're curious then just look for any comments that are like, multiple lines long.
So dark mode and cheats toggle thats on main menu now. Version string is R1.3.2 now.
Settings persist. Finally. I know that made yall like actually rip hair out so i did away with the setting settings each time. Sorry i didnt do sooner
For SPECIFICALLY gliese 876d u can use 25x timewarp in it's atmosphere. It's atmosphere is legit like 1 million units so yeah
Massive performance fixes for even the lowest end hardware (i test on a Lenovo 300e gen 2 chromebook, with 4gb of ddr3 1833mhz, and a mediatek integrated processor.
Turns out the SONG was what made interstellar space lag. Fixed. I edited the bytebeat on that shit. New song. Signal of Distress. Plays in Gliese system. Yay.
Fixed assembly line song. Now the bass isn't ALL in your left ear.
Dev tool... not going to elaborate. It's how i found all the performance stuff to fix - basically look at the code, if you are somewhat resilient you can figure out how to open it :>
Stupid ass crashes
Sometimes NaN would appear in the sim, god forbid i know how, so, it will skip a frame if you somehow generate NaN. No more bullshit.
Full Changelog: R1.3.1...R1.3.2
R1.3.1
rushed update because its getting added to a game library - this is the version i want.
Changelog is below, but basically i just added social links to boost myself
Full Changelog: R1.3.0...R1.3.1
R1.3.0
Full Changelog: R1.2.0...R1.3.0
Add gliese 876 system. Getting scaling right was difficult. Hopefully as i get a larger sample size for how I want the systems it'll line up with adding new ones sand new ones.
Anyways.. 5 new planets, new star, new arrow, etc. Fun.
R1.2.0
Fuel Compressor!!! also fixes some old bugs that never got fixed.
20k ion charge -> 2200 fuel. slow. good for getting around the inner solar system or recharging post interstellar travel, like 2 large fuel tanks in the size of an engine. Balance, basically
Full Changelog: R1.1.1...R1.2.0