3 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

sleepy

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

#DarckySpookySticker (440x440 in article)

he's an artist now

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

doodles (a lot of them) (in no particular order)

more experimenting

yes the gaem is still alive progress post soon (not today) ;p

was experimenting a bit

huh.. is 379,6 hours in a year good or not?