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
For my question, I'm looking for an answer relating to Funkin's API implementation, but I would also like tips on implementing this into my own API Handler as I'm making my own game.
The general idea is I have script A in one folder lets say [GameName]/mods/[ModA]/scripts/ScriptA.hxc and Script B in another folder in assets [GameName]/assets/scripts/ScriptB.hxc
and the code for Script B is
importgamename.backend.scripting.Script; // The import path for whatever the script extends, but will be represented as Script.ClassScriptBextendsScript
{
publicvarsomeVariable:Bool=false;
publicfunctionnew() {
super('ScriptB');
}
}
But for Script A I want to import the ScriptB class, how would I do this?
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
For my question, I'm looking for an answer relating to Funkin's API implementation, but I would also like tips on implementing this into my own API Handler as I'm making my own game.
The general idea is I have script A in one folder lets say
[GameName]/mods/[ModA]/scripts/ScriptA.hxc
and Script B in another folder in assets[GameName]/assets/scripts/ScriptB.hxc
and the code for Script B is
But for Script A I want to import the ScriptB class, how would I do this?
The text was updated successfully, but these errors were encountered: