You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently trying to use addObject to add an object. I'm not sure exactly how to format said object, though. Sprites, sounds etc are fairly self-explanatory, but objects are trickier. The current documentation just uses "your/object/name". Important Facts
The function is currently successfully creating a folder inside the asset browser called NEW, but it appears empty in the IDE.
The function is also successfully creating an empty folder with the desired object name and a .yy file inside said folder, but it lacks the .gml files
I attempted to add my own .gml files to the object folder and then run the function in the hopes this would trigger the object to be visible in the asset folder. This did not work.
I assume I need to somehow communicate to the function that the GML files are meant to be attached to the object but I am unsure how to do this and the Intellisense documentation is not clear to me on this front.
I am currently attempting to reverse engineer it via the class definitions and trial-and-error but I am new to TypeScript and would greatly appreciate the help!
I'm currently trying to use addObject to add an object. I'm not sure exactly how to format said object, though. Sprites, sounds etc are fairly self-explanatory, but objects are trickier. The current documentation just uses "your/object/name".
Important Facts
Current code:
The text was updated successfully, but these errors were encountered: