News for hackers. Stuff that matters.
Re:Godot Engine Web Editor by learc83 on Sunday March 21, 2021 @09:46AM (#26530390)
This is very true. I built a game to go along with our wedding invitations. I’ve been maintaining it for the past 6 months, and it has stopped working on one browser or the other multiple times. This is despite the fact that I’m using a popular actively maintained JavaScript engine.

It noticed just a few days ago that is wasn’t working on my iPhone because mobileSafari decided to stop reporting itself as safari and only as “mobile safari”.

Re:Godot Engine Web Editor by onion2k on Tuesday March 23, 2021 @01:29AM (#26551440)
It noticed just a few days ago that is wasn’t working on my iPhone because mobileSafari decided to stop reporting itself as safari and only as “mobile safari”.

That points to your code doing browser agent sniffing. There are much better approaches to feature detection these days, precisely because of the issue you've encountered. I can recommend https://developer.mozilla.org/en-US/docs/Learn/Tools_and_tes... as a good place to start.

Re:Godot Engine Web Editor by learc83 on Wednesday March 24, 2021 @08:33PM (#26575036)
It wasn’t my code, it was engine code, and it was a problem where Safari reports that it doesn’t support a feature that it actually does.
Re:Godot Engine Web Editor by StavrosK on Sunday March 21, 2021 @11:06AM (#26530997)
Why do things break? The underlying primitives are as simple as a canvas element, no? I'd think it would be hard to break an array of literal pixels.
Re:Godot Engine Web Editor by jayd16 on Sunday March 21, 2021 @12:21PM (#26531519)
Well for starters even getting a canvas based UI working that supports all DPIs, all aspect ratios, live resize, clicks, and multi-touches is non-trivial.
Re:Godot Engine Web Editor by pjmlp on Monday March 22, 2021 @04:34AM (#26538161)
And unless we do some strange CSS tricks to force acceleration, there isn't even the guarantee that canvas is doing hardware acceleratd drawings.
Re:Godot Engine Web Editor by sfjailbird on Sunday March 21, 2021 @12:51PM (#26531779)
Not to mention text input.
Re:Godot Engine Web Editor by learc83 on Wednesday March 24, 2021 @08:40PM (#26575107)
Audio is what was breaking. Also WebGL outperforms canvas, and it’s more complex than drawing a bitmap to the screen.
Re:Godot Engine Web Editor by jan_Inkepa on Sunday March 21, 2021 @12:22PM (#26531531)
Sound stuff is still pretty unstable.