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 6625561
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T21:47:21+00:00 2026-05-25T21:47:21+00:00

A game scene with multiple layer ant numerous sprite, working almost nicely(except of some

  • 0

A game scene with multiple layer ant numerous sprite, working almost nicely(except of some problems). But if we put the game on hold, for a long time of 5-10 minutes (approx), it’s frame rate goes down and game start giving jerky effect when been start playing again.

the default frame rate is been used initially here is default ccMacros.h:

#define CC_DIRECTOR_INIT()                                                                      \
do{                                                                                         \
window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];                   \
if( ! [CCDirector setDirectorType:kCCDirectorTypeDisplayLink] )                             \
    [CCDirector setDirectorType:kCCDirectorTypeNSTimer];                                    \
CCDirector *__director = [CCDirector sharedDirector];                                       \
viewController = [[RootViewController alloc] initWithNibName:nil bundle:nil];               \
viewController.wantsFullScreenLayout = YES;                                                 \
[__director setDeviceOrientation:kCCDeviceOrientationLandscapeLeft];                                \
[__director setDisplayFPS:NO];                                                              \
[__director setAnimationInterval:1.0/60];                                                   \
EAGLView *__glView = [EAGLView viewWithFrame:[window bounds]                                \
                                pixelFormat:kEAGLColorFormatRGB565                          \
                                depthFormat:0 /* GL_DEPTH_COMPONENT24_OES */                \
                         preserveBackbuffer:NO];                                            \
[__director setOpenGLView:__glView];                                                        \
[viewController setView:__glView];                                                          \
[window addSubview: viewController.view];                                                   \
[window makeKeyAndVisible];                                                                 \
} while(0)

Edit: The scenario is, APPLICATION KEEP WORKING PROPERLY WHILE I’M PLAYING IT EVEN FOR THAN FIVE OR TEN MINUTES BUT FRAME RATE GET DOWN WHEN WE LEFT THE APPLICATION UN TOUCHED FOR THE SAME TIME PERIOD SO is there any way to refresh the application time to time?

  • 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-25T21:47:22+00:00Added an answer on May 25, 2026 at 9:47 pm

    As I tried every thing, @Nitish suggested but, at a movement every thing got to be failed. As that degradading frame rate is still an issue. By googling too much and trying to find out the reason and solution, I have only been succeed to have reason only, as I was unable to afford solution. To check what I got, CHECK THIS LINK.

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

Sidebar

Related Questions

Using cocos2d for iPhone game development, I am confused between Layer and Scene. For
I have a cocos2d project with some scenes (home scene, level selection scene, game
I'm writing a game which uses 3D models to draw a scene (top-down orthographic
I am building an iOS game with OpenGL ES 2.0 that contains a scene
I am making a racing game and I would like to print some information
In a game that I am making, the moment the game scene initializes, a
I've recently decided to subclass my sprite, but I am a bit clueless on
I am trying to create a scene graph for my 3D game in which
I am creating a rain scene in my game. I want to show the
I'm preparing to build a 2D scene graph for my game, and i would

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.