I’d like to have several scenes, each of them having its own tilemap.
To do so, I need to “dynamically” require my lua files, with a variable inserted into the path.
Ex (test):
The entire path seems to be broken by the inserted variable, so… I assume the “require” path is not a simple string that I can edit at will (would have been too easy )
Not as elegant as a dynamic “require” (and probably not as easy to maintain), but if there is no method/workaround at all, at least I know I can go for that