Production: New Background

Introduction

We’ve made it a long way, it’s time we finally start switching over to our production 2D assets! In case you missed it, you can check out the last post where we added a new shield powerup.

The Challenge

Our challenge is to import our production assets add a new background to our scene.

Let’s get started.

Importing Assets

Importing assets into Unity is incredibly simple. To download and import assets from the Asset Store, open the Package Manager from Window -> Package Manager and switch to "My Assets" from the Packages drop down at the top of the window. The assets tied to your Unity account will be listed and you can easily download and import them from this window. package manager asset store

If you’ve already downloaded the assets and want to import them, navigate to the Package Manager window and use the new "+" dropdown and choose to add from option for your file type. package manager import

New Background

I have the assets imported, now let’s add a GameObject with a SpriteRenderer. We’ll do this quickly by dragging and dropping the background sprite I want to use to the Hierarchy. I’ll do some repositioning to get it just right and into view.

new background

Summary

For now, that’s all we need to do to bring in our first production asset. The game already looks better, and all we’ve done is add a background. We will definitely add more details later.

Stay tuned for the next post. Take care.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s