I am trying to develop a Roulette game for iPhone. How can I animation (spin) the Roulette board?
|
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 ... |
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 ... |
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 ... |
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 ... |
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 ... |
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 ... |
|
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?
- ...
|
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 ... |
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 ... |
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 ... |
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 ... |
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 ... |
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 ... |
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 ... |
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 ...
|
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. ... |
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 ... |
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 ...
|
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 ... |
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?
|
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 ... |
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 ... |
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. ... |
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 {
...
|
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 ... |
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 ... |
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 = ...
|
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:
...
|
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 ... |
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 {
...
|
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. ... |
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.
|
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 ... |
In this animation here:
- (void)ccTouchesBegan:(NSSet*)touches withEvent:(UIEvent*)event {
self.isTouchEnabled = NO;
if (scoreLabel.opacity == 225) {
...
|