Mô tả

Learn how to include an inventory system for any of your projects that require items to be picked up, dropped, moved and equipped!

This highly acclaimed series was over 200% funded on Kickstarter, and is designed for intermediate users of Unity. We recommend you take at least the first half of our Complete Unity Developer 2D or 3D, or equivalent, as a prerequisite.

This course is the second in our RPG series, you don't need to have completed the first part of the RPG Series (the RPG Core Combat course) but it will give you an advantage if you already have.

By enrolling in this course you will have access to the completed Inventory system as an asset pack which you can import into your existing project. We will also take you step-by-step through the process of using, modifying, improving and understanding the code that drives the asset pack.

Please note, this course follows a different format. Rather than building the inventory system from scratch, line-by-line, we will provide you with our code and then explain how the code works so that you understand it fully. This is an approach that works well for folks who are already competent with Unity and C# and wanting to "get to the answer" more quickly.

Although this course is part of our RPG series, you can use the inventory system for any of your projects that require items to be picked up, dropped, moved and equipped.

In this course we will cover the following systems:

  • The click-to-pickup and the runover-to-pickup systems

  • The dropping system

  • The tooltip overlay system

  • The stackable item system

  • The equipping system

  • The saving and loading system

The course covers many advanced programming principles and goes into great depth to discuss good code architecture practices. We cover Interfaces, Virtual Methods, the debugging tool and many more things that aren't covered in our beginner courses.

You will have access to a course forum where you can discuss topics on a course-wide basis, or down to the individual video. Get plugged into our communities of amazing developers on Facebook (nearly 20k), in our own TA-curated Community (17k views/day), and our student chat group (10k live at any one time). Check out our reviews to see how people love this feature.

Building an RPG is an amazing way to level-up your game development skills, so why not join us and get started improving your game development right now?

Bạn sẽ học được gì

How to implement and lay out your inventory UI (user interface) so that the panels, buttons, slots and icons make sense.

How to use useful UI components like the Scroll View Asset and the Grid Layout Group to more easily structure your inventory UI.

How to use the drag-and-drop system so that players can pick up inventory items and move them to other slots, or drop them into the world.

How to use a pickup system with scriptable objects providing the data for specific inventory items.

How to use and modify the equipping system so that players can equip weapons and armor from their inventory.

How to interface between what the player sees in their inventory and what your backend system knows should be stored in the inventory.

How to use and modify a tooltip system that gives the player information about their inventory items.

How to make items stackable so that if a player has more than one of an item it only takes up one inventory slot and displays how many items have been stacked.

How to refactor your code so that when a new feature is added, it propagates to all areas of your project without breaking your game.

How to build a user interface mockup in Unity before your functionality is in place.

Yêu cầu

  • You should be able to write basic C# (loops, conditionals, components, etc)
  • Some familiarity with Unity's APIs is helpful.
  • You should know your way round Unity's editor.
  • We recommend you take at least the first half of our Complete Unity Developer 2D or 3D, or equivalent, as a pre-requisite.

Nội dung khoá học

12 sections

Intro & Setup

9 lectures
Welcome To The Course
02:19
Architectural Overview: Recap
06:52
Which Unity Version?
01:00
What Are We Creating?
04:54
How To Follow This Course
04:12
Get The Project
06:35
The START HERE Commit
03:35
Questions & Getting Support
00:48
Asset Partners & Licenses
02:28

Adding UI

9 lectures
Unity UI Primer
15:40
Show & Hide Panels
12:15
Placing & Slicing UI Assets
13:07
The Scroll View Asset
09:12
The Grid Layout Group
11:10
Drag & Drop Scripts
18:02
Overview Of Interfaces
10:25
More Dragging & Dropping
18:34
Drag & Drop Challenge
05:20

Inventory Backing Store

9 lectures
Inventory Script Introduction
06:10
Inventory Scriptable Objects
07:49
Understanding Inventory.cs
10:30
InventorySlotUI.cs Changes
04:54
Using The Debugger Tool
15:46
Inventory Directory Structure
02:07
Item ID Explained
11:50
GetFromID()
09:36
Using Redraw()
03:07

Saving & Loading System

2 lectures
Saving System Overview
14:26
Inventory System Saving
05:08

Pickup System

4 lectures
Pickup Architecture Overiew
12:14
Spawning Pickups
05:18
Pickup Spawner
09:22
Clickable & Run-over Pickups
17:06

Drop System

3 lectures
Drop System Architecture
07:22
Using ItemDropper.cs
14:25
Integrate Dragging With Dropping
06:50

Tooltips

4 lectures
Virtual Methods Overview
08:02
Tooltips Architecture
08:13
Tooltip Prefab
10:00
Tooltip Spawner
08:45

Stackable Items

7 lectures
Stackable Items Overview
05:31
Refactor Overview
07:22
Adding and Removing Stackables
05:27
Stacking UI
05:15
Finding An Existing Stack
04:52
Saving Stacked Drops
05:27
Saving Stackable Inventory
05:14

Equipment System

5 lectures
Equipment system Overview
10:04
Mock Equipment UI
05:52
Mock Equipment Dragging
06:37
Equipment Component
06:44
Equipment Saving
05:28

Action System

2 lectures
Action System Overview
08:13
Consumable Items
06:47

Integration

11 lectures
Integration Introduction
12:54
Integrating Pickups
09:47
UI Beautification
06:41
Blocking Input While Dragging
03:43
Fighter And Equipment
08:36
Equipable Stats Modifiers
13:12
Random Enemy Drops
13:24
Randomise Drops By Enemy Level
21:50
Fixing A Saving Bug
02:16
ItemDropper Saving Bug
10:02
Course Wrap Up
04:27

Continuing Your GameDev Journey

1 lectures
Bonus Lecture
00:28

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.