Minecraft-style CRAFTING SYSTEM in Unity

preview_player
Показать описание
This is a tutorial for a Minecraft-style crafting system in Unity. It uses Scriptable Objects to define items and recipes with a 3x3 grid for the crafting table.

Compare your code to mine ;)

Check out my games!

PC Specs:
-Intel Core i7-8750H
-Windows 10 Home 64 bit
-16GB RAM
-NVIDIA GeForce GTX 1050
-1TB HDD, 256GB SSD
Рекомендации по теме
Комментарии
Автор

There has been a bug identified in this system (thanks to emperorLine). Please check the GitHub in the description for the updated RecipeManager. Without this, the system may not work as intended.

ZeppelinGames_
Автор

good job, hope to see new videos coming

danixadem
Автор

So I fixed my other problems but why doesn't the output show when I craft it
please help me
also it doesn't show the sprite in any other slot than the one it was previously in

narwhaale
Автор

what are the variables set in the itemSlot in the crafting output in the itemSlot script

narwhaale
Автор

This is the only crafting system that actually worked for me thank you just two questions when i move the item from the output slot it doesnt follow my mouse like the other slots how would i fix this, and i want the items in the crafting grid to be destroyed when i grab the item out of the output slot how would i do this?

Gonzo
Автор

hey, could anyone help me with showing the item in the output slot on dragging please?

youssefmoalla
Автор

im encountering a problem while trying this system out

using multiple recipes causes the output to be empty when a new recipe uses the same components as an older recipe
(for example, 2 sticks and a diamond dont make a shovel anymore when there's a recipe for a diamond sword using 1 stick and 2 diamonds)

any ideas for a fix?

RandallGranger
Автор

Just, doesn't work. Built it with tutorial 1 to 1 -> not working
Took code from Git, still nothing, even more problems. Scripts are marked as having syntax problems, even tho Visual Studio says they're okay.

PanMaciejK
Автор

it says canvas group in itemSlot isnt a thing you can use?

redstoneengineer
Автор

Would this be easy to implement with other inventory systems?

littleoaklings
Автор

When I try the ItemSO Script it says "ItemSo will be ignored because it is not attached to a scriptible object" Any help?

redstoneengineer
Автор

could this be touchscreen/ mobile compatible?

olivermetz
Автор

it can be crafted multiple times, how do I make it so it can only happen once?

beso.