4.82 out of 5
4.82
17 reviews on Udemy

RPG Shops & Abilities: Intermediate C# Game Coding

Implement Shop Systems, Special Abilities, distributable Trait Points and polish your finished RPG!
Instructor:
GameDev.tv Team
2,290 students enrolled
English [Auto]
How to build a Shop System fit for any game genre
How to build a highly flexible RPG Ability System
Advanced programming concepts such as Composite and Strategy patterns
How to create a RPG Trait System to distribute points to Str, Dex, Int, etc.
How to design a dynamic Main Menu
How to load and save to multiple slots
How to create a full game moment to showcase your game

Using Unity 2020.2, we show you how to include three essential game mechanics, Shops, Special Abilities and Traits, in your games.

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.

You can use the code we create in the course in any game or project you build. We’ll be using an RPG as an example. You don’t need to have completed the previous parts of the RPG Series (the RPG Core Combat, Inventory Systems and Dialogue & Quests courses) but it will give you an advantage if you already have.

The course is project-based as we believe this is the best way to learn Unity and C#. You will not just be learning dry programming concepts, but applying them immediately to a real RPG as you go.

We’ll provide the RPG project created so far in the series so that you can practice integrating to an existing complex project. Every element of the project we touch will be fully explained and no knowledge of the project will be required.

In the course we will be building the following from scratch:

  • Shop and Traits UI

  • Integration between Traits and a modifier system

  • Main menus

  • Barter system giving discounts to player with high charisma

  • Buying and selling

  • Filtering shop items by type

  • Flexible and composable special abilities

  • Cooldown timers

  • Mana and money

In the process of the course we will cover advanced topics such as: C# Delegates, Interfaces, Lambdas, Strategy and Composite Patterns.

You will get full lifetime access for a single one-off fee. The creators are qualified and experienced coders and avid gamers, so are able to explain complex concepts clearly, as well as entertain along the way.

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).

The course is still in production with new videos dropping on a weekly basis, making now a great time to get involved and help shape its future.

Shops and Abilities are core to many game genres. So why not join us and get started improving your game development right now?

Shops

1
Shop Section Overview

In this video (objectives)…

  1. Sam shows us the finished shops prototype and outlines the journey to get us there.

2
Creating a UI Component Library

In this video (objectives)…

  1. Sam shows us how to speed up UI development with a reusable library of UI components.

3
Solution: Component Library

In this video (objectives)…

  1. Sam finishes what he started and finishes making his Component Library

4
Shops Basic UI Outline

In this video (objectives)…

  1. Sam shows us how to build the outline of a shop UI using our reusable components.

5
Headers

In this video (objectives)…

  1. Sam shows us how to make a header row prefab.

6
Row Variants

In this video (objectives)…

  1. Sam shows us how to create our rows based on the headers and how to keep everything in alignment.

7
Component APIs

In this video (objectives)…

  1. Sam shows us the main classes that will provide the data for the shop UI.

8
Opening Shops

In this video (objectives)…

  1. Sam shows us how to use the Shopper component to display UI when a shop is opened.

9
Shop Names & Closing

In this video (objectives)…

  1. Sam shows us how to close shops and we hook up the got names for each shop keeper.

10
Building A Shopping List

In this video (objectives)…

  1. Sam shows us revises how to dynamically build a UI list.

11
Displaying A ShopItem

In this video (objectives)…

  1. Sam shows us how to link the ShopItem class to our RowUI prefab.

12
Configuring Stock And Price

In this video (objectives)…

  1. Sam show us how to expose the stock configuration in the editor so that a designer can use it.

13
Quantity Widget

In this video (objectives)…

  1. Sam shows us how to create a widget to add and remove to our transaction.

14
Preparing A Transaction

In this video (objectives)…

  1. Sam show us how to store the quantities of items in our transactions and to use Actions to update the UI.

15
Completing A Transaction

In this video (objectives)…

  1. Sam shows us how to transfer items from the shopping basket to the players inventory.

16
Calculating A Total

In this video (objectives)…

  1. Sam shows us how to calculate the total price of a transaction.

17
Money Component

In this video (objectives)…

  1. Sam shows us how to create a simple component to act as the players money.

18
Money UI

In this video (objectives)…

  1. Sam shows us how to create a UI to display the balance in the player's purse.

19
Tracking Stock

In this video (objectives)…

  1. Sam shows us how to track stock in dictionary to limit purchases.

