Flexible, powerful, and full of rich features, Unity 5 is the engine of choice for AAA 2D and 3D game development. With comprehensive support for over 20 different platforms, Unity boasts a host of great new functions for making 2D games. Learn how to leverage these new options into awesome 2D games by building three complete game projects with the Unity game tutorials in this hands-on video.Get started with a quick overview of the principle concepts and techniques needed for making 2D games with Unity, then dive straight in to practical development.Build your own version of Super Mario Brothers as you learn how to animate sprites, work with physics, and construct brilliant UIs in order to create a platform game. Go on a quest to create a RPG game discovering NPC design, event triggers, and AI programming.Finally, put your skills to the test against a real challenge - designing and constructing a complex strategy game that will draw on and develop all your previously learned skills.
About The Author
Abdelrahman Saher graduated with a BSc in Computer Science in 2012. After graduation, he worked for the video game company EverylPlays, where he participated in the programming of a couple of mobile games. Later, in 2013, he moved into the challenging role of lead programmer with the video game company Appslnnovate. Apart from his full-time job, Abdelrahman recently started his own start-up video game company called Robonite.
Francesco Sapio obtained his computer science and control
engineering degree from Sapienza University of Rome, Italy, with a
couple of semesters in advance, scoring summa cum laude; where he is
currently studying a master of science in engineering in artificial
intelligence and robotics.
He is a Unity3D and Unreal expert, a skilled game designer, and an experienced user of the major graphics programs. He developed Game@School (Sapienza University of Rome), educational game for high school students to learn concepts of physics, and Sticker Book (series) (Dataware Games), a cross-platform series of games for kids. In addition, he worked as consultant for the (successfully funded Kickstarter) game Prosperity – Italy 1434 (Entertainment Game Apps, Inc), and for the open online collaborative ideation system titled Innovoice (Sapienza University of Rome). Moreover, he has been involved in different research projects such as Belief Driven Pathfinding (Sapienza University of Rome), which is a new technique of pathfinding in videogames that was presented as a paper at the DiGRA-FDG Conference 2016; and perfekt.ID (Royal Melbourne Institute of Technology), which included developing a recommendation system for games.
He is an active writer on the topic of game development. Recently, he authored the book Unity UI Cookbook (Packt Publishing) that teaches readers how to develop exciting and practical user interfaces for games within Unity, and a short e-guide What do you need to know about Unity (Packt Publishing). In addition, he co-authored the book Unity 5.x 2D Game Development Blueprints (Packt Publishing). Furthermore, he has also been a reviewer for the following books: Game Physics Cookbook (Packt Publishing), Unity 5.x by Example (Packt Publishing), and Unity Game Development Scripting (Packt Publishing).
Francesco is also a musician and a composer, especially of soundtracks for short films and video games. For several years, he worked as an actor and dancer, where he was a guest of honor at the theatre Brancaccio in Rome. In addition, he is a very active person, having volunteered as a children’s entertainer at the Associazione Culturale Torraccia in Rome.
Finally, Francesco loves math, philosophy, logic, and puzzle solving, but most of all, creating video games — thanks to his passion for game designing and programming.
This video will help you in setting up the project for 2D game development.
We need sprites to fill in our environment and also to display characters.
In this video, we will create a character that will move on a platform across the x axis.
It is important to understand that 2D physics components will not interact with 3D physics components if both exist within the same scene.
In this video, we will learn how to use the 2D controller and the physic engine of Unity to let our character move.
We have to build a cool level for our fully animated and controllable character.
Add some UI elements to indicate the player's health and score.
In this video, we will create a C# script to make a script that makes our character interactable with the other elements.
Now, we will add enemies to a level.
In this video, we will discuss tinkering with the Unity 2D engine and creating our own Role-Playing Games.
We need to play around with our new assets in Tiled.
We are going to splice our Spritesheet before we create our player object.
Let’s create the character and make it more interesting.
Our hero won't move unless we do something about it, so we will see how to do that in this video.
Creating a script that moves the weapon and the shield items upward and then in a downward fashion to simulate a simple breathing look.
Navigate a certain game object (AI character) around the scene by finding paths to overcome any obstacle in the way.
It is mainly used to find a proper, traversable path between two points.
We can start adding AI characters in order to test what we have done so far.
We will see how we can use Unity to create a Tower Defense game.
First thing to do is to create the map where the game will take place.
In this video, we will learn how to create the bullets that our towers will shoot against the enemies.
We will learn how to create the towers of our game.
We will learn how to create the enemies for our Tower Defense game.
Designing UI doesn't mean to just create the graphics but to decide where and how it will appear on the game screen.
First thing to create is a lives counter, in order to keep track of the player’s number of lives.
We need a game element that is able to handle a money system, in which the amount of money can increase and decrease according to the player's actions.
One of the key gameplay elements of a Tower Defense game is, of course, the ability to buy and place towers.
Upgrading and selling the towers might be a little bit tricky
We are going to handle most of the logic remaining within a single script.
We are going to see how to integrate the lives counter and the money counter.
When the player buys a tower, they have the possibility to place it where they want to. To include this feature inside our game, we need to make some changes to our towers.
Spawning enemies against the player can be done in many different ways.
Our game can have two outcomes: the player wins, by destroying all the enemies, or he fails in defending his fortress.
If you have reached this point, it means that there is just one thing missing from your game.
Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.
With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.
From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.
Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.