growing yourgamename.game.php

Game development with Board Game Arena Studio
User avatar
Sydnique
Posts: 11
Joined: 26 July 2020, 21:38

Re: growing yourgamename.game.php

Post 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)
User avatar
Proton Dody
Posts: 2
Joined: 17 January 2021, 08:46

Re: growing yourgamename.game.php

Post 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!
Post Reply

Return to “Developers”