Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Unity 5: 2D Movement in an RPG Game

via LinkedIn Learning

Overview

Learn how to build an RPG game in Unity with player movement, "fog of war" style map reveals, and events triggered by motion.

Syllabus

Introduction
  • Welcome
  • Exercise files
1. Creating the Player
  • Set up the project
  • Import artwork and animations
  • Add the player to the map
  • Map position utility
  • Reposition the player
2. Moving the Player
  • Player movement class
  • Listen to movement
  • Detect the tile to move to
  • Move the player
  • Limit movement
  • Make the camera follow the player
3. Triggering Events from Movement
  • Track player movement on tiles
  • Start and stop walk animation
4. Fog of War
  • Modify the map to hide tiles
  • Extend the map tile renderer
  • Track visited tiles
  • Visit tiles
  • Expand vision
  • Clean up
Conclusion
  • Next steps

Taught by

Jesse Freeman

Reviews

Start your review of Unity 5: 2D Movement in an RPG Game

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.