Scrolling city and clouds


dredds 2019-04-07 22:03 (Edited)

Demonstrates how to generate an infinite scrolling background, and dithering to make an overlay see-through.

In a fast action game, the player’s eye rarely focuses on the clouds long enough see the dithering, and so they appear transparent.

was8bit 2019-04-08 04:20

Very cool :)

Timo 2019-04-08 06:28

Nice idea!
Actually you don’t need the MOD operations anymore. SCROLL and most BG functions do it internally already.

dredds 2019-04-08 11:47

I used the MOD operator to avoid floating point errors. (When I write lowresnx programs I fall back on a lot of old habits from programming 8-bit home computers, but I don’t know how many are still valid)

Mrlegoboy 2019-04-17 03:10

This is aesthetically pleasing

Log in to reply.