My game project is becoming bigger, so I got to split it different files. But as soon as I use the rungame("filename.fl")
command, I am getting an error message for the usage of include
.
Is there a way to work with multiple files in GameZero?
What error are you getting? It’s been a long time since I used GameZero, but remember include working.
ERROR: LoadError: UndefVarError:
include not defined Stacktrace:
If I run include("filename.jl")
in the REPL normally, it works perfectly. But when I run it via rungame
, I get this error message.