Skip to content

Some Lua Stuff#282

Open
menvae wants to merge 7 commits into
InventiveRhythm:mainfrom
menvae:okay-fennec
Open

Some Lua Stuff#282
menvae wants to merge 7 commits into
InventiveRhythm:mainfrom
menvae:okay-fennec

Conversation

@menvae
Copy link
Copy Markdown
Contributor

@menvae menvae commented May 13, 2026

Changes

  • fixed stack overflow which was caused by:
    • static properties if they referenced the same type
    • fields that reference the same type (MUST be guarded with [JsonIgnore])
  • fixed lua blend modes
  • added Color4 to lua
  • added Vector2 to lua just in case something uses it in the future
  • added new HitObjectType
  • added ability to filter by HitObjectType in NotesInRange. Omit the arg to get all.
  • added explicit conversion to lua models
  • added debugging for depth so it's easier to check when issues arise in the future

@menvae
Copy link
Copy Markdown
Contributor Author

menvae commented May 14, 2026

Todo:

  • Add lua type convertion in lua extensions (Vector2 -> LuaVector2)
  • Rename osuTK.graphics.vector2 to correct name

Putting this here so I don't forget later

@flustix flustix marked this pull request as draft May 15, 2026 02:38
@flustix flustix moved this to being worked on in fluXis May 15, 2026
@menvae menvae marked this pull request as ready for review May 15, 2026 16:17
+ add debugging for depth so it's easier later on to catch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: being worked on

Development

Successfully merging this pull request may close these issues.

2 participants