Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Mastering Unity 2D game development
  • Table Of Contents Toc
  • Feedback & Rating feedback
Mastering Unity 2D game development

Mastering Unity 2D game development

By : Jackson
3.8 (21)
close
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
close
Free Chapter
1
1. Overview
14
Index

Putting it together


As you would expect, we need to create a new scene for our battles. There is a choice to make whether you want to create several scenes for different battle areas or define one generic scene and randomize the contents of that scene to add variation. Obviously there are pros and cons to each approach, but ultimately the choice is up to you.

Building the new scene

For now, we will keep things simple and just create a new scene and then configure it as our battle area. So, add a new scene called Battle to the project and make it look pretty with some additional background scene elements.

For this example, I have used the Fantasy background (Environments\Fantasy\Background01.png) with some of the environmental assets from our asset pack to create the following screenshot:

The Fantasy background from the free assets pack with the sprite's X scale set to 1.5 to better fit the camera

Tip

Remember to group your additional environmental assets under a single empty game object to keep...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
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

Delete Note

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

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY