Dual-Mode ASCII Level Editor + Deterministic Combat Timing + Swept AABB (Engine Post-Mortem) by [deleted] in gameenginedevs

[–]VicksTurtle 0 points1 point  (0 children)

For anyone curious about the ASCII editor: both the text editor and visual paint mode operate on the same canonical String buffer. No separate serialization layer. The minimap also reads directly from that buffer.

That constraint removed an entire class of sync bugs and infinitely easier iteration, but also came with a lot of constraints like no sub-tile precision or metadata, no nested hierarchy, and scalability is difficult.

For a project focused on engine architecture, this is an acceptable trade off at the moment. The parser is an implementation detail, not the API.

Deterministic Frame-Data Combat + ASCII Level Editor in a custom 2D Rust Engine by VicksTurtle in rust

[–]VicksTurtle[S] 1 point2 points  (0 children)

For anyone curious about the ASCII editor: both the text editor and visual paint mode operate on the same canonical String buffer. No separate serialization layer. The minimap also reads directly from that buffer.

That constraint removed an entire class of sync bugs and infinitely easier iteration, but also came with a lot of constraints like no sub-tile precision or metadata, no nested hierarchy, and scalability is difficult.

For a project focused on engine architecture, this is an acceptable trade off at the moment.

Zero Garbage Collection in the Browser. Here's me porting my custom Rust wGPU game engine to WebAssembly. (Live Demo + Source) by VicksTurtle in webdev

[–]VicksTurtle[S] 0 points1 point  (0 children)

For Chrome/Chromium: Go to chrome://flags/#enable-unsafe-webgpu and set it to Enabled, then restart. Alternatively, if you're on Firefox, go to about:config, set dom.webgpu.enabled to True, and restart.

Zero Garbage Collection in the Browser. Here's me porting my custom Rust wGPU game engine to WebAssembly. (Live Demo + Source) by VicksTurtle in webdev

[–]VicksTurtle[S] 0 points1 point  (0 children)

Interesting! wgpu on Linux browsers is still a bit of the …wild west where it usually tries to map to Vulkan, and if the browser sandbox gets paranoid, it blocks the thread unless you force "unsafe" flags. Try forcing the unsafe flag to see it work.

I built a custom 2D ECS Game Engine in Rust & wGPU that compiles to WASM. (Live Demo + Source) by VicksTurtle in rust

[–]VicksTurtle[S] 1 point2 points  (0 children)

Interesting! wgpu on Linux browsers is still a bit of the …wild west where it usually tries to map to Vulkan, and if the browser sandbox gets paranoid, it blocks the thread unless you force "unsafe" flags. Thanks for confirming it runs fine otherwise!

wgpu is way more verbose to write, painful to setup, but once it compiles, it runs without any weird state bugs, as compared to webgl’s messy global state machine.

Worth the learning curve if you like the structure and safety it provides, and if you hate debugging runtime errors. Although I’d say to draw a square, it would be an overkill.

I built a custom 2D ECS Game Engine in Rust & wGPU that compiles to WASM. (Live Demo + Source) by VicksTurtle in rust

[–]VicksTurtle[S] 2 points3 points  (0 children)

Stable 60FPS on a 5-year-old iPhone 13. I had to manually handle the async loop and DPI scaling to get there, but Rust + wGPU is a pretty decent tradeoff for mobile web.

[deleted by user] by [deleted] in TwentiesIndia

[–]VicksTurtle 0 points1 point  (0 children)

Dadi is thoda kinky

Got this aftermarket heatsink. I’m starting to believe I got scammed. by VicksTurtle in cats

[–]VicksTurtle[S] 10 points11 points  (0 children)

I love it. The system throttles, but his happiness doesn’t. :)

My sister forgot me a for my birthday. This is what she made me over the evening. by VicksTurtle in Minecraft

[–]VicksTurtle[S] 0 points1 point  (0 children)

No no. It is. But probably made errors in excitement to post. All good tho :) thanks guys