<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.doc.boardgamearena.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Docthib</id>
	<title>Board Game Arena - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://en.doc.boardgamearena.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Docthib"/>
	<link rel="alternate" type="text/html" href="https://en.doc.boardgamearena.com/Special:Contributions/Docthib"/>
	<updated>2026-11-07T02:49:27Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://en.doc.boardgamearena.com/index.php?title=I_wish_I_knew_this_when_I_started&amp;diff=7785</id>
		<title>I wish I knew this when I started</title>
		<link rel="alternate" type="text/html" href="https://en.doc.boardgamearena.com/index.php?title=I_wish_I_knew_this_when_I_started&amp;diff=7785"/>
		<updated>2021-03-30T19:49:37Z</updated>

		<summary type="html">&lt;p&gt;Docthib: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains most &amp;quot;I wish I knew this before...&amp;quot; momentics (in regards to BGA studio game development). One line per statement please with doc references. Docs can be outside of BGA wiki.&lt;br /&gt;
Can you add your name at the end of &amp;quot;quote&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* Browser caches images and css, to force re-cache use Ctrl+F5 or Ctrl+Shift+R, and sometimes it&#039;s not enough so go to the web console &amp;gt; Network &amp;gt; check &amp;quot;disable cache&amp;quot;&lt;br /&gt;
* Browser has powerful embeded dev tools for inspection of dom, css and js, you can debug js right in browser (F12)&lt;br /&gt;
* You don&#039;t have to login with another dev account to play test the game under development, little colored arrows on studio player panel switch between test accounts&lt;br /&gt;
* You can run PHP functions from chat&lt;br /&gt;
* You change style of elements (css) depending on their parent, sibling or other properties of the element&lt;br /&gt;
* You cannot save php state in global variables between actions, all data has to be stored in db&lt;br /&gt;
* Ajax actions in BGA do not use the traditional request-response model of a normal application. The ajax response does not contain any payload and instead you must send a notification (self::notifyAllPlayers) to communicate the response to appropriate players.&lt;br /&gt;
* Almost every change you make to the game via sending notifications must also be included in getAllDatas (e.g., in case a player loads/refreshes the game during the middle of play).&lt;br /&gt;
* You can easily scale elements by using &amp;quot;em&amp;quot; as unit for wight/height and varying font-size, i.e. .meeple {width: 2em;height: 2.5em;font-size: 20px;}&lt;br /&gt;
* You can access your javascript methods / properties in the browser console using &#039;&#039;&#039;&#039;&#039;gameui.&amp;lt;yourMethod&amp;gt;&#039;&#039;&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Docthib</name></author>
	</entry>
	<entry>
		<id>https://en.doc.boardgamearena.com/index.php?title=I_wish_I_knew_this_when_I_started&amp;diff=7784</id>
		<title>I wish I knew this when I started</title>
		<link rel="alternate" type="text/html" href="https://en.doc.boardgamearena.com/index.php?title=I_wish_I_knew_this_when_I_started&amp;diff=7784"/>
		<updated>2021-03-30T19:49:19Z</updated>

		<summary type="html">&lt;p&gt;Docthib: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains most &amp;quot;I wish I knew this before...&amp;quot; momentics (in regards to BGA studio game development). One line per statement please with doc references. Docs can be outside of BGA wiki.&lt;br /&gt;
Can you add your name at the end of &amp;quot;quote&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* Browser caches images and css, to force re-cache use Ctrl+F5 or Ctrl+Shift+R, and sometimes it&#039;s not enough so go to the web console &amp;gt; Network &amp;gt; check &amp;quot;disable cache&amp;quot;&lt;br /&gt;
* Browser has powerful embeded dev tools for inspection of dom, css and js, you can debug js right in browser (F12)&lt;br /&gt;
* You don&#039;t have to login with another dev account to play test the game under development, little colored arrows on studio player panel switch between test accounts&lt;br /&gt;
* You can run PHP functions from chat&lt;br /&gt;
* You change style of elements (css) depending on their parent, sibling or other properties of the element&lt;br /&gt;
* You cannot save php state in global variables between actions, all data has to be stored in db&lt;br /&gt;
* Ajax actions in BGA do not use the traditional request-response model of a normal application. The ajax response does not contain any payload and instead you must send a notification (self::notifyAllPlayers) to communicate the response to appropriate players.&lt;br /&gt;
* Almost every change you make to the game via sending notifications must also be included in getAllDatas (e.g., in case a player loads/refreshes the game during the middle of play).&lt;br /&gt;
* You can easily scale elements by using &amp;quot;em&amp;quot; as unit for wight/height and varying font-size, i.e. .meeple {width: 2em;height: 2.5em;font-size: 20px;}&lt;br /&gt;
* You can access your methods / properties in the browser console using &#039;&#039;&#039;&#039;&#039;gameui.&amp;lt;yourMethod&amp;gt;&#039;&#039;&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Docthib</name></author>
	</entry>
</feed>