In this lesson we will be creating a system that will let us easily persist the entire object graph of our game.
Unity
D20 RPG – Dice Roll
What better place to begin than with a roll of the dice?
D20 RPG – Project Intro
I stumbled across a very cool website a while back: D20 SRD (System Reference Document). What is that you might ask? You’ve probably heard of Dungeons and Dragons and/or Pathfinder – they are dice based role playing games. In the SRD you will find a bunch of the game mechanics released to the public in an open game license. That includes races, classes, equipment, monsters, magic, abilities and more.
Breakout: Game
We’ve come a long ways, but there is still one major thing we’re missing. We don’t have a real game because there is no way to win or lose! In this lesson, we will learn about Unity events, and how to compose them together so that we can have victory and loss conditions.
Breakout: Board
While you “could” create all of your game boards by manually placing row after row of blocks, manually editing each as needed, there is an easier way. Well, at least it’s easy once you are comfortable writing code. In this lesson we will continue to practice and learn new tricks so that the computer will do the “hard” work on our behalf.
Breakout: Blocks
Now that we can hit a ball with a paddle, we need something to aim for. Breakout style games have an array of blocks along the top of the board for the user to destroy. We will create some blocks, then create something called a “Prefab” that makes it easier to apply changes to multiple instances.
Breakout: Paddle
Now that we’ve got some experience scripting, we can get slightly more advanced with the creation of our Paddle. In this lesson we will create the bar which moves back and forth across the screen based on user input.
Breakout: Ball
Unity has already enabled us to easily accomplish a ton of milestones, such as rendering sprites on screen, and making objects move and collide with each other. At some point, you will always find that some of the features you want to use require the use of a script. In this lesson we will create our first script and show how it is used like a custom Component. We will use the script to control some of the behavior of our Ball.
Continue reading
Breakout: Layout
A lot of game development is occupied by time spent in the Unity Editor. There are even whole jobs specifically for Level Design. This is both for function and visual appeal. In this lesson we will spend some time preparing our scene to look more like the finished game.
Breakout: Physics
As a game engine, Unity provides a lot of functionality right out of the box. You could make some really fun physics based games and not need to have a math degree to do it! In fact, in this lesson we will start creating game objects that react to physics, with no programming required.