Hi everyone! I’d like to share a small show-and-tell of how Google V8 was used outside of the browser or Node.js — this time for embedded game scripting.
IdaJS is a JavaScript-powered modding engine for Little Big Adventure 2 (LBA2), a classic 3D adventure game released in 1997 and originally written in C++ and Assembly. After the game was open-sourced, a need for a modern way to create fan mods has emerged — so IdaJS embeds V8 directly into the game engine.
Why JavaScript and V8?
Instead of Lua, JavaScript was chosen as the scripting language:
JS is widely known and very approachable for modders
It has a rich ecosystem and expressive syntax
V8 provides the performance needed for real-time 3D gameplay
With IdaJS, modders can control game logic, manipulate scene objects, and build custom scenarios — all in JavaScript, running directly inside the game.
For V8 users, this is a practical example of V8 being used as a high-performance embedded scripting engine in a native game environment.
👉 Website & docs: https://ida.innerbytes.com
👉 GitHub: https://github.com/innerbytes/idajs
Happy to answer questions if there’s interest 🙂