20
Checking A Transaction

In this video (objectives)…

  1. Sam shows us how to disable the buy button when a transaction isn't possible.

21
Checking Inventory Space

In this video (objectives)…

  1. Sam lays the ground work for checking the inventory space for a transaction

22
Stackables And Free Slots

In this video (objectives)…

  1. Sam modifies the Inventory script to support checking for stacked items and free slots.

23
Switching To Selling

In this video (objectives)…

  1. Sam shows us how to switch between buying and selling mode and calculate different prices on this basis.

24
Counting Inventory Availability

In this video (objectives)…

  1. Sam shows us how to calculate the availability in the inventory when selling.

25
Selling Transactions

In this video (objectives)…

  1. Sam shows us how to confirm a transaction when selling.

26
Setting Filters

In this video (objectives)…

  1. Sam shows us how to bind the filter buttons to Shop.SelectFilter via a new FilterButtonUI component.

27
Displaying Filters

In this video (objectives)…

  1. Sam shows us how to display the currently active filter by setting Button.interactable = false.

28
Filtering Items

In this video (objectives)…

  1. Sam modifies the InventoryItem and GetFilteredItems to show a filtered list in the shop.

29
Stock Config Based On Level

In this video (objectives)…

  1. Sam shows us how to unlock items in a Shop stock based on the player's level and experience.

30
Calculating Price By Level

In this video (objectives)…

  1. Sam shows us how to refactor GetAllItems() to work with cumulative discounts by level.

31
Replenish Stock By Level

In this video (objectives)…

  1. Sam takes us through more refactoring from storing the stock as state to storing the stock sold.

32
Saving Stock & Purse

In this video (objectives)…

  1. Sam implements ISaveable on the Purse and Shop components.

Abilities

1
Abilities Section Overview

In this video (objectives)…

  1. Sam shows us around the Ability system and it's power and flexibility.

2
Triggering The Action Bar

In this video (objectives)…

  1. Sam shows us how to connect the PlayerController to the Action Bar to launch Special Abilities.

3
The Strategy Pattern

In this video (objectives)…

  1. Sam explains the architecture we will use for our composable ability system.

4
Overriding And Abstract Classes

In this video (objectives)…

  1. Sam shows us how to create an abstract base class Scriptable Object and how to inherit from that to create our first Targeting Strategy.

5
Coroutines From Scriptable Objects

In this video (objectives)…

  1. Sam shows us how to run a coroutine from a Scriptable Object to implement delayed targeting.

6
Sphere Cast Area Of Effect

In this video (objectives)…

  1. Sam shows us how to use Raycasts and Sphere Casts to get a list of targets within an area of effect radius.

7
Making A Summoning Circle

In this video (objectives)…

  1. Sam shows us how to make a summoning circle prefab and spawn it at the correct location.

8
Filtering Strategy Pattern

In this video (objectives)…

  1. Sam shows us how to apply the strategy pattern again to create filter for our targeted Game Objects.

9
Effect Strategies

In this video (objectives)…

  1. Sam shows us how to apply the Strategy pattern again, this time to create configurable effects for our Abilities.

10
Grouping Parameters Into A Class

In this video (objectives)…

  1. Sam shows us how we can make our method signatures simpler by grouping parameters into a single class.

11
Blast Particle Effects

In this video (objectives)…

  1. Sam show us how to create a new Effect Strategy to launch particle effects.

12
Cooldown Timers

In this video (objectives)…

  1. Sam show us how to use Dictionaries to store cooldown timers for Scriptable Objects.

13
Image Type: Filled

In this video (objectives)…

  1. Sam show us how to use and image type "filled" to overlay a cooldown timer on our action bar.

14
Mana Component And Display

In this video (objectives)…

  1. Sam shows us how to create a component to track mana and display it.

15
Mana Regeneration

In this video (objectives)…

  1. Sam show us how to regenerate mana over time.

16
Mana Progression

In this video (objectives)…

  1. Sam show us how to integrate the Mana system with the progression system to level up

17
Animation Effect Strategy

In this video (objectives)…

  1. Sam shows us how to build effects to trigger animations and rotate towards our target.

18
The Composite Pattern

In this video (objectives)…

  1. Sam shows us how to apply the composite pattern to creating very flexible effects.

19
Cancelling Abilities

In this video (objectives)…

  1. Sam show us how to cancel abilities on death and have abilities cancel other actions.

20
Saving Mana

