Skip to content

Custom Resources through ECMAScript #124

Open

Description

@mageowl

Currently, Godot will not recognize custom resource classes written in JS/TS.

Activity

  1. mageowl commented on Jun 20, 2022

    @mageowl
    Author

    does anyone have a solution/workaround besides using gd script and a ts interface?

  2. self-assigned this
    on Oct 10, 2023
  3. nmerget commented on Oct 10, 2023

    @nmerget
    Collaborator

    I hope I understand the issue. I used this tutorial to reproduce what I think you want to do.

    The main point is that you need to use @properties for @export like this.

    I had to use TYPE_OBJECT to drag&drop the resource in the editor like this

  4. added
    documentationRequest/proposal related to documenation
    questionFurther information is requested
    on Oct 10, 2023
  5. added this to the Stable 4.1 milestone on Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationRequest/proposal related to documenationquestionFurther information is requested

Type

No type

Projects

  • Status
    Backlog

Relationships

None yet

Development

No branches or pull requests

Issue actions