This line is taking all the frames from ballEyes.plist and storing them in memory so you can access them later. Note I named my plist “ballEyes.plist” you may have named yours something different if so replace this text.

ok there are four lines of code but the bottom two are almost the same as the top. The first line is creating a frame, then grabbing an image from memory and setting the frame equal to that image. EyesClosed.jpg is the name of one of my frames you can see the name of the frames in your plist by opening it in xcode and clicking the arrow next to frames. It should show you a list of your frames and what each on is named.

The second line adds the frame to the array we created earlier.

The other lines of code are simply a repeat of the first two but they are adding a different frame to the array. Note you can have as many frames as you would like.

Now we are creating an animation called animation. The name is set to blink but you can call it what ever you would like. Delay indicates how long you want the program to wait before it changes frames right now it is at .4 f meaning it will change ever 0.4 seconds. The frames are set to the array of frames animFrames we created earlier.

Now we are creating a sprite that we will play the animation on. It grabs the EyesClosed.jpg from memory this is the image that it will display. There are two ways to add the image to the sprite spriteWithSpriteFrameName grabs the image from memory, or spriteWithFile: that grabs the file from your resources folder.

“sprite.position” is where the middle of the sprite is located on the screen. “windowSize.width” is the width of the window. “sprite.contentSize.width” is the size of the sprite we divide this by 2 because we want the sprite right at the edge of the screen. “windowSize.height” is the height of the window. “sprite.contentSize.height” is the height of the sprite.

We are creating an action animate that will play thru the animation once and will not restore the original frame. By setting restoreOriginalFrame: to NO the sprite will display the last frame played by the animation. If restoreOriginalFrame: is set to YES the sprite will display the image it was set to before the animation ran.

id repeat= [CCRepeatForever actionWithAction:animate];

This action repeat repeats the action animate forever.

[sprite runAction:repeat];

Finally we have our sprite run the action repeat.

The last thing we need to add is the line bellow to our deallco method.

To Rye Marble Inc, Clearstone can be a layer which
is around 2mm heavy at first glance of the rock,
it’s water clear and may be done to what ever you’re looking for matt to high
gloss, it is not the previous Chinese form of polyurethane two-pack that has been around for a long time which
has several disadvantages.

981 241 1462, We introduce ourselves, as a Manufacturer of all types of rubber compound Conveyor Belts and Rubber Sheets, with all type of grades.

As mentioned in the Leak Barrier section, valleys have leak barriers installed underneath
them. The sie of the blunt edge of the depth of penetration can directly affect
the roots, blunt edge, the more difficult penetration.