This is a documentation for Board Game Arena: play board games online !
I wish I knew this when I started
Jump to navigation
Jump to search
This page contains most "I wish I knew this before..." momentics (in regards to BGA studio game development). One line per statement please with doc references. Docs can be outside of BGA wiki. Can you add your name at the end of "quote".
- Browser caches images and css, to force re-cache use Ctrl+F5, and sometimes it's not enough so go to the web console > Network > check "disable cache"
- Browser has powerful embeded dev tools for inspection of dom, css and js, you can debug js right in browser (F12)
- You don'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
- You can run PHP functions from chat
- You change style of elements (css) dependnig on their parent, sibling or other properties of the element
- You cannot save php state in global variables between actions, all data has to be stored in db