7 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

doodels

a doodle :3

Little collab with @Vincent_M :3

the lights are almost working!

experimenting something a little simple this time

very big tail

Colorkind trailer

have another glowy

IT WORKS WOO--

quickly made something