Python Minecraft with Ursina: draggable inventory and ui - part 14

Опубликовано: 16 Октябрь 2024
на канале: Red Hen dev
1,006
24

Welcome back! Sorry for the wait.

In this video we continue building our inventory system. We inherit from Ursina's Draggable class and make our own Item class.

We also add a minerals dictionary to our config file so that we can manage our new block types and items (grass, soil, ruby, pick-axe) more easily. To demonstrate the usefulness of this, at the end of the video we create 'emerald' with just a few lines of code.

Do remember to download the 'white_box.png' and updated texture atlas image file from the repo link below. Or, of course, recreate them in your own, much better art-style.

Playlist:    • new Python Minecraft with Ursina  

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

Thanks for watching!