Show HN: Unity like game editor running in pure WASM In the wake of all the Unity nonsense, just wanted to toss the Raverie engine into this mix :) We’re building off a previous engine that we worked on for DigiPen Institute of Technology called the Zero Engine with a similar component based design architecture to Unity. Our engine had a unique feature called Spaces: separate worlds/levels that you can instantiate and run at the same time, which became super useful for creating UI overlays using only game objects, running multiple simulations, etc. The lighting and rendering engine is scriptable, and the default deferred rendering implementation is based on the Unreal physically based rendering (PBR) approach. The physics engine was built from the ground up to handle both 2D and 3D physics together. The scripting language was also built in house to be a type safe language that binds to C++ objects and facilitates auto-complete (try it in editor!) This particular fork by Raverie builds both the engine and editor to WebAssembly using only clang without Emscripten. We love Emscripten and in fact borrowed a tiny bit of exception code that we’d love to see up-streamed into LLVM, however we wanted to create a pure WASM binary without Emscripten bindings. We also love WASI too though we already had our own in memory virtual file system, hence we don’t use the WASI imports. All WASM imports and exports needed to run the engine are defined here: https://ift.tt/JmrRDXN... The abstraction means that in the future, porting to other platforms that can support a WASM runtime should be trivial. It’s our dream to be able to export a build of your game to any platform, all from inside the browser. Our near term road-map includes getting the sound engine integrated with WebAudio, getting the script debugger working (currently freezes), porting our networking engine to WebRTC and WebSockets, and getting saving/loading from a database instead of browser local storage. Our end goal is to use this engine to create an online Flash-like hub for games that people can share and remix, akin to Scratch or Tinkercad. https://ift.tt/39x48Kg https://ift.tt/fdVTHkN September 26, 2023 at 11:28PM
Show HN: Unity like game editor running in pure WASM https://ift.tt/DwVqbpv
Related Articles
Show HN: I built an AI tool that generates click-worthy YouTube thumbnails https://ift.tt/Pb7tm4OShow HN: I built an AI tool that generates click-worthy YouTube thumbn… Read More
Show HN: ClipBin; the Simplest, Open Source and Secure Way of Sharing Text/Code https://ift.tt/gJEBZc9Show HN: ClipBin; the Simplest, Open Source and Secure Way of Sharing … Read More
Show HN: CodeNow – CoderPad over WebRTC and WASM https://ift.tt/ZKk3JlaShow HN: CodeNow – CoderPad over WebRTC and WASM I was doing a lot of … Read More
Show HN: JsonPP, a Functional JSON Superset https://ift.tt/N2R8sdJShow HN: JsonPP, a Functional JSON Superset Json plus plus or Json pre… Read More
Show HN: Free mammogram analysis tool combining deep learning and vision LLM https://ift.tt/DQoAPq2Show HN: Free mammogram analysis tool combining deep learning and visi… Read More
Show HN: Octogen: e-commerce capabilities for agents https://ift.tt/gEhjpKLShow HN: Octogen: e-commerce capabilities for agents Hi HN, We just re… Read More
Show HN: FizzBuzzAI – The Most Inefficient FizzBuzz Solution Ever Made https://ift.tt/KDtowIhShow HN: FizzBuzzAI – The Most Inefficient FizzBuzz Solution Ever Made… Read More
Show HN: Remove AI Job Spam from Indeed and LinkedIn https://ift.tt/CJnmNBTShow HN: Remove AI Job Spam from Indeed and LinkedIn https://ift.tt/5i… Read More
0 Comments: