Search found 7 matches

by snugglecactus
02 January 2024, 18:44
Forum: Developers
Topic: CORS issue with Firefox and fetch
Replies: 3
Views: 1693

Re: CORS issue with Firefox and fetch

Sorry for the late reply. All I'm trying to do is use a `.svg` file as a sprite sheet, but the 'Content-Security-Policy' is not allowing me to load the svg file at `https://studio.boardgamearena.com:8084` when the web page is loaded from `https://studio.boardgamearena.com` (note the lack of a port n...
by snugglecactus
30 December 2023, 20:07
Forum: Developers
Topic: Play sound
Replies: 11
Views: 4067

Re: Play sound

If I wanted to use my own sounds in addition to the built-in sounds, would including the sound files in the "img" folder be enough for them to be included in the package deployed to production?
by snugglecactus
12 December 2023, 04:34
Forum: Developers
Topic: Cache-busted scripts causing unnecessary load time
Replies: 7
Views: 472

Re: Cache-busted scripts causing unnecessary load time

Those numbers are for normal reloads, not hard reloads. It's possible we're seeing different load times due to geographic location. You may be closer to the origin server (I'm in south Florida, United States). I wouldn't be surprised if BGA only runs a single instance of their development server. Of...
by snugglecactus
12 December 2023, 02:36
Forum: Developers
Topic: Cache-busted scripts causing unnecessary load time
Replies: 7
Views: 472

Cache-busted scripts causing unnecessary load time

The development cycle has been abysmal for me (e.g. 12 seconds between page reload and testing my game), due to files like `lang_mainsite.js` being cache-busted with `?[timestamp here]` . That file specifically can take 4 seconds to load by itself, and its loading begins ~6 seconds after the page re...
by snugglecactus
25 November 2023, 20:53
Forum: Developers
Topic: CORS issue with Firefox and fetch
Replies: 3
Views: 1693

CORS issue with Firefox and fetch

Firefox won't let me `fetch` an asset from g_gamethemeurl. See the following error: Security Error: Content at https://studio.boardgamearena.com/1/skipto?table=533414 may not load data from https://studio.boardgamearena.com:8084/data/themereleases/current/games/skipto/999999-9999/img/out/icons.svg. ...
by snugglecactus
25 November 2023, 05:18
Forum: Developers
Topic: ALTER TABLE 'player'
Replies: 6
Views: 1170

Re: ALTER TABLE 'player'

Tisaac wrote: 30 July 2022, 17:13
Oermelie wrote: 28 July 2022, 08:30 my game is fully working until I comment out this line
You very likely just forgot to change the INSERT statement with that extra field.
Shouldn't be a problem with the `DEFAULT` clause there.
by snugglecactus
13 November 2023, 05:36
Forum: Developers
Topic: Browser usage on BGA
Replies: 9
Views: 4040

Re: Browser usage on BGA

Is there any recent guidance on this? Should I only care about modern browsers for the initial version of my game?

Go to advanced search