Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

My web games are suddenly opening in a new window

A topic by PIE999 created Apr 10, 2024 Views: 2,344 Replies: 8
Viewing posts 1 to 2
(+2)

As the title says, just now I found out when I try to play my games, they keep opening in a new browser window. I don't know what's causing this, I have always been able to play them normally in the game page and I haven't changed anything recently. I'm able to play web games by other people in the same page just fine, this issue just seems to affect my games. I would appreciate some help.

Admin(+1)

Some versions of Firefox have compatibility issues for embedding a game into the page when the game needs SharedArrayBuffer (eg. Godot games). For that reason we’re now defaulting to launching games in a new window in all versions of Firefox.

We may look into an alternative solution, but for now this new method will ensure that every Firefox user will be able to play games without errors.

(+2)

Hey, this is making it so I can't play the games XD

I believe this happens because I have the NoScript extension installed

and opening a new window doesn't allow for temporary permissions

Firefox by default can block the opening of popup or new tab. Normally you get a small line of text at the top of Firefox notifying you that it was blocked and usually giving you the option to allow.

If not, in settings -> privacy & security -> block pop-out window -> exceptions. You can allow the entire itch site.

In no-script, you can check the option to trust itch.io and itch.zone

PS: I have been testing web games created in Godot and so far I don't have any problems and I also use Firefox with no-script.

(1 edit) (+2)

I have "Block pop-up windows" enabled, as well as "open links in tabs instead of new windows"
But even so, the games open a new window (instead of playing in-place like they did last time I checked about August last year)


The problem is in those popped-out windows, you don't have any of the standard controls. Including the addon buttons that would let me allow scripts

(+4)

I have a game that behaves weirdly when the viewport dimensions are adjusted. Beforehand this wasn’t an issue when the game was embedded on the page, but now users can easily resize the window and go fullscreen. Is there a way I can disable this feature?

(+3)

I too have games now that are having their graphics and layout distorted because they can't handle resizing well. I think that the newly opened window should restrict its initial size to what's specified in the game's 'Viewport dimensions' option, AND that the new window should be created as non-resizable UNLESS explicitly marked as resizable (e.g. by providing some new 'Allow resizing pop-up HTML window' embed option solely for this purpose). Or if non-resizable window is not feasible, just restrict the size of the viewport in the new window too.

Anyway, it's great that you're looking for solutions regarding the SharedArrayBuffer problems related to Godot+Firefox as it's been a pain lately. I do hope that at some point these tricks won't be needed anymore.

(+6)

This feature is broken when the browser game is password protected. The new window opens up into a 404 page.

I'm also experiencing the issue that schwizzlers mentioned, although I'm able to play if I'm logged-in to my account

I'm using Firefox version 126.0.1 on Windows 11

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.