Author Topic: Trying out MonoAGS (AGS 5 candidate) : journal  (Read 3701 times)


  • Local Moderator
  • AGS Baker
  • Mittens Vassal
  • Parking Goat- games that goats like!
    • I can help with translating
    • tzachs worked on a game that was nominated for an AGS Award!
Re: MonoAGS development log (AGS 5 candidate)
« Reply #120 on: 13 May 2018, 05:50 »
Based on these sources, does anyone understand why the word "Loading" does not appear?
Submitted a PR with a fix (you didn't change the current room to the loading screen).

- is the root folder the execution folder?

Either location of exe, or "current working directory", and TBH that's kind of annoying. I believe there should be a way to configure this.

I had to invent a trick, because path may be different depending on whether you run the game from Visual Studio or from explorer.
What I do is that I pass a part of path as a command line argument when debugging the game, as "../../Assets/". And in game code I assign this argument to a variable called "_baseAssetFolder", which I use to construct resource paths.

By default _baseAssetFolder is just "Assets/", so that you could put Assets folder to same directory where exe is, and run it normally.

My best hopes are that in the end this is what resource loader's implementation will be doing on its own. So that we would have to type just "Images/room.png" instead of "../../Assets/Images/room.png".
I'm pushing a fix for this tomorrow (assuming the build goes well). This is a breaking change as the resources paths are now passed without the "../../Assets" prefix (i.e the default root folder will be the assets folder and it should work no matter where you run the game from). Please read the PR description for more details and let me know if you have questions/reservations.

Quote from: Monsieur OUXX

Permission to copy?
« Last Edit: 13 May 2018, 05:54 by tzachs »

Monsieur OUXX

  • Cavefish
  • Mittens Vassal
  • Mittens Half Initiate
    • I can help with proof reading
    • I can help with translating
    • I can help with voice acting
Re: MonoAGS development log (AGS 5 candidate)
« Reply #121 on: 13 May 2018, 09:07 »
Permission to copy?

Well duh (laugh);)

Code: Adventure Game Studio
  1. [url=][img][/img][/url]
« Last Edit: 13 May 2018, 10:09 by Monsieur OUXX »