inflearn logo

Absolute Course! Unity 6 - Network Game Development Masterclass (Part3): 2D RPG Development with Netcode

This is a course where you create a mini RPG 2D game to learn 2D development techniques, and then learn the process of converting the completed game into a network game by transitioning it to Netcode for GameObject. It covers various essential tilemap functions for 2D games, and is designed to naturally help you learn clean code writing techniques that adhere to SOLID principles. Additionally, this is a lecture that builds the foundation for network games using the updated Netcode API in the latest Unity 6 version.

(5.0) 16 reviews

103 learners

Level Basic

Course period Unlimited

Unity
Unity
Network
Network
unity2d
unity2d
Unity6
Unity6
Unity
Unity
Network
Network
unity2d
unity2d
Unity6
Unity6

Reviews from Early Learners

Reviews from Early Learners

5.0

5.0

양승근

49% enrolled

I came here to study the multiplayer feature, but I always learn a lot from your clean coding style. Additionally, I tried switching to Rider once, and I'm wondering why I didn't know about it sooner.

5.0

DongJu Yoo

100% enrolled

The learning materials for developing network functionality using Netcode for GameObject were quite limited, but this was really helpful. I'm satisfied that it has expanded my options for future technology selection.

5.0

손봉호

32% enrolled

I like the feature-focused explanations, but what I really appreciate is that you're not just cramming in all the features, but rather trying to follow SOLID principles.

What you will gain after the course

  • Unity 2D Game Development - Tilemap, AutoTile, Rule Tile, Animated Tile

  • Netcode for GameObject

  • Lobby, Relay, Matchmaking SDK 활용

  • Quick Join using the latest Multiplayer Service SDK

  • Clean code that adheres to SOLID principles

Netcode for GameObject를 활용한 미니 2D RPG 네트워크 게임

본 강의는 Netcode for GameObjects(NGO)의 기초부터 로비, 릴레이, 매치메이킹까지 단계적으로 학습하는 과정을 다룹니다. 강의에서는 타일맵 기반의 2D RPG 게임 개발을 실습하며, Netcode 기능을 적용해 네트워크 게임 제작 기법을 익힙니다. 대부분의 Netcode 강좌에서는 위치와 애니메이션 동기화 처리만 다루고 있는데 반해서 실전 프로젝트에서 활용할 수 있는 Lobby, Relay, Matchmaking 기능을 실습합니다.

특히, Unity 6부터 새롭게 제공되는 Multiplayer Service를 통해 네트워크 게임 개발을 보다 편리하게 지원하는 API를 활용합니다. 이에 따라 기존 Lobby, Relay 기능을 먼저 학습한 후, Multiplayer Service를 이용한 랜덤 매치메이킹 기능까지 구현해 볼 수 있도록 구성하였습니다.

LittleSword Netcode Project

전투시스템

이런 내용을 배워요

1⃣ 타일 맵 기반의 2D 게임 개발 기법

2D 타일맵의 기본 사용법을 익히고, 단순 반복 작업을 줄여주는 Rule Tile 기능을 학습합니다. 이어서 유니티6에 새롭게 추가된 Auto Tile을 활용하여 맵을 효율적으로 디자인하고, 다채로운 2D 연출을 위해 Animated Tile 기능을 적용합니다.

Rule Tile, Auto Tile, Animated Tile 활용

전투씬의 타일맵 디자인

전투 시스템

2⃣ 커스텀 에디터 활용 

커스텀 에디터는 인스펙터나 별도의 뷰를 확장·재구성할 수 있는 기능으로, 개발 프로세스에서 다양한 용도로 활용됩니다. 본 강의에서는 버튼을 통해 데이터 초기화나 피격 데미지 적용, 캐릭터의 상태를 변경하는 기능을 구현하며, 이를 통해 기초를 다집니다. 나아가 추후에는 여러분이 프로젝트에 필요한 기능을 직접 제작할 수 있도록 기반을 마련합니다.

3⃣ OOP 구조와 상태 패턴 구현

본 강의에서는 주인공 캐릭터를 상속 구조로 설계하여 확장가능하도록 구현하고, 적 캐릭터는 NPC AI 구현 자주 활용되는 상태 패턴을 적용합니다. 기본적인 상태 패턴의 동작 원리와 구현 방법을 학습하며, 생성자를 통한 Context 전달 방식과 공격 상태의 최적화 기법까지 다룹니다. 또한, 기본 게임 로직과 Network 로직을 분리해 SRP 원칙을 준수합니다.

  • 제너릭 싱글턴 패턴

  • 옵저버 패턴

  • 의존성 주입

4⃣ Netcode for GameObject

