Adding the logo


show more Adding the logo 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 ...

Adding the logo

So now that we have our animated background in our menu state, the next thing we're going to add is the logo for our game. And if you look in the assets folder, remember that's in our Texture Atlas that we created, it is this logo right here. So now we're going to look at how you can extract this specific texture from that Texture Atlas. Okay, so I'm going to come under where we created our background, and I'm going to create a variable, I'm going to call it logo, and that's going to be equal to new Image.

And remember that when we want to extract a certain texture from the Texture Atlas, we're going to use that Texture Atlas that we created in our assets class, so I'm going to say Assets.ta, which is our Texture Atlas. Now there's two different methods that we can use, first is get texture, that's going to return a single texture. If we have an animation which is a series of frames, we would use getTextures and we will look at that later in the ...

Adding the logo
Video duration: 2m 58s 2h 57m Intermediate

Viewers:

Adding the logo provides you with in-depth training on Developer. Taught by Lee Brimelow as part of the Building Flash Games with Starling

please wait ...