This is a documentation for Board Game Arena: play board games online !

Studio FAQ: erinevus redaktsioonide vahel

Allikas: Board Game Arena
Mine navigeerimisribale Mine otsikasti
 
(ei näidata 2 kasutaja 26 vahepealset redaktsiooni)
5. rida: 5. rida:
There is a lot of tools to do that. Use the one you are the most comfortable with.
There is a lot of tools to do that. Use the one you are the most comfortable with.


On Linux, you can for example use the 'Connect to server' function of the Nautilus file management system, or use sshfs.
On Linux Gnome, you can for example use the 'Connect to server' function of the Nautilus file management system, or use sshfs.


On Windows, there is for example the WinSCP client.
On Windows, there is for example the [http://winscp.net/ WinSCP client].


== It's pretty annoying to log in with multiple users to start a game. Is there some easier way? ==
== I can't edit the files in my game directory, it looks like they are readonly. What's happening? ==


You can use the 'Express start' function. It will automatically make the specified number of players join the game (using the first of your ten player accounts available) and start the game.
Maybe there is a maintenance operation underway.


During the game, there is a red arrow on the right of each player name, that you can use to open a tab from this player's perspective.
If you don't get access back after some time (say one or two hours), please send us a mail to check.
 
You can also end the game in two clicks by clicking the 'End game' button then selecting 'Express game stop' in the popup.


== What is the working language on BGA studio? ==
== What is the working language on BGA studio? ==
29. rida: 27. rida:
== How can I provide translation in my language? ==  
== How can I provide translation in my language? ==  


BGA administrators will translate the game in French before the game release.
The community will translate the game in all language after the game release with the collaborative translation interface can be used to translate into other languages.
 
After the game release, the collaborative translation interface can be used to translate into other languages.
 
== Is there a special way to declare the strings that must be translated? ==
 
Yes. This declaration is made through transparent functions, that depend on the context.


In javascript files, you should use _( 'My string to translate' ).
Check [[Translations]] to see how to make your game translatable.
 
In php files, you should use self::_( 'My string to translate' ) when the string can be translated on the server side (ex: title included in the game layout) and clienttranslate( 'My string to translate' ) when the string must be translated on the client side (ex: message for the game log).


== I updated the images in the 'img' folder of my game, but they don't show? ==
== I updated the images in the 'img' folder of my game, but they don't show? ==


On BGA Studio, there is the gameserver you are developing on, and the main site server that serves to launch the games. The game icon, box and the publisher logo are hosted on the mainsite server, so they are not immediately available when you modify them on the gameserver. To deploy them on the main site, you have to use the Studio back office to do a commit.
'''Concerning game_box.png, game_icon.png and publisher.png''':
You must use "Reload game box image" function from "Control Panel / Manage Games / Your game" to make your change visible.


'''Concerning other images''':
Other images used during the game are immediately available without any action.
If the images still don't show after that, please try emptying your browser cache and reloading the page.
If the images still don't show after that, please try emptying your browser cache and reloading the page.


== I added some game options / some game statistics, but they don't show? ==
== I added some game options / some game statistics / some game infos but they don't show? ==
 
When you modify one of these 3 files, you need to use the corresponding update action from "Control Panel / Manage Games / Your Game" in order we can take this information into account.


An extra deployment action from the BGA administrators is needed to activate new game options and statistics. Please contact us.
== Should I use images free from copyright? ==


== Is there a quick way to access the database for my current table? ==
If you are developing a game in the public domain, yes (or you can make your own if you feel it's better).


Yes! While playing a game on studio, you have a "Go to game database" link at the bottom of your game. This link will bring you directly to the database for the current table.
If you are developing a game for which we have a licence, we will usually provide art files from the publisher.

Viimane redaktsioon: 30. september 2013, kell 17:26

This is a place where we will collect and answer frequently asked questions.

What should I use to access the files through SFTP?

There is a lot of tools to do that. Use the one you are the most comfortable with.

On Linux Gnome, you can for example use the 'Connect to server' function of the Nautilus file management system, or use sshfs.

On Windows, there is for example the WinSCP client.

I can't edit the files in my game directory, it looks like they are readonly. What's happening?

Maybe there is a maintenance operation underway.

If you don't get access back after some time (say one or two hours), please send us a mail to check.

What is the working language on BGA studio?

Working language is English.

Variables and functions must be named with English words.

Comments must be written in English.

Game interface strings and game logs must be written in English.

How can I provide translation in my language?

The community will translate the game in all language after the game release with the collaborative translation interface can be used to translate into other languages.

Check Translations to see how to make your game translatable.

I updated the images in the 'img' folder of my game, but they don't show?

Concerning game_box.png, game_icon.png and publisher.png: You must use "Reload game box image" function from "Control Panel / Manage Games / Your game" to make your change visible.

Concerning other images: Other images used during the game are immediately available without any action. If the images still don't show after that, please try emptying your browser cache and reloading the page.

I added some game options / some game statistics / some game infos but they don't show?

When you modify one of these 3 files, you need to use the corresponding update action from "Control Panel / Manage Games / Your Game" in order we can take this information into account.

Should I use images free from copyright?

If you are developing a game in the public domain, yes (or you can make your own if you feel it's better).

If you are developing a game for which we have a licence, we will usually provide art files from the publisher.