This is a simple demo using my Godot 4 Plugin Weighted Choice to pick an item from a list randomly based on its rarity/probability.

You can add the plugin to your project from the Asset Library


Source Code for this demo is in the download section, it's also shipped with the plugin when you install it (optional).


Assets provided for free from:

https://admurin.itch.io/free-chest-animations

https://snowhex.itch.io/mini-tools-pack-harvestsummer


StatusReleased
CategoryAssets
Release date Oct 26, 2023
AuthorPigeon Ivy
GenreRole Playing
Made withGodot
TagsFPS, Godot, Loot, Open Source, plugin, sourcecode
Code licenseMIT License

Download

Download NowName your own price

Click download now to get access to the following files:

LootBox Demo SOURCE.zip 69 kB

Comments

Log in with itch.io to leave a comment.

(+1)

I did diamond sword

Congrats! :D