2 months ago

figured out something


what if i could put as much info as possible into the 4 numbers (rgb, and now alpha too)? each number has 256 different values (0 to 255). what if i would connect the 4 numbers into one and then break it down into as many as i want? so i did, and it gave me 32 bits to work with!

image.png

why? well, tiles could now change their propeties without completely swapping with another tile - "closed-doors" became open by replacing itself with the tile "open-doors", now it could just change the "solid" and "opaque" booleans and change the color to the color for open doors. properties can be changed dynamically.

this also allows for faster prerendering - i can make use of shaders and with that gpu's ability to speak colors and individual pixels

tiles in the tile atlas could hold the default values (when they are picked up for example), name, events and other stuff.

you can play with that project i have up there here
(chrome strongly recommended)

yappa yappa yappa

ill probably post some doodles later today



0 comments

Loading...

Next up

trying out digitigrade legs

he's an artist now

COLLISIONS

wha happening

did these

got a little sidetracked after seeing @BenjiroBoi 's post, what do you think?

out of all my games, this one will have a normal menu for once

was experimenting a bit

art trade with @Whiskey_Artz

#DarckySpookySticker (440x440 in article)