Hi, I’m coming from Urho and trying to learn AGE. My platform is Linux Mint, I’ve built AEG from source.
I’m trying to start my JS project from the command line, without using AtomicEditor. I’ve manged to do it with:
PATH_TO_EDITOR/AtomicEditor --player --project PATH_TO_PROJECT
The problem is that there’s too much debug output and it’s hard to find error messages in it.
With Urho3D I could launch my Lua project using Urho3DPlayer, and I could pass additional parameters to suppress the debug output (-q), so I tried the same with AEG. After building my project from AtomicEditor, I get player executable and .pak file. Then I tried to use AtomicPlayer to execute my Resources folder that contains un-packed scripts and assets. I use this command:
Linux-Build/AtomicPlayer -pp PATH_TO_PROJECT -p Resources Resources/Scripts/main.js
After I’ve copied over some missing assets from CoreData and PlayerData, the AtomicPlayer runs with no errors, but it shows just the black screen. With Urho3DPlayer I could specify starting script as parameter, while AtomicPlayer just ignores it.
Can I execute my un-packed Resources with AtomicPlayer?
Also, is there a way to get default Log object from JS, so that I can do setLevel(LOG_WARNING) on it?