Cornilieus
- 5 Devlogs
- 14 Total hours
A massive side view factory 2d physics game where everything is an entity and interacts with other entities.
A massive side view factory 2d physics game where everything is an entity and interacts with other entities.
So apparently changing the href attribute of a link means that the website has to request for the css file and wait while the component is loaded instantly causing FOUC
So I just copy pasted every css file into the header so the stylesheets are always loaded. And to retain the ability to just id an element as “sidebar” without worrying about conflicts I just wrapped every stylesheet with the id of the main element.
I was also optimizing bit unpacking and casting position and restructuring layouts. I swear I didn’t spend all 5 hours just writing 20 lines of code.
Simple readjustment of the velocity precision.
Previously the smallest value of the 10-bit float, we’re not going to implement subnormal values, accumulates to shift entities when idle.
Wow I spent eternity making 10 boxes.
And still tsx doesn’t like that I imported a png file, I should Google that up one day.
Menu expands with little code.
I’m going to run out of functional UI to work on and eventually will have to either fix the aesthetics or make the physics engine.
I’ve been avoiding debugging WGSL learning Solid JS. Incredible UI design I know thank you :)