본 강의에서는 Unity Netcode for GameObjects의 기본 활용법을 학습하고, 로비(Lobby)와 릴레이(Relay) 기능을 통한 매치메이킹 실습을 진행합니다. 기존의 Lobby, Relay 패키지가 Multiplayer Service로 통합되면서, 더욱 간편하게 로비 및 릴레이 기능을 활용할 수 있는 Multiplayer Service SDK 또한 함께 다룹니다.

  • 네트워크 토폴로지(Topology)의 이해 : Server/Host/Client

  • Transform, Animation 동기화 처리

  • 서버 권한 피격 판정

  • Network Variable 활용법

  • ServerRPC, ClientRPC, RPC 활용법

  • Lobby 생성 및 조인

  • Relay 서비스를 활용한 연결 (aka. 포톤 클라우드)

  • Multiplayer Service SDK를 활용한 퀵 조인 (랜덤 매치메이킹)

Lobby

Lobby UI

수동 Lobby 생성 및 Quick Join 구현

수강 전 참고 사항

실습 환경

  • 운영 체제 및 버전(OS): Windows, MacOS

  • 사용 도구: Unity 6.2.x , Rider (Visual Studio, VSCode 관계없습니다.)


학습 자료

  • 매 강의마다 프로젝트 코드를 제공하며 마지막 강의에 최종 프로젝트를 제공합니다.

  • 분량 및 용량: 각 섹션별로 학습 자료 제공

선수 지식 및 유의사항

  • 유니티 : 기본 사용법은 알고 계셔야 합니다.

  • C# : 기초적인 C# 문법 정도 이해하신다면 따라오는데 무리가 없습니다.


Recommended for
these people

Who is this course right for?

  • Someone who wants to develop a network game using Unity Netcode

  • Someone who wants to learn structured programming based on SOLID principles

  • Someone who wants to learn about Unity 6.x's latest Netcode API

Need to know before starting?

  • C# Programming Fundamentals

  • Unity Basic Usage

  • Network Fundamentals

Hello
This is indiegamemaker

648

Learners

73

Reviews

65

Answers

4.9

Rating

10

Courses

Hello, I'm Jaehyun Lee.

I started teaching myself Unity with the dream of becoming an indie game developer, and from 2009 to 2012, I released about 10 mobile games as a solo developer. I published The Absolute Guide to Unity and conducted offline lectures. Through teaching, I realize every time that knowing something well is different from teaching it well. Based on these experiences, I am always striving to deliver my knowledge to you more effectively. và tiến hành các bài giảng trực tiếp. Trong quá trình giảng dạy, tôi luôn nhận ra rằng việc hiểu rõ kiến thức và việc truyền tải kiến thức tốt là hai điều hoàn toàn khác nhau. Dựa trên những kinh nghiệm này, tôi luôn nỗ lực để truyền đạt kiến thức của mình đến các bạn một cách hiệu quả nhất.

I hope this lecture serves as a great starting point for you and provides a small boost as you step into the enjoyable world of game development. ~


Key Teaching Experience

  • NC Soft Special Lecture

  • NHN Entertainment

  • Netmarble Game Academy

  • Fast Campus - Unity Camp 1st ~ 8th Batch

  • Team Sparta Online Tutor

  • T Academy

  • ETRI (Electronics and Telecommunications Research Institute)

  • KOCCA, GCA, SNIP

  • Special lectures at KAIST, Sogang University, Chung-Ang University, Hansung University, and Dankook University

Key Activities

  • Author of "Absolute Course! Unity" (Published in Japan and China)

  • Unity UNITE 2014 Session Special Lecture

  • Unity UNITE 2018 Hands-on Session Special Lecture

  • Unity Industry 2022 Hands-on Session Special Lecture

  • Served as a Unity Korea Official Master from the 2nd to the 5th term

     

 

More

Curriculum

All

41 lectures ∙ (9hr 41min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

16 reviews

5.0

16 reviews

  • jacklee08198586님의 프로필 이미지
    jacklee08198586

    Reviews 4

    Average Rating 3.8

    5

    32% enrolled

    • sinji1078229님의 프로필 이미지
      sinji1078229

      Reviews 13

      Average Rating 5.0

      5

      100% enrolled

      • sdkbh4117님의 프로필 이미지
        sdkbh4117

        Reviews 2

        Average Rating 5.0

        5

        32% enrolled

        • lhwlina11308294님의 프로필 이미지
          lhwlina11308294

          Reviews 1

          Average Rating 5.0

          5

          32% enrolled

          • lunasea064538님의 프로필 이미지
            lunasea064538

            Reviews 1

            Average Rating 5.0

            5

            32% enrolled

            indiegamemaker's other courses

            Check out other courses by the instructor!

            Similar courses

            Explore other courses in the same field!

            $93.50