Creating a static assets class


show more Creating a static assets class provides you with in-depth training on Developer. Taught by Lee Brimelow as part of the Building Flash Games with Starling show less
please wait ...

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 specif...

Creating a static assets class
Video duration: 2m 3s 2h 57m Intermediate

Viewers:

Creating a static assets class provides you with in-depth training on Developer. Taught by Lee Brimelow as part of the Building Flash Games with Starling

please wait ...