Skip to content

Scripting language integration #866

Open

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.

Activity

  1. mrDIMAS commented on Oct 28, 2025

    @mrDIMAS
    Member

    Have you tried native code hot reloading?

  2. b-guild commented on Oct 29, 2025

    @b-guild
    Contributor

    What sort of integration would there be? Would the editor somehow be involved in this integration, or are we just talking about a scripting library that supports using Fyrox through Lua or whatever language? Having very specific features and goals in mind usually helps with any project.

    There is this project which may be worth considering: Fyrox Lite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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