loading

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 »
BGA Studio
(for web developers)

• You are a web developer fluent in server side (PHP, SQL) and client side (HTML, Javascript) languages

So this presentation looks easy and fun to you.

• You want full access to the BGA development stack to develop complex games (but we still advise you to start with something simple for your first game!)

Check the documentation and tutorials to get started!

BGA Sandbox
(for everyone)

• You want to set your game material on a virtual table with an easy to use "Powerpoint for Board Games" tool, and play with it immediately

Start the Sandbox and build your interface now!

• You have some development experience allowing you to use a simple scripting language to implement the rules

Check the documentation for scripting the rules!

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! ;)

Once you done with tutorials, you can start a real game (or join existing project)

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).
  • 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.
  • 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).

Undocumented component (if somebody knows please help with docs)

  • 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.
  • Wrapper: a JS component to wrap a <div> element around its child, even if these elements are absolute positioned.

BGA Studio user guide

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

Login


Please remember me




Join the BGA Studio developers 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.


Register


Bounty hunting: bugfixing heroes, we want you!

Dear BGA Studio developers,

This beginning of the year, we are introducing something new on BGA Studio: Bounty Hunting! There is now 153 games online on BGA (wow!). But there is still only 2 admins (yes, really!). Over time, some developers can't always continue maintaining their games for various reasons (life!) and sure, sometimes the games are perfect, but most of the time some bugs are still hiding in the corners!

Of course, admins alone cannot maintain such a big number of games.

So we decided to offer a bounty for squashing bugs. This bounty is paid in months of Premium membership subscription. We usually offer a Premium subscription to developers who complete a game for release on BGA, but there is a lot of developers registered on the studio: we hope than some developers who don't have the time to do a full game can still be interested in fixing bugs. We'll see!

So there is now a "Bounty hunting" menu entry leading to the bounties page listing the top voted reports to handle. Let's clean up the Wild West! :)
https://studio.boardgamearena.com/#!bounties
01/15/2019 Comment on this.

[CLOSED] Unspecific error (method: createGame)

Hi everybody!

I started to work on a game some time ago, developped a bunch of code (both on PHP side, states, and JS side) but did not took the time to test it (this is a bad thing to do, I know :? ).
I am now trying to start again and continue the dev but I come out with this unspecific error:

Code: Select all

Wrong formatted data from BGA gameserver 1 (method: createGame):
   ajaxcall/_ae2<
http://studio.boardgamearena.com:8081/data/themereleases/181210-1452/js/modules/layer/ly_metasite.js:15:440304
hitch/<
http://studio.boardgamearena.com:8081/data/themereleases/181210-1452/js/dojoroot/dojo/dojo.js:15:32180
dojo/_base/xhr/</dojo._ioSetArgs/<
http://studio.boardgamearena.com:8081/data/themereleases/181210-1452/js/dojoroot/dojo/dojo.js:15:112398
_2d3
http://studio.boardgamearena.com:8081/data/themereleases/181210-1452/js/dojoroot/dojo/dojo.js:15:74862
_2d1
http://studio.boardgamearena.com:8081/data/themereleases/181210-1452/js/dojoroot/dojo/dojo.js:15:74554
dojo/_base/Deferred/</dojo.Deferred/this.callback
http://studio.boardgamearena.com:8081/data/themereleases/181210-1452/js/dojoroot/dojo/dojo.js:15:75619
_2d3
http://studio.boardgamearena.com:8081/data/themereleases/181210-1452/js/dojoroot/dojo/dojo.js:15:75162
_2d1
http://studio.boardgamearena.com:8081/data/themereleases/181210-1452/js/dojoroot/dojo/dojo.js:15:74554
dojo/_base/Deferred/</dojo.Deferred/this.callback
http://studio.boardgamearena.com:8081/data/themereleases/181210-1452/js/dojoroot/dojo/dojo.js:15:75619
dojo/_base/xhr/</dojo.xhr/<
http://studio.boardgamearena.com:8081/data/themereleases/181210-1452/js/dojoroot/dojo/dojo.js:15:115115
_2f8
http://studio.boardgamearena.com:8081/data/themereleases/181210-1452/js/dojoroot/dojo/dojo.js:15:77461
_2f2
http://studio.boardgamearena.com:8081/data/themereleases/181210-1452/js/dojoroot/dojo/dojo.js:15:77325
_2f7/this.resolve
http://studio.boardgamearena.com:8081/data/themereleases/181210-1452/js/dojoroot/dojo/dojo.js:15:78786
_2fe
http://studio.boardgamearena.com:8081/data/themereleases/181210-1452/js/dojoroot/dojo/dojo.js:15:78062
_2f8
http://studio.boardgamearena.com:8081/data/themereleases/181210-1452/js/dojoroot/dojo/dojo.js:15:77677
_2f2
http://studio.boardgamearena.com:8081/data/themereleases/181210-1452/js/dojoroot/dojo/dojo.js:15:77325
_2f7/this.resolve
http://studio.boardgamearena.com:8081/data/themereleases/181210-1452/js/dojoroot/dojo/dojo.js:15:78786
_2fe
http://studio.boardgamearena.com:8081/data/themereleases/181210-1452/js/dojoroot/dojo/dojo.js:15:78062
_2f8
http://studio.boardgamearena.com:8081/data/themereleases/181210-1452/js/dojoroot/dojo/dojo.js:15:77742
_2f2
http://studio.boardgamearena.com:8081/data/themereleases/181210-1452/js/dojoroot/dojo/dojo.js:15:77325
_2f7/this.resolve
http://studio.boardgamearena.com:8081/data/themereleases/181210-1452/js/dojoroot/dojo/dojo.js:15:78786
_2fe
http://studio.boardgamearena.com:8081/data/themereleases/181210-1452/js/dojoroot/dojo/dojo.js:15:78062
_2f8
http://studio.boardgamearena.com:8081/data/themereleases/181210-1452/js/dojoroot/dojo/dojo.js:15:77677
_2f2
http://studio.boardgamearena.com:8081/data/themereleases/181210-1452/js/dojoroot/dojo/dojo.js:15:77325
_2f7/this.resolve
http://studio.boardgamearena.com:8081/data/themereleases/181210-1452/js/dojoroot/dojo/dojo.js:15:78786
_485
http://studio.boardgamearena.com:8081/data/themereleases/181210-1452/js/dojoroot/dojo/dojo.js:15:124245
_491
http://studio.boardgamearena.com:8081/data/themereleases/181210-1452/js/dojoroot/dojo/dojo.js:15:124550

This gives me no clue where the error (syntax error?) could be, since there is no indication on something in the personal files.

Have you any clue, experience with that that could help me to unstuck?

Thanks a lot!

Woodruff
12/10/2018 1 comment

Cribbage project

Earlier this year, a developer was working to implement cribbage. They said they needed help and I reached out to them but never heard back. I messaged them last week to see if they needed help and still no response. I was planning to implement Cribbage on my own, but I don't know the status with the other person that was working on it. I'm assuming it has been abandoned. Should I start it on my own from the beginning or is there some way to get what was already done and add on like open source software?

If I do start from scratch, how do I go about "claiming" it as something I am working on?
11/24/2018 1 comment


Application loading ... ...
THANK YOU : You are one of our most loyal players!
Get the best from Board Game Arena for only €2 / month.
1
2
3
4
5
6
7
8
9
10
11
12