Page 2 of 2

Re: growing yourgamename.game.php

Posted: 13 August 2020, 17:55
by Sydnique
Tisaac wrote: 13 August 2020, 16:37 Are you sure it works in production though ?
Yes, but only when using bga-workbench.

I think there are two methods:

1) Lightweight Method
That means using the modules-directory (as mentioned by RicardoRix and Draasill)

2) Using bga-workbench
Which requires alot more configuration, but I think the (initial) effort is worth it, especially if you want to try some fancy phpunit/tdd coding :geek: :lol:
The method uses a different approach to include your classes, it compiles all of them into the uploaded game.php
(Which to be honest can make debugging more cumbersome, because the line numbers in exceptions will refer to the compiled file)

Re: growing yourgamename.game.php

Posted: 17 January 2021, 08:49
by Proton Dody
I know this thread is old, but how do I see the compiled uploaded game.php file? It's throwing an error and gives me a number but I want to reference the compiled file. Where is it?

Thanks!