News for hackers. Stuff that matters.
Re:Direct Sockets API in Chrome 131 by mhitza on Friday November 01, 2024 @10:49PM (#42023695)
Longest Yard is my favorite Q3 map, but for some reason I cannot use my mouse (?) in your version of the Quake 3 demo.
Re:Direct Sockets API in Chrome 131 by modeless on Friday November 01, 2024 @10:50PM (#42023704)
Interesting, what browser and OS?
Re:Direct Sockets API in Chrome 131 by mhitza on Friday November 01, 2024 @10:51PM (#42023712)
Brave browser (Chromium via Flatpak) on the Steam Deck (Arch Linux) in Desktop mode with bluetooth connected mouse/keyboard.
Re:Direct Sockets API in Chrome 131 by topspin on Friday November 01, 2024 @11:03PM (#42023764)
Same browser on win10. Mouse works after you click in the window and it goes full screen. However, it hangs after a few seconds of game play.

Stopped hanging... then input locks up somehow.

Switched to chrome on win10, same issue: input locks up after a bit.

Re:Direct Sockets API in Chrome 131 by modeless on Saturday November 02, 2024 @12:05AM (#42023992)
Yeah that issue I have seen, but unfortunately haven't been able to debug as it isn't very reproducible and usually stops happening under a debugger.
Re:Direct Sockets API in Chrome 131 by topspin on Saturday November 02, 2024 @06:35PM (#42029712)
Even with the problems, just the few seconds of playing before the crash+input hang got me hooked. So, off to GOG to get q3a for $15. Also, quake3e with all the quality, widescreen, aspect ratio and FPS tweaks... chatgpt 4o seems to know everything there is to know about quake3e, for some reason.

Talk about getting nerd sniped.

Re:Direct Sockets API in Chrome 131 by modeless on Saturday November 02, 2024 @01:27AM (#42024249)
Hmm, I bet the problem is my code expects touch events instead of mouse events when a touchscreen is present. Unfortunately I don't have a computer with both touchscreen and mouse here to test with so I didn't test that case. I did implement both gamepad and touch controls, so you could try them to see if they work.
Re:Direct Sockets API in Chrome 131 by mhitza on Friday November 01, 2024 @10:57PM (#42023733)
Works in Firefox, on the same system.
Re:Direct Sockets API in Chrome 131 by nmfisher on Saturday November 02, 2024 @05:59AM (#42025271)
I can't use mouse either, macos/Chrome. Otherwise, cool!