v0.0.4
Good evening,
this weeks release should somewhat snappier, apart from that a lot has happened regarding items/mining and it's starting to resemble an actual game :)
Next week will mostly be spent on actually integrating v8 and experimenting with the scripting layer.
Hope you have fun with this one,
Ben
Changelog (summary)
- Add: Sound effects should now be spatial
- Add: Entities now have (simple) shadows
- Add: Simple inventory / hotbar
- Add: Items can now be dropped/collected, mainly blocks for now
- Add: Blocks can now be mined
- Change: The currently held item is now rendered, including a hit animation
- Change: Optimized the mesh generation
- Minor: Added a step sound
- Minor: Added a new spruce tree
New stuff
Sound effects should now be spatial
At least distance attenuation seems to work, kinda tricky to test the other parts since right now pretty much every sound gets emitted due to the player doing something, like mining, the block right in front of them. So it may need some more fine-tuning down the line.
Entities now have (simple) shadows
Just a simple port of the effect from the C version, makes ItemDrops look less of and not a particularly complicated effect to implement.
Simple inventory / hotbar
The game now has a simple inventory system, with everything just displayed in the hotbar directly.
Items can now be dropped/collected, mainly blocks for now
To drop a block you can press q
, apart from that there shouldn't be anything too suprising here.
Blocks can now be mined
Now they don't just disappear immediatly, instead you actually mine them, with each block taking a different time to mine.
Game(play) changes
The currently held item is now rendered, including a hit animation
So instead of the grenade always being rendered, the held item is shown, or a very ugly approximation of a hand/fist if no block
is selected. This also introduced a very simple animation system, which right now is only used to display a hit animation for characters.
Optimized the mesh generation
Nothing too fancy, just made sure that we don't do too much duplicate work.
Minor changes
Added step sound
Now you can hear you character walking about
Added a new spruce tree
Really like how this one turned out, especially the roots interact very nicely with the way they are placed during worldgen.