tophat2d / tophat

:tophat: a 2d game library for Umka
https://tophat2d.dev
BSD 3-Clause "New" or "Revised" License
73 stars 5 forks source link

Web: Space shooter: Background stars are not uniformly distributed #214

Open vtereshkov opened 1 month ago

vtereshkov commented 1 month ago

Unlikely to be related to the latest changes in the random number generator in Umka, as the same problem is seen in the example built for the Tophat website.

Chrome:

image

Firefox:

image

skejeton commented 1 month ago

I'm not sure I can reproduce it, I get the same result in Chrome as in Firefox: image

vtereshkov commented 1 month ago

On my laptop, the effect depends on the browser window size. Is it a kind of aliasing?

marekmaskarinec commented 1 month ago

I was also able to recreate this in a Chromium browser. It seems to be some kind of aliasing issue. The effect is best seen while you change the window size.

I'd say let's keep this open for now, we can get back to this when working on the new renderer.

marekmaskarinec commented 1 month ago

Possibly related: #205