got bored and made a little house in block game :3
got bored and made a little house in block game :3
okay i've modelled and pixelled bushes that aren't just leaf blocks and yeah, this is looking nice and lush now! you can also walk through bushes as requested, and you can still break them for sticks for torches
okay i've modelled and pixelled bushes that aren't just leaf blocks and yeah, this is looking nice and lush now! you can also walk through bushes as requested, and you can still break them for sticks for torches
now spawning bushes using leaf blocks. gonna give them a bit of a different look from leaf blocks at some point but the basic idea mostly works
i can now spawn sticks under/near trees during chunk generation :3
they don't do anything special, since you can get sticks from breaking leaf blocks, but it's just a little touch that makes the world feel more alive
people keep asking about modability and (aside from reskinning the gui) i now have an answer
block game uses an entity component system so i've made a json file for entity templates so i can easily create entities. so if nothing else you'll be able to mod the game by editing this file
filed under "things block game does that minecraft doesn't," it can now handle rotated (oriented) bounding boxes. and also you can now target entities that are lying around the world :3
after a suggestion (which you can read here https://kolektiva.social/@tiotasram/115417803206878882) i've decided to make torches craftable via a fantasy plant (flamereeds, a sort of cattail with an oily/sappy case around flammable cottony inside) combined with sticks
also put the hint indicator at the top of the screen to show block names when you target them
after a suggestion (which you can read here https://kolektiva.social/@tiotasram/115417803206878882) i've decided to make torches craftable via a fantasy plant (flamereeds, a sort of cattail with an oily/sappy case around flammable cottony inside) combined with sticks
also put the hint indicator at the top of the screen to show block names when you target them
slight diversion to test out an idea i had for rendering contextual onscreen hints
looks alright but i think i might need to have a separate smaller font for this one. or even maybe a non-pixel font. but it'll do for now
edit: the hint location is flexible (because it'd presumably follow your cursor in cursor mode) and it's just in the center here cause it was convenient for testing
please welcome block game's first ever rendered entity: the stick!
made a little shack :3
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
added an outline to the 3d cursor so it's always visible
oooohhhh what if i made it jiggly??
testing customizable thickness/opacity for the 3d cursor. think being able to set this to whatever you want will be nice for accessibility
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
did the important work of switching index buffers over from 16 bit indices to 32 bit indices in the unlikely but potentially possible case of a vertex buffer having more than 65k vertices in it
this change is invisible so have a screenshot of a cool hole