animation « cocos2d « iPhone iPad Media Q&A

Home
iPhone iPad Media Q&A
1.animation
2.audio
3.AVAudioPlayer
4.box2d
5.cocos2d
6.CoreGraphics
7.CorePlot
8.Flash
9.graphics
10.icon
11.image
12.photo
13.plot
14.sound
15.video
iPhone iPad Media Q&A » cocos2d » animation 

1. how can I use animation in cocos2d?    stackoverflow.com

I am trying to develop a Roulette game for iPhone. How can I animation (spin) the Roulette board?

2. What's the most efficient way to create particles on the iPhone    stackoverflow.com

I'm looking to create a snowfall effect on the iPhone and I'm looking for advice as to how to best implement this. I've planned to use a png image as the ...

3. AtlasSpriteManager animation    stackoverflow.com

I am using AtlasSpriteManager and AltasSprite to create frame by fram animation with 1 one file. I wanna write something that at first show a simple picture, without any animation and ...

4. Cocos2D Director Pause/Resume Issue    stackoverflow.com

I am trying to play a .gif animation in cocos2D. For this i am using the library glgif. Now, to display the animation i am pausing the Director, adding a subview ...

5. Problem animating a Parallax Layer in Cocos2d-iPhone    stackoverflow.com

I'm trying to implement my own parallax scrolling in Cocos2d since the built in parallax functionality isn't exactly what I'm looking for (it scales the layers, which is not what I ...

6. Animation management in COCOS2D iphone    stackoverflow.com

I have near about 255 image frames for background animation, 99 frames of enemy sprite and 125 frames of player sprite. All animations are running simultaneously on the screen. That is ...

7. Highlight Read-Along Text (in a storybook type app for iPhone)    stackoverflow.com

I love this feature (well, my son loves it), and I would like to implement it in a kid's book app I am doing for iPhone, but I'm clueless where to ...

8. How to reuse actions    stackoverflow.com

Of the three parts I want to move, only the last one actually moves. I can't seem to "recycle" the ease action I created. How is this done the correct way?

- ...

9. how to learn "Animations in COCOS2D"    stackoverflow.com

I am new to cocos2d animations and I want to learn it , as always I stops at the point of animation while making iPhone games in cocos2d. Can any one suggest ...

10. How can we get two animations run simultaneously?    stackoverflow.com

I am writing a game in iPad using cocos2d. I need to mix two actions,
One action is, to get the rotation of the object. I have 10 images of the rotation ...

11. Cocos2d - Changing animations after one is over    stackoverflow.com

I've got a CCSprite with three animations: idle, walk and attack. I want to switch between idle and walk depending on whether or not the sprite is moving (if the joystick ...

12. iPhone - cocos2d - Animations and C++ class    stackoverflow.com

I'm trying to add animations to my game (iPhone app, using cocos2d). The game was written in C++, and now I want to run it on iPhone, so most of the classes ...

13. cocos2d animate    stackoverflow.com

I try create animation in my application written on cocos2d. I make it on this tutorial http://getsetgames.com/tag/ccanimation/ All work fine. But I write all code in my Engine class. Also I ...

14. Big animation iPhone with CCSpriteFrameCache - plist    stackoverflow.com

I have a problem when try to load the big animation with about 54 images (320x480 each image) into CCSpriteFrameCache, I can't use plist for this. How can I make the ...

15. Cocos2d for iPhone: i have a delay with with animation (fps collapses)    stackoverflow.com

I've this problem: in my game, when I tap a sprite, an animation in called. This animation is stored inside a singleton class (called Animation) that is inizialized in the didFinischLaunching method. When ...

16. Cocos2D-iPhone: ShadowPaths ala Core Animation    stackoverflow.com

In core animation it is possible to put a shadow round a CGPathRef, while maintaining very high graphics performance.

