jorio / Bugdom

🐛 Pangea Software's Bugdom for modern systems
https://pangeasoft.net/bug
Other
359 stars 24 forks source link

Steam Deck compatibility #29

Open jorio opened 1 year ago

jorio commented 1 year ago

Opening a new issue here to continue the conversation in #22 about the Steam Deck.

@Tagkit:

Anything in particular you are looking for / need feedback on?

Yes, I'd like to find out why the game runs in a low resolution on the Deck according to the screenshots I've seen so far.

@jm2:

SteamInput doesn't appear to get passed to the Pangea apps installed through Flathub and launched via Steam on the Deck. The AppImage binaries provided here work without issue.

Interesting. A possible explanation is that I bake a recent version of SDL into the AppImages. The Flatpaks probably rely on whatever SDL version is installed on the system. You can see SDL version info in the game's help screen.

Tagkit commented 1 year ago

Using the latest AppImage 1.3.2, the resolution of the game in fullscreen is equivalent to the max resolution on the Steam Deck display (1280x800). tNqP6x4

*I will note that turning full screen off while in Gaming Mode had no effect on gameplay or screen. It works as normal in Desktop mode.

Editing to add a bit more to address this comment in #22 @jorio

By the way, now that you've mentioned the Steam Deck, I'm curious about how Bugdom fares on it. The menus and the pause screen currently require a mouse; does the Deck's touchscreen work well in those? If that's a problem, I can look into making the menus controller-friendly.

In Gaming Mode on the menu screen, the left joystick defaults to a mouse cursor and 'A' acts as a mouse click to select the currently hovered option. Using the touch screen it is also possible to select options without trouble. Once in actual game the left joystick controls the movement normally, right joystick and/or trackpad control view direction. Putting the Deck to sleep with the game running and resuming after waking from sleep seems to work with little issue, only once did the left joystick seem to stop registering but upon clicking the right trackpad the game registered it again..

In Desktop mode, the touch screen only controls the cursor (not registering a click). Using the right trackpad instead one can direct the cursor and register a click. So far this was unnecessary because the game seems to detect the Deck inputs as a game controller regardless of if launched from Steam or executing the AppImage from the File Explorer. This allows control of the mouse at menu screen, pause screen, and in-game similar to how it does in Gaming mode(excluding touch screen behavior).