Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Mastering Unity 2D game development
  • Toc
  • feedback
Mastering Unity 2D game development

Mastering Unity 2D game development

By : Jackson
3.8 (21)
close
Mastering Unity 2D game development

Mastering Unity 2D game development

3.8 (21)
By: Jackson

Overview of this book

If you have C# knowledge but now want to become truly confident in creating fully functional 2D RPG games with Unity, then this book will show you everything you need to know.
Table of Contents (15 chapters)
close
Free Chapter
1
1. Overview
14
Index

Backgrounds and layers

Now that we have our hero in play, it would be nice to give him a place to live and walk around, so let's set up the home town and decorate it.

Firstly, we are going to need some more assets. So, from the asset pack you downloaded earlier, grab the following assets from the Environments pack, place them in Assets\Sprites\Environment, and name them as follows:

  • Name the ENVIRONMENTS\ STEAMPUNK\background01.png file Assets\ Sprites\Environment\background01
  • Name the ENVIRONMENTS\STEAMPUNK\environmentalAssets.png file Assets\Sprites\Environment\environmentalAssets
  • Name the ENVIRONMENTS\FANTASY\environmentalAssets.png file Assets\ Sprites\Environment\environmentalAssets2

To slice or not to slice

As we progress through this book, you will notice that some assets are single textures, whereas others contain multiple images and you may wonder which method is best to create your assets and why it is best.

The answer (as it is in a lot of these situations) depends on the needs...

bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete