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!

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!

Game File Reference

Overview



Useful Components

Official

  • Deck: a PHP component to manage cards (deck, hands, picking cards, moving cards, shuffle deck, ...).
  • Draggable: a JS component to manage drag'n'drop actions.
  • Counter: a JS component to manage a counter that can increase/decrease (ex: player's score).
  • 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.
  • 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)

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

Unofficial



Game Development Process



Guides for Common Topics



Miscellaneous Resources

Bga studio small.jpg

Note: Please DO NOT translate Studio Documentation, so that there can be one place where you can find the latest information available.

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

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're 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.

Reference for classes in game class hierarchy

  • Table: a PHP class that you inherit from for the game php

BGA Studio user guide

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

Lifecycle


Tools and Advice

Sharing

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 the Terms & Conditions for developers on BGA Studio.


Register


Where is the documentation on "spectator"?

I cannot even find the button that lets me view the game from the spectator's perspective.

A key word search on "spectator" has found enough results for me to be able to create some spectator content, but if I cannot test it yet, I must be missing something.

I'm not sure if it's even worth it. Can spectator mode be disabled?
09/17/2021 2 comments

Looking for a kind developper for our game Scriptoria

Hi,

We are a young french publisher called Le Lion vert (The Green Lion) and we would like to get our second game onto this platform. So we are looking for a kind developper to hire for this task.

Here’s an overview of the game.

In Scriptorium, you become a monk or nun copyist in the abbey of Dalheim in the Middle Ages, trying to achieve the most beautiful illumination. Each round (day) is divided into 3 phases (the hours).

1st Hour: Inks

There are five inks: black, gold, blue, green and red. Each copyist in turn takes up to two of different colors. It is forbidden to take gold and black at the same time.

2nd Hour: Lecterns

The sketches are parts of your illumination to be completed. There are several types: frieze, frieze corner, miniature, text and initial letter. Several sets of 4 sketches are offered (one more than the number of players). The first tease is that you choose a prize, instead of taking it, you give it to your opponent. Each bundle also includes an inkwell that grants you additional ink.

Last Hour: Illuminations

Now is the time to draw your sketches on your Illumination using the inks you have collected and marking points of Illumination. If you are faster than other copyists at finishing a full portion of your Illumination, you score additional completion points.

Is that all ? Not yet
There is a second tease. During the 1st Hour, you can decide at any time to stop collecting inks and to study the art of illumination. You will have no more inks but you will be able, at the 2nd Hour, not only to choose your batch of sketches first, but also to keep it for yourself! So, it is better to be quick to benefit from it before the others, but not too much so as not to find yourself running out of ink.

That's all ? Still not yet

There is one final tease. You can get help to speed up your drawing. Each Help makes you lose 2 points if spent. This time, this is it. We repeat this until one of the copyist has achieved his illumination. At the end of the day, the copyist who has the most Illumination points wins. The overview of these rules ends here. The game is played by two to four players, lasts about 45 minutes and seems playable to me from 10 years old, or even younger.

Are you interested ?

You can have it in french wuth a picture :https://clavelus.blogspot.com/2020/02/q ... orium.html
And here’s the link to the publishers’s site : https://lelionvert.com/
09/16/2021 Comment on this

Collaborative game - Differenciate wins ELO value

Hi,

While developing Burgle Bros. (full collaborative game https://boardgamearena.com/gamepanel?game=burglebros), I implemented several options for the game, some are easier to play (level easy / normal / hard and 3 scenarios from beginner to veterans).

I was considering those ideas to make the ELO representative (because for Hanabi for instance, you just have to play a lot of games to have a high ELO, it's really hard to loose):
  • Not rewarding the "too easy modes" to avoid ELO farming
  • Rewarding better the harder options when some player uses them
My questions are:
1. Do you think this is a good idea or should I avoid it?
2. How can I implement the way that some options shouldn't score ELOs (without losing)?
3. How can I implement the way that some options would score more ELOs than others?

Thanks for your advice
09/14/2021 3 comments


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