From the course: Building Flash Games with Starling

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Creating a static assets class

Creating a static assets class

From the course: Building Flash Games with Starling

Start my 1-month free trial

Creating a static assets class

So now that we have our basic game structure created, we need to turn our attention to the assets in which we are going to use in this game. Now if you have access to the exercise files, if you look in that folder, you will see there's a whole bunch of different types of assets ranging from animation sequences, like here, we have this alien animation sequence, we have sound effects, particles, fonts, and we need a way in which to manage those inside of our game project. So what I'm going to do is inside the exercise files, I'm going to copy all of those assets to the clipboard and then go back to my Flash Builder project and I'm going to create a new folder at the root of my project. So I'm going to right-click, create a New > Folder, and I'm going to call this folder assets, and then I'm simply going to paste those assets into that folder so that we have them inside of this assets folder. Now in our project we are going to create a class that's specific job is to manage our assets…

Contents