Suggestion : making more code public

Game development with Board Game Arena Studio
Post Reply
User avatar
Quinarbre
Posts: 140
Joined: 15 December 2013, 23:26

Suggestion : making more code public

Post by Quinarbre »

Hi,

Now and then I see a neat feature in another game, that I want to reuse in my own development. Right now the only options I have are :
- contact the developer and ask him for his sources (if he answers, still has them handy...)
- open the game, browse the page source to find the url of the js and download it.

Furthermore, in the latter case, what I get is a compressed js file, which makes it more tedious to read.
Same goes with the studio library : I can fetch all the ebg/core files but it's not really practical to browse them. If developers had them handy, they could discover undocumented functionalities and update the Wiki accordingly.

So my question is : would it be possible to make the sources of every game published on BGA readily available from the studio ?
At least for the Javascript it would make sense (I can understand if you don't want to publish the php/dbmodel).
That would be a tremendous resource for studio developers.
User avatar
Een
Posts: 3861
Joined: 16 June 2010, 19:52

Re: Suggestion : making more code public

Post by Een »

Hi,

In fact, any developer in the studio, as an administrator for the game he has implemented, can give any other studio developer readonly access to his code (or read/write, for collaboration).
So if you see something that you would like to use, just ask the developer to give you this readonly access.
We prefer this, so that the developers keep some measure of tracability and accountability over their code.

For games implemented by BGA, a lot have been created before the time of the studio and so have not been created or imported into it. So in most cases we won't be able to give you such access for those.
But you should find the description of the techniques used in the studio documentation (and if not, please tell us, so that we can write about it).

Happy coding,
Een
User avatar
nosy_g
Posts: 3
Joined: 05 February 2013, 21:17

Re: Suggestion : making more code public

Post by nosy_g »

The problem there though is that it requires the admin developer to still be active, and see the message. Would it be possible to implement like a web-based code viewer, similar to WebSVN? Reviewing code examples is always a great tool for new developers to get up to speed.
Post Reply

Return to “Developers”