Python Minecraft with Ursina: sounds and floating trees fixed - part 25

Published: 16 January 2023
on channel: Red Hen dev
556
17

Happy 2023!

First, we replace the global sound objects for mining and pick-ups with integration in the collectible class, so that we have a much more satisfying sounds when digging and collecting. We also look at how to adjust pitch and volume of sounds, as well as playing them on command from the code.

Then we play with the Perlin noise seed of our terrain, changing from 2022 and 2023 and use temporary text to display this on the ui (deleting it at a timed interval using Ursina's destroy() method).

Finally, we investigate and fix the floating trees bug, a side-effect of having 'wiggled' the placement of trees away from a rigid grid.

Code and assets from video: https://github.com/RedHenDev/ursina_t...

Playlist:    • new Python Minecraft with Ursina  

Thanks for watching!


Watch video Python Minecraft with Ursina: sounds and floating trees fixed - part 25 online without registration, duration hours minute second in high quality. This video was added by user Red Hen dev 16 January 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 556 once and liked it 17 people.