Skip to content

Scripting language integration #866

@VinnyVicious

Description

@VinnyVicious

Problem this feature should fix

I'm always frustrated when trying to quickly prototype gameplay mechanics or experiment with ideas in Fyrox. Since the engine currently only supports Rust for scripting and logic, iteration times are slow. The strictness of Rust, while great for production, makes it cumbersome for experimentation. This slows down the creative process, especially during early game design stages.

Expected solution

Integrate a lightweight, embedded scripting language such as Rhai, Mun, or mlua, or another similar option that allows developers to write and reload game logic at runtime without recompiling the entire project. This would significantly improve iteration speed and make Fyrox more accessible for rapid prototyping, modding, and small projects. Ideally, the scripting system should allow easy interaction with engine APIs (scene graph, input, physics, etc.) and support hot-reloading of scripts during development.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions