Unity Roguelike Tutorial : Part 7 - Creating the Interface (UI)

preview_player
Показать описание
An Aussie's guide to following the "RoguelikeDev Does The Complete Roguelike Tutorial" challenge!

If you're interested in learning more about Unity Roguelike, then be sure to check out this series! In this series, we'll cover topics like character development, enemy AI and more. By the end of this series, you'll be able to create a high-quality Unity Roguelike game of your own!

►⏱️ Timestamps ⏱️
0:00 Importing Message History Background
0:05 Creating our Canvas
0:55 Creating our HP Bar (Slider)
2:57 Creating Message History & Last Five Messages (Scroll View)
5:38 Creating Message Prefab
6:09 Adding A UIManager
8:34 Modifying Action & Fighter Classes
9:22 Adding a View InputAction
10:04 Finishing Touches
10:24 Testing & Outro

🔗 Relevant Links 🔗
ᐅMessage History Image
ᐅOriginal Tutorial
ᐅRoguelikeDev Challenge

📥 Get the Source Code 📥

💰🔗 Feel like Supporting Me 🔗💰
ᐅ Github Sponsor
ᐅ Unity Store Affiliate

💬 Discord Server (It's not mine, I refuse) 💬

🍀🔗 My Links 🔗🍀

Music by GuilhermeBernardes from Pixabay

#madewithunity #gamedev #unity #roguelike
Рекомендации по теме
Комментарии
Автор

Greetings, I have the following collapse error: transform child out of bounds, can you tell me the solution?

sebastiangoncalves
Автор

Koala teacher. I have a question.
From the start method of the MapManager class,
'ProcGen procGen = new ProcGen();'

In this part,
'You are trying to create a MonoBehaviour using the 'new' keyword. '

This warning appears.

Is it correct to modify it using the AddComponent() method as Unity said?
Or can I just leave it alone?

I'm not good enough at studying why this error occurs, so what part should I study to understand this part? I studied to fix this error by myself for about 2 days, but I could fix it, but I'm asking because I'm curious.(I changed :ProcGen procGen =

The reason I'm confused is because...
I think the 'new' keyword is essential to use the array, but I'm not sure why the warning appears on the unity editor.

The code understands that it assigns an array for procedural dungeon generation.
I understand that after the array is assigned, it starts generating procedural dungeons, so why do I get this warning?

정동우-nx
Автор

I got this error that I'm struggling with:

MissingReferenceException: The object of type 'TextMeshProUGUI' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.

The game won't start and i have everything identical. Any way to fix this?

epicblade
Автор

When I hit V, nothing happens. I added a debug.log to see when the message history is supposed to open, but it never triggers. I have the key added in controls, and its part of the arrow keys control scheme. My Player and UIManager scripts are the exact same as the github. What am I doing wrong?

Edit: I should add that I have everything in the canvas object set properly.

captcommando
visit shbcf.ru