TUXDB - LINUX GAMING AGGREGATE
by NuSuey
NEWSFEED
▪️ GAMES
▪️ STEAM DECK ▪️ DEALS ▪️ CROWDFUNDING ▪️ COMMUNITY
tuxdb.com logo
Support tuxDB on Patreon
Currently supported by 10 awesome people!

🌟 Special thanks to our amazing supporters:


✨ $10 Tier: [Geeks Love Detail]
🌈 $5 Tier: [Arch Toasty][Benedikt][David Martínez Martí]

Steam ImageSteam ImageSteam ImageSteam ImageSteam Image
Gamepads, gamepads & gamepads

Sidetracking extravaganza with gamepads this past week. Originally started a check to make sure that using a gamepad was working well when solving a particular puzzle. While doing this, I noticed a bug with the gamepad and started to work on fixing it. This led to taking a thorough review and improvement tour of the gamepad implementation.
Three out of seven different controllers used while testing. Good to have been a gamer for many years... I managed to search the house and find seven different controllers. Oldest models being a Playstation 2 replica from Logitech, SNES controller replica (8BitDo) and a XBox 360 controller. The most modern I (kids rather, but don't tell them) had was a XBox Series X controller and a Nintendo Switch Pro. Thanks to browsers having a quite solid Gamepad API, most gamepads work as intended even though there is no 100% standard set for what a gamepad sends as input. Unfortunately different browsers have some variations, meaning a gamepad can be perfect in a browser based on Chromium, while half-working in FireFox. As I build the game using Electron, which is Chromium based, I am only worried about making sure it works as intended for it.

List of improvements


First change I made was adding a prompt for the user to select what type of button layout the gamepad has that was connected. Gamepads do not directly have a value that says "I am this type of gamepad". They do have a device string that contains something about manufacture and the model, but in a way where you essentially would have to compile a long list of string for each gamepad and use that to automate assignment. I decided that simply asking would be the most foolproof and quickest way to implement.
This prompt is only shown the first time a new gamepad sends input. Next time you play the game, the first gamepad used will be the gamepad for player one and the type of gamepad will be retrieved from the stored gamepad profile. While all gamepads connected get assigned to a player, they can all be used to navigate the menus. If the current gameplay is only for one player, then all gamepads can be used to control the player. Only when doing a hotseat multiplayer activity will the different gamepads be limited to different players. In fact you can, if you want, use the keyboard to control part of the player, one gamepad for something and another for something else, and then to go full mental and use the touch controls as well. Neat and a good waste of time! Gamepads now have icons for their buttons, previously it was only text that said what button had been configured.

Xbox gamepad to the left, PS gamepad to the right. Icons and configuration auto updates based on the last gamepad used. So if the gamepad configuration window is open, like shown above, the settings are directly updated to match the current gamepad used. Final improvement was how the game handles a disconnected gamepad. If a gamepad is disconnected, the game will wait for one of two events to occur. Either that the missing gamepad re-connects, and then will be re-assigned to the player that had it previously. Or, that a new gamepad connects and that gamepad will then be assigned to the player missing a gamepad. Now I really should get back to moving the actual game forward in its development.


[ 2025-02-21 16:01:01 CET ] [ Original post ]

A Ruthless World
Spelmakare Jens Nilsson AB Developer
Spelmakare Jens Nilsson AB Publisher
2024 Release
Game News Posts: 6
🎹🖱️Keyboard + Mouse
🕹️ Partial Controller Support
🎮 Full Controller Support
No user reviews (0 reviews)
An adventure, puzzle platformer with 80s styled graphics and modern physics. Tidy up at home, pick your style for the day and get to work at your beloved Juice™ battery factory. Getting to work will turn out to be more difficult than expected and the plot thickens as strange creatures and events occur.



On the journey you'll get new abilities, learn how to combine and use them to overcome obstacles and dangers. Each step on the journey is a short scene, making your life easier when you fail, or when the real world calls on you.

Features
  • Easy controls
  • Keyboard, gamepad or touch input
  • Character customization
  • Low system requirements

MINIMAL SETUP
  • OS: Ubuntu 18.04 LTS or similar
  • Processor: Intel Core i3. AMD equivalentMemory: 2 GB RAM
  • Memory: 2 GB RAM
  • Graphics: Intel UHD
  • Storage: 1 GB available space
RECOMMENDED SETUP
  • OS: Ubuntu 20.04 LTS or similar
  • Processor: Intel Core i5. AMD equivalentMemory: 4 GB RAM
  • Memory: 4 GB RAM
  • Graphics: AMD Radeon / NVIDIA Geforce
  • Storage: 1 GB available space
GAMEBILLET

[ 6043 ]

12.29$ (18%)
25.99$ (63%)
9.54$ (36%)
24.89$ (17%)
20.65$ (17%)
4.95$ (17%)
12.73$ (36%)
12.44$ (17%)
10.18$ (83%)
12.45$ (11%)
34.79$ (13%)
21.24$ (15%)
6.79$ (15%)
29.99$ (40%)
8.39$ (16%)
16.79$ (16%)
17.19$ (14%)
10.73$ (17%)
10.91$ (16%)
21.22$ (15%)
16.39$ (18%)
10.39$ (65%)
5.07$ (15%)
9.45$ (27%)
8.40$ (83%)
29.74$ (15%)
8.79$ (20%)
29.71$ (15%)
9.00$ (70%)
17.80$ (29%)
GAMERSGATE

[ 687 ]

2.25$ (89%)
1.5$ (70%)
0.87$ (91%)
3.51$ (73%)
1.5$ (85%)
1.35$ (89%)
1.5$ (90%)
3.75$ (85%)
0.56$ (81%)
1.5$ (81%)
0.83$ (91%)
2.03$ (86%)
0.9$ (92%)
3.0$ (80%)
33.19$ (17%)
0.56$ (81%)
3.75$ (81%)
1.31$ (91%)
2.5$ (50%)
0.45$ (85%)
0.56$ (81%)
4.95$ (67%)
3.75$ (85%)
6.5$ (50%)
7.7$ (78%)
0.56$ (81%)
21.99$ (45%)
0.56$ (81%)
5.28$ (74%)
1.32$ (91%)

FANATICAL BUNDLES

Time left:

356423 days, 2 hours, 37 minutes


Time left:

9 days, 10 hours, 37 minutes


Time left:

5 days, 10 hours, 37 minutes


Time left:

4 days, 10 hours, 37 minutes


Time left:

11 days, 10 hours, 37 minutes


Time left:

37 days, 9 hours, 37 minutes


Time left:

19 days, 10 hours, 37 minutes


Time left:

22 days, 10 hours, 37 minutes


Time left:

8 days, 10 hours, 37 minutes


Time left:

24 days, 10 hours, 37 minutes


Time left:

32 days, 10 hours, 37 minutes


HUMBLE BUNDLES

Time left:

10 days, 4 hours, 37 minutes


Time left:

13 days, 4 hours, 37 minutes


Time left:

18 days, 3 hours, 37 minutes

by buying games/dlcs from affiliate links you are supporting tuxDB
🔴 LIVE