Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Mine does not look like that at all - not sure if I just missed something, but my ship is barely even visible, a small blue smudge on the screen. Not sure why, but literally none of the things you said are true for the web version I played, so maybe it's just a weird interaction on my Mac.

As for jerkiness, what I meant was that there's a lot of image jitter, in your terms. I have an extremely powerful Mac with a great graphics card, and almost no one else's games so far have had any problems with rendering (and if they did, they weren't simple 2D games like this). 

(6 edits)

Hm. This is very strange. It seems that this is exactly some kind of rendering problem  related to the browser and platform (I sometimes have artifacts in Chrome for Windows related to the scrollable parallax background sometimes), and it is possible that this is due to on-screen postprocessing, however I can't figure out what the problem is yet. It will be necessary to study this issue in more detail.

In order to port the game from Windows to the WebGL version, I had to disable or replace some shaders, because they did not work in the browser. As I wrote above, WebGL has two versions of the graphics API, the first version is usually used, but I used the second one because I use linear colour space and HDR.  But the second version of WebGL should be supported by everyone, because it is already 7 years old (but this does not mean that it works equally well),  but in any case WebGL's capabilities are very limited. Also, the WebGL engine is different for Windows and for Mac, for example, in Chrome for Windows, it forcibly uses DirectX, which I was guided by (to be honest, I have never worked with OpenGL and Metal at all, I have always worked exclusively with DirectX and do not know what is beyond it), while in Chrome for Mac and Linux, OpenGL is used (at least it used to be early before Metal, I don't rule out that Apple might have changed something).  Moreover, different browsers have slightly different WebGL engines, but I did not expect that there might be problems on MacBooks 0_0 I will need to see if possible how the game works from under the browser in Linux, it may be interesting :-)

However, I was able to run the game even in browser on my phone lol, it looks exactly the same as on Chrome in PC, only the game input has gone mad and something is wrong with viewport, but it was expected :-)


However, this is not Chrome, this is a different browser - Yandex-browser :-) Chrome on my phone, couldn't launch the game  - it just freezes at start :-)  In other words, the behavior differs from browser to browser even on the same platform...very interesting. I expected that WebGL's behavior would still be more predictable, it would be good to understand what exactly causes such things...

(4 edits) (+1)

As for simple 2D games and powerful video cards, I once had a case about 4 years ago when running a regular calculator in Windows caused a BSOD due to video adapter failures, as it turned out, the problem was with the drivers (and it could not be solved for about six months and was observed in all the cards of one microarchitecture but in different ways).  In general, it can be anything.
But in your case related to what combination of platform, browser, and shaders which I use in game, but that's just my guess, and I don't have a Mac to reproduce this error in the near future and understand what the reason is :-(
But I will remember this question.