major milestone in block game development: the first actual gameplay! you can go around and hold the left mouse button on blocks in order to break em

eniko@mastodon.gamedev.place
Beiträge
-
refined the 3d cursor a bit. -
refined the 3d cursor a bit.i can now overlay a block breaking decal on blocks, and it works on blocks with shell texturing and even nominally on objects like ferns and flowers
i draw the block's faces again using the stencil buffer, then draw the breaking decal with depth read/write off, masking using the stencil buffer
the way it works for ferns/flowers is i just draw all faces of the breaking pattern block, and any pixels outside the object model are masked
-
refined the 3d cursor a bit.added an outline to the 3d cursor so it's always visible
-
refined the 3d cursor a bit.oooohhhh what if i made it jiggly??
-
refined the 3d cursor a bit.testing customizable thickness/opacity for the 3d cursor. think being able to set this to whatever you want will be nice for accessibility
-
refined the 3d cursor a bit.fun fact: in order to draw the cursor as translucent i had to use the stencil buffer, because the boxes that make up the "lines" overlap at the corners, so without the stencil buffer it'd be more opaque at the corners
-
refined the 3d cursor a bit.refined the 3d cursor a bit. pretty happy with it. the thickness will be user adjustable. it also shows through terrain, but slightly dimmer where it's obscured
also showing "mouse pointer mode" where you can mouse over anywhere on screen to interact with blocks, and you mouselook with the right mouse button
thinking of keeping this as a toggleable mouse mode. thoughts?
edit: broke my thread
previous posts are here https://mastodon.gamedev.place/@eniko/115345413827332419
-
btw in case you spotted it a few days ago as test audio for my devlog feed on my site and liked it: this is the theme music for my YouTube channel and it was made bespoke for me, using the latest in newfangled OPL3 FM synthesis technologybtw in case you spotted it a few days ago as test audio for my devlog feed on my site and liked it: this is the theme music for my YouTube channel and it was made bespoke for me, using the latest in newfangled OPL3 FM synthesis technology
it's called Whatcha Playin 90s Kid and i *love* it. please enjoy
-
i think it's funny when people say "mastodon has moderation issues too!"i think it's funny when people say "mastodon has moderation issues too!"
of course it does. it's millions of real, messy humans interacting over multiple communities with intersecting and often contradictory rules, moderated by real, messy humans with feelings and biases. of course it has moderation issues, it's inescapable when you put millions of people together
the thing that makes fedi (imo) better is that here you get to at least *choose* the messy humans making the decisions for you
-
hm just realized my direct lighting storage solution has a flaw.you can see the issue here. though when i mix in the indirect light it's not so big an issue so maybe i'll just opt to not fix it
-
hm just realized my direct lighting storage solution has a flaw.hm just realized my direct lighting storage solution has a flaw. if there's diagonal geometry like
[_][#]
[#][_]and a diagonal ray coming from the bottom right hits the point in the center it shouldn't propagate further, and doesn't. but the center point stores the face lighting for all adjoining 8 blocks, which means the top left block will be lit from the point in the center, even though it shouldn't
to store each vertex would take 24 values
that'd really balloon the memory requirements
-
"hey eni whatcha working on" -
Oh, Kitsune Tails, our overwhelming positive rated and award winning queer Super Mario Bros 3-like is 30% off on Steam this week https://store.steampowered.com/app/1325260/Kitsune_Tails/Oh, Kitsune Tails, our overwhelming positive rated and award winning queer Super Mario Bros 3-like is 30% off on Steam this week https://store.steampowered.com/app/1325260/Kitsune_Tails/
-
fuck it