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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T22:17:45+00:00 2026-05-20T22:17:45+00:00

Currently I am making a game for iPhone, and want each level to be

  • 0

Currently I am making a game for iPhone, and want each level to be on a different uiviewcontroller (I have tried putting them all on the same view controller, but this just makes it jumpy). However, I need a way to get a high score in the level’s view controller and send it back to the menu view controller. I am using the code:

SecondLevelViewController *screen = [[SecondLevelViewController alloc] initWithNibName:nil bundle:nil];
screen.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
[self presentModalViewController:screen animated:YES];
[screen release];

to get to the viewcontroller and

[self dismissModalViewControllerAnimated:YES];

to get back. I am familiar with NSUserDefaults, which are what I am using currently to get high scores. However, I know this code resets the level’s view controller, that is still fine and even great because i want the level to reset– but if just i could get data back that would be helpful.

Please put things in simple words, because I am very new to programming.

Thanks in advance!

Steve Becker

PS I am using xcode 4.0…

——————————————–ALSO!!!————————————-
The code I am using, I can only figure out how to get transitions “FlipHorizontal”, “CoverVertical”, and “CrossDissolve”…But I have seen many other cool transitions on the iPhone–like the page corner flipping like a page in a book. If you know how to do these other transitions, please tell me!!!! Greatly appreciated!!!!!

  • 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-20T22:17:46+00:00Added an answer on May 20, 2026 at 10:17 pm

    It’s much more standard to have all of the levels on the same UIViewController unless the logic is so different that it’s like playing different games. However, you could use a whole slew of different methods to achieve this. For example, you could use the NSNotificationCenter, NSUserDefaults, or a plist.

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

Sidebar

Related Questions

I'm making an iphone game, currently using openAL for SFX, we want to keep
I'm currently making a C++ game. I have my main loop during which the
I am currently making a fullscreen game and I want to be able to
I'm currently making a pacman game in java. I have a question about the
I am currently making a game for the iphone using cocos2d. The game runs
I am currently making a game for the iPad and iPhone using cocos2d, Box2D
I am making an Iphone drinking card game app. All the card mean something
Im making a .bat game, and currently when putting in a command the code
I am trying to create a game server, and currently, I am making it
I'm currently making an iphone web app based on Google App Engine (python). I

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.