If you see this message, it means that your browser failed to load this file.

You should try the following : check your connection, disable ad-blocker, clear your browser cache, try in private mode, try from another browser/computer/connection.

Home »

What is BGA Studio?

Getting started

4 slideshare presentations to get ready to use BGA Studio in 30 minutes:

Reference Documentation

This page comes from BGA wiki, and has been written by BGA players community. Feel free to edit it!

What is Board Game Arena Studio?

Board Game Arena Studio is a platform to build online board game adaptations using the Board Game Arena platform.

It is open to any gamer with software development skills :)

BGA Studio website: http://en.studio.boardgamearena.com

Original announcement on BGA forum: http://forum.boardgamearena.com/viewtopic.php?f=10&t=1973

Discover BGA Studio in 5 presentations

Why, how, what... to start discovering BGA Studio, we prepared 5 "powerpoint" presentations for you:

How to join the BGA developer team?

Please see this page: How to join BGA developer team?

Great, I'm in! ... How should I start?

If you didn't already, check the presentations at the top of this page to get the basics.

Then, you should checkout the First steps with BGA Studio to make sure that runs fine.

After that, we strongly advise you to take one of these game creation tutorials:

Then start editing files and see what happens! ;)

If you have any questions, please check out the Studio FAQ first, then if you didn't find the answer you were looking for, please post your question on the development forum.

BGA Studio documentation

BGA Studio Framework reference

This part of the documentation focuses on the development framework itself: functions and methods available to build your game.

File structure of a BGA game

Game logic (Server side)

Game interface (Client side)

Other components

BGA Studio game components reference

Game components are useful tools you can use in your game adaptations.

  • Deck: a PHP component to manage cards (deck, hands, picking cards, moving cards, shuffle deck, ...).
  • Counter: a JS component to manage a counter that can increase/decrease (ex: player's score).
  • Draggable: a JS component to manage drag'n'drop actions.
  • ExpandableSection: a JS component to manage a rectangular block of HTML than can be displayed/hidden.
  • Scrollmap: a JS component to manage a scrollable game area (useful when the game area can be infinite. Examples: Saboteur or Takenoko games).
  • Stock: a JS component to manage and display a set of game elements displayed at a position.
  • Wrapper: a JS component to wrap a <div> element around his child, even if these elements are absolute positioned.
  • Zone: a JS component to manage a zone of the board where several game elements can come and leave, but should be well displayed together (See for example: token's places at Can't Stop).

BGA Studio user guide

This part of the documentation is a user guide for the BGA Studio online development environment.

Other resources

Development forum

Bugs forum


Please remember me

Join BGA Studio developer team

To start developing on BGA Studio and get access to development environment, you need to create an account below.

Personal infos provided in this form is NOT shown to anyone but BGA Studio admin, and is NOT used for any other purpose that BGA Studio organization.

(Must be valid. We may remove accounts from developers we can't contact.)

(3 to 20 characters. No space, no number, no special characters)

(The exact username you are using on BGA)

Important: we need your REAL name to attribute your work on the Studio & to send you stuff by Post when needed.

Important: we need your REAL name to attribute your work on the Studio & to send you stuff by Post when needed.

Please enter the security code you see

I agree to Terms&conditions for developers of BGA Studio.


Errors in framework classes

I periodically have this error show up in Studio, can you please fix it (when it appears game UI does not load).

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Template has a deprecated constructor in /var/tournoi/release/tournoi-171014-1817-gs/www/lib/phplib/template.inc on line 65

There is also were annoying dojo warnings on console coming mostly from adaptStatusBar, they fill the console on every mouse move, there are 400 of them just on reload
dojo.js:15 DEPRECATED: dojo.coords() Use dojo.position() or dojo.marginBox().

I overrode it just to get rid of warnings but I really want to gave it fixed in original source (of cause I don't have source so
all locals here are mangled)

Code: Select all

         * @Override This is here just to override one from bga, and not have annoying warnings on console
        adaptStatusBar : function() {
            var _bf0 = dojo.position("after-page-title");
            var _bf1 = dojo.position("page-title");
            var _bf2 = dojo.window.getBox();
            var _bf3 = _bf2.h;
            var _bf4 = _bf3 / 10;
            if (!dojo.hasClass("page-title", "fixed-page-title") && _bf0.y < 0 && _bf1.h < _bf4) {
                dojo.addClass("page-title", "fixed-page-title");
            } else {
                if (dojo.hasClass("page-title", "fixed-page-title") && (_bf0.y >= 0 || _bf1.h >= _bf4)) {
                    dojo.removeClass("page-title", "fixed-page-title");
                    dojo.style("page-title", "width", "auto");
                    dojo.style("after-page-title", "height", "0px");
            if (dojo.hasClass("page-title", "fixed-page-title")) {
                dojo.style("page-title", "width", (_bf0.w - 10) + "px");
                dojo.style("after-page-title", "height", _bf1.h + "px");
10/16/2017 2 comments

developer account creation

Sorry for disturbing, and sorry if the question is already asked somewhere.

I'd like to know why the postal adress is needed to create a developer account, and also,
is this ok to create an account and to help only when I have time for it (that is, without constraint)?

(I'm currently in a development school, and I am a big gamer but I can't be sure that I will have the time to work on projects out of school.)

Thank you for your help.
10/13/2017 2 comments

Innovation testers needed!

Hi everybody!

I have just finished the development of Innovation by Carl Chudyk on BGA studio. I asked BGA team for game review but I think they are ultra busy since they have not replied yet.
So, what about testing the game on Studio in the meantime? That would still be fewer bugs to correct after beta-release.

Tables are openable for any player groups willing to play: http://fr.studio.boardgamearena.com/#!gamepanel?game=innovation
You need a BGA Studio account for that, you can register here: http://fr.studio.boardgamearena.com/#!welcomestudio
On my side I will try to log to Studio each time I can (not every day though), usually between 18 and 23 UTC. Don't hesitate to invite me if you see me around (I am Tchebychev0), that would be my pleasure :)

Game is in English, translation will be made after release, and playable with 2, 3, 4 players. 4 players is quite chaotic but I have added a team mode as beta which should be more interesting.


My expectations for now:
  • It would be nice if you know already how to play the game IRL.
  • The major concerns are for blocking bugs. I am not willing to change the interface design right now (except if there is something very, very wrong...) because the publisher can have a different opinion on that matter, and I dont know him yet :)
  • If you see a bug, you can post it as a reply of this topic. Try to add as many meaningful elements as you can (screenshots are good), even if I know it will be more difficult since the bug report system does not work on Studio.
  • I apologize in advance for bugs that would "kill" a game. Even if I have tested each card individually there are big chances that situation might happen... Don't punch me too hard for that please :roll:

Thanks a lot and enjoy it well!

10/10/2017 6 comments

Application loading ... ...
THANK YOU : You are one of our most loyal players!
Get the best from Board Game Arena for only €2 / month.