Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5941573
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T16:07:45+00:00 2026-05-22T16:07:45+00:00

I want to create one game scene to make some object like pop up

  • 0

I want to create one game scene to make some object like pop up randmoly.. It shows to small when appear in screen at any time and any position.. It goes to big and come out to screen..

GameScene with objects shows pop up in screnn randmoly..

Like one game which has objects appear in jumping animation..

How its possible..?
Any help should be appreciated.. Please…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T16:07:45+00:00Added an answer on May 22, 2026 at 4:07 pm

    Easy…

    To do those animations u must be in mind that the z value of your animated sprite should be higher the all the others to be always up front (create constants to that)
    You are going to use CCAction do create the action like, fadeIn, Scale, Move.

    This is a sample of an viking poping up in the screen and like

    CCSprite *viking =
    [CCSprite spriteWithFile:@"VikingFloating.png"];
    [viking setPosition:ccp(screenSize.width * 0.35f, screenSize.height * 0.45f)];
    [self addChild:viking];
    id rotateAction = [CCEaseElasticInOut actionWithAction:
    [CCRotateBy actionWithDuration:5.5f angle:360]];
    id scaleUp = [CCScaleTo actionWithDuration:2.0f scale:1.5f];
    id scaleDown = [CCScaleTo actionWithDuration:2.0f scale:0.5f];
    [viking runAction:[CCRepeatForever actionWithAction:
    [CCSequence actions:scaleUp,scaleDown,nil]]];
    [viking runAction:
    [CCRepeatForever actionWithAction:rotateAction]];
    
    

    there is a great book about it, in fact i’ve got this piece of code from it – http://cocos2dbook.com/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create one proc like below but it has error on syntax.
Basically I want to create one large object of many object in JavaScript. Something
I want to create a box like this with title: Can any one please
I want to create a web-based board game like reversi. I created a similar
I want to create a game something like Who wants to be millionaire?, where
I want to create a basic side-scrolling game in Java like the 1995 game
I want to create a one to one mapping between the Entity Customer and
I want to create 4 rectangles stacked to one row. |----|--|------|------------| The width of
I want to create unit tests for one of my project's classes but I'm
I want to create a property grid (the one which is similar to the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.