if (self.displayShadow)
{
    self.shadowLayer = [CALayer layer];

    self.shadowLayer.shadowPath ...

17. Animate Train in iphone    stackoverflow.com

I want to animate a 20 wagon train in iphone. The train will move left to right. Each wagon will have a different animation. I was confused how to do it. ...

18. add animation in cocos2d    stackoverflow.com

how can I add animation in cocos2d in a sprite, the problem is that whenever the use fire the object and hits that object, the object will remove just like an ...

19. Animation help!    stackoverflow.com

I just have a quick question. I am running through an array of images using CCAnimation to make a football spiral. Like so:

// load the football's animation frames as textures and ...

20. What is the best method to reuse animations for cocos2d?    stackoverflow.com

I would like to be able to allocate a few actions so that I can use and reuse them again and again on whatever target CCNode I want. I assumed I ...

21. Import particle from cocos 2d project to non-cocos2d project    stackoverflow.com

I have created particle in cosos 2d and I want to import my particle into my real project (non cocos2) project, How can I do this?

22. Cocos2D complex animations    stackoverflow.com

I am in the middle of a process of porting my game from Flash to iOS, using Cocos2D. I have a working version now and I am glad I could count ...

23. How can I make a professional looking animation in Cocos2D?    stackoverflow.com

I know how to create an animation in Cocos2d using a texture atlas, and I also know how to create a sprite sheet. However, every example I've seen of using a ...

24. The choice... Core Animation vs cocos2d    stackoverflow.com

After improving my self thanks to you, i want to do something mire serious. Thé problem is that i'm still a beginner, making app is quite easy on iOS i admit. ...

25. how to call a method and stop cocos2d animation?    stackoverflow.com

I have 2 button, play, help and one background as

-(void) mainMenu {
//BackgroundImage
//Play Button
//Help Button
}
As you will click PlayButton, it will call a method having following code in its body.
-(void)Play {

  ...

26. cocos2d slot machine animation    stackoverflow.com

I am trying to create an application that simulates a slot machine. Now, I have all the images ready, with the vertical png file and the plist file. My question is, how ...

27. Animations in cocos2d    stackoverflow.com

I am wondering if someone can explain me how to re-use animations in cocos2d? I was used to so-called usual way: I create a 'game object', load animations and after that ...

28. Cocos2D getting progress of CCAction    stackoverflow.com

I have a Cocos2D game with Box2D physics. In my GameScene.mm, I'm working on a method to zoom to a given scale:

-(void) zoomToScale:(float)zoom withDuration:(ccTime)duration
{
    id action = ...

29. Using setTexture for animating in Cocos2d?    stackoverflow.com

Let's say that I got 120 image files in my project. And I want to animate a sprite with all of them. I was thinking about this method:

     ...

30. COCOS2D: how to animate falling bricks into a grid    stackoverflow.com

I'm trying in the beginning of the game to animate 41 bricks to fall into a grid that is 6x7 from the top of the screen but so far I've just ...

31. Animations are not working properly(Cocos2d)    stackoverflow.com

My problem is that animation are not working properly during movements of sprite. Below is the code which i'm using

- (BOOL)ccTouchBegan:(UITouch *)touch withEvent:(UIEvent *)event {    

    ...

32. Converting Flash Animation to Cocos2D    stackoverflow.com

Abstract

What I require is a technique, given a single, but layered Flash animation, to export the position and rotation of each key movie clip in every frame as XML. ...

33. Pulse animation on iPhone    stackoverflow.com

Using cocos2d, how can I achieve a pulse animation using actions. I know I'll need CCScaleTo and probably CCRepeat, but I don't know how to put them together.

34. COCOS2D: ScrollView inside a CCScene blocks animation    stackoverflow.com

I have a CCScene. In its right side I need to have a UIScrollView with some menu elements. I did it this way as I have explained in this previous question ...

35. Prevent Cocos2D touches during animation?    stackoverflow.com

In this animation here:

    - (void)ccTouchesBegan:(NSSet*)touches withEvent:(UIEvent*)event {
    self.isTouchEnabled = NO;
    if (scoreLabel.opacity == 225) {
       ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.