In this video (objectives)…

  1. Sam challenges us to save our mana.

21
Self Targeting Strategy

In this video (objectives)…

  1. Sam shows us how to implement a self targeting strategy so that we can heal ourselves!

22
Spawning Projectiles Effect

In this video (objectives)…

  1. Sam shows us how to spawn projectiles from an Effect.

23
Directional Targeting

In this video (objectives)…

  1. Sam shows us how to setup directional targeting for our projectiles.

24
Polish And Extensions

In this video (objectives)…

  1. Sam polishes of the fire spray ability and shows us how we could extend the Ability system.

Traits

1
Traits Section Overview

In this video (objectives)…

  1. Sam shows us the traits system we will build in this section.

2
Mock Trait UI

In this video (objectives)…

  1. Sam shows us how to mock up the UI for our traits window.

3
Trait Row UI Scripts

In this video (objectives)…

  1. Sam implements a row UI script to make our traits UI interactable.

4
Trait Store Component

In this video (objectives)…

  1. Sam shows us how to connect our UI to a Trait Store component on the player so we can have a quota of points to allocate.

5
Staging And Committing Traits

In this video (objectives)…

  1. Sam implements a staging area for points before confirming an allocation.

6
Progression And Trait Points

In this video (objectives)…

  1. Sam shows us how to allocate more trait points when we level up.

7
Traits And Modifiers

In this video (objectives)…

  1. Sam shows us how to link the trait system with other gameplay via the modifer system.

8
Shop Barter System

In this video (objectives)…

  1. Sam implements a barter system using modifiers, traits and stats.

9
Wrap-up & Extensions

In this video (objectives)…

  1. Sam recaps the section and challenges us to extend our traits system.

Menus

1
Menu Section Overview

In this video (objectives)…

  1. Sam shows us the prototype for the main menu section including the new death respawn and penalty.

2
Creating A Main Menu Scene

In this video (objectives)…

  1. Sam shows us how to set the scene with a moving main menu backdrop.

3
Importing Fonts & Menu UI

In this video (objectives)…

  1. Sam shows us how to import a font to create a main menu title. We also assemble our main menu mock UI.

4
Continue Last Save

In this video (objectives)…

  1. Sam shows us how to tweak the save system to load the last level from the main menu.

5
Switching UI Screens

In this video (objectives)…

  1. Sam shows us how to switch between UI screens and configure this entirely in the editor.

6
New Game & PlayerPrefs

In this video (objectives)…

  1. Sam shows us how to use PlayerPrefs to store the last save game name and we use InputFields to select a name.

7
Load Game UI

In this video (objectives)…

  1. Sam builds a Load Game UI to list all our saved games.

8
List Files In A Directory

In this video (objectives)…

  1. Sam shows us how to list all the save files on the file system.

9
Pausing With TimeScale

In this video (objectives)…

  1. Sam shows us how to use Time.timeScale to pause a game while a menu is displayed.

10
Save And Quit

In this video (objectives)…

  1. Sam hooks up the save and quit functionality in both our menus.

11
Respawn On Death

In this video (objectives)…

  1. Sam shows us how to respawn the player character when they die.

12
Resetting Animators

In this video (objectives)…

  1. Sam shows us how to reset and Animator and refactor our health component to achieve resurrection.

13
Resetting Enemies

In this video (objectives)…

  1. Sam shows us various bugs in the respawn system and we fix them all. We also reset enemies so that we have a safe space to respawn to.

14
Bug Fixes & Extensions

In this video (objectives)…

  1. Sam fixes some bugs and shows us how we could extend our project.

Final Moment

1
Final Moment Section Overview

In this video (objectives)…

  1. Sam and Rick discuss designing a gameplay moment to pull together the features we have implemented in our RPG.

You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.8
4.8 out of 5
17 Ratings

Detailed Rating

Stars 5
15
Stars 4
1
Stars 3
1
Stars 2
0
Stars 1
0
30-Day Money-Back Guarantee

Includes

15 hours on-demand video
Full lifetime access
Access on mobile and TV
Certificate of Completion
RPG Shops & Abilities: Intermediate C# Game Coding
Price:
$104.98 $79

Community

For Professionals

For Businesses

We support Sales, Marketing, Account Management and CX professionals. Learn new skills. Share your expertise. Connect with experts. Get inspired.

Community

Partnership Opportunities

Layer 1
samcx.com
Logo
Register New Account
Compare items
  • Total (0)
Compare
0