makspll / makspll/bevy_mod_scripting

Newtype macros for wrapping non-reflect types (`Component`, `Resource`, `Asset` etc.)

Open
#515 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
649
Forks
59
PR merge metrics
No merged PRs in 30d

Description

The ecosystem has many examples of types which do not implement reflect, and while submitting PR's in each repo is one way to deal with that problem, it's not the nicest.

It would be good to empower users of BMS to wrap types in external crates, to create wrapper component/resource types which sync to the underlying types, to allow manipulation from scripts

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing how BMS currently handles Component, Resource, and Asset types that do not implement reflect. Identify the existing macro and scripting entry points before deciding how wrappers should synchronize with external types. Done means users can wrap external types and manipulate the resulting component or resource types from scripts.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.