Search found 20 matches

by IndianaScones
02 September 2025, 17:45
Forum: Developers
Topic: Balance Testing & Social Proofing A Game On BGA Before Print
Replies: 7
Views: 116

Re: Balance Testing & Social Proofing A Game On BGA Before Print

One thing to consider is that BGA will not allow a digital implementation of a game that can't be purchased in physical form.
by IndianaScones
12 April 2023, 02:29
Forum: Developers
Topic: container with id -right-side moved to top when screen is wider
Replies: 5
Views: 341

Re: container with id -right-side moved to top when screen is wider

Yep, I experimented with something like this a while ago when I was early in working on the overall layout but abandoned it because it wasn't solving my problem. So I have tested it but not extensively. It worked fine in the short amount of time I was using it. If you look at Wingspan, it is set to ...
by IndianaScones
11 April 2023, 03:12
Forum: Developers
Topic: container with id -right-side moved to top when screen is wider
Replies: 5
Views: 341

Re: container with id -right-side moved to top when screen is wider

You should be able to do it with this in your JS Setup:

Code: Select all

if( screen.width <= 1200 ) {
	dojo.removeClass('ebd-body', 'desktop-version');
	dojo.addClass('ebd-body', 'mobile-version');
}
by IndianaScones
14 March 2023, 23:23
Forum: Developers
Topic: AddButton - 2 projects / 1 js - Not same result
Replies: 3
Views: 482

Re: AddButton - 2 projects / 1 js - Not same result

In case anyone else finds this, I just had the same problem and the reason was that I was using 'id' as a key in an insert_block() function in view.php. That very problem is warned about in the doc, I had just missed it.
by IndianaScones
03 February 2023, 16:21
Forum: Developers
Topic: The Case of the Disappearing Divs
Replies: 6
Views: 420

Re: The Case of the Disappearing Divs

I was going to create them in the state, move them where they would stay for the rest of the game, and remove the ones nobody chose. But at any rate I'm going to handle it all in the JS setup() now.
by IndianaScones
03 February 2023, 00:16
Forum: Developers
Topic: The Case of the Disappearing Divs
Replies: 6
Views: 420

Re: The Case of the Disappearing Divs

I'm not really sure I follow the details here very well - but I suggest that whatever you're trying to do, you do in a different way. It makes zero sense (to me at least) to have a "game" state that doesn't actually do anything on the server side. (And if you do need to do something on th...
by IndianaScones
02 February 2023, 21:06
Forum: Developers
Topic: The Case of the Disappearing Divs
Replies: 6
Views: 420

The Case of the Disappearing Divs

I'm having some trouble implementing my first couple game states. The first state is a "game" state that simply places a set number of character elements in a wrapper beneath the title message area so that the players can choose from them. That transitions to an "activeplayer" st...
by IndianaScones
27 January 2023, 06:34
Forum: Developers
Topic: array_map() not working as expected in game.php
Replies: 2
Views: 520

Re: array_map() not working as expected in game.php

You should check the PHP documentation about array_map() . It returns the modified array. It doesn't work in place. You should probably use array_walk if that's the behaviour you need... Or even array_filter looking at your example... Also, that's a personal note, but I tend to avoid using global s...
by IndianaScones
27 January 2023, 00:04
Forum: Developers
Topic: array_map() not working as expected in game.php
Replies: 2
Views: 520

array_map() not working as expected in game.php

I have the following code: (it's meant for setupNewGame() but is currently in getAllDatas() so I can debug it) $asset_deck = self::getObjectListFromDb("SELECT card_location_arg, card_type_arg, card_id FROM cards_and_tokens WHERE card_location='asset_deck'"); $gear_assets = []; function sor...
by IndianaScones
24 January 2023, 18:59
Forum: Developers
Topic: Tooltips not respecting png transparency
Replies: 5
Views: 416

Re: Tooltips not respecting png transparency

Okay this is today's case study : Analyze: - dojo tootilp generates the element ".dijitTooltipContainer" with a css giving background and border - I tried to use some css selector like ".dijitTooltipContainer:has(>.midSizeDialog>.shared_objective)" to modify the parent of the ge...

Go to advanced search