Saving the game levels

hi,
i am in as3 game development. i am creating multiple level game.if the user player the game after reaching the level on by one if the user want to exit the game and reload the game again resume the the i starts from the the same level user saved give me some ideas are tutorials 
thanks in advance

Hi,
To save your level information upon exiting the game you have to use the shared objects. Just save your level information in the shared object, and check in your code for the that, if the user have any shared object attached with his profile ID then oload the level according to the shared object information.
VIPUL

Similar Messages

  • Game Levels in iPhone App

    I am working small card board game, in which I have three levels. I have finished completing level. I need to move to next level. I have a Main View.m, in which I have written code in all touches methods. I am little bit lost in setting levels and game play. Can somebody point me to right direction or any code samples?
    Thanks in Advance
    Ravi

    It sounds like you should make several decisions about your program structure before thinking about how to code it. Here are some questions that might help organize your thinking:
    1) Do I need a different view for each level, or can I just change the logic and/or a few minor details of the main view (like labels, background images, etc.)?
    2) Should I be using at least one view controller? If the view or logic for each level is quite different, maybe I want a separate nib file with a different view controller/view combination for each level.
    3) What kind of transition should take place when the user moves to the next level? This question applies even if the view stays the same, but if the view will change, I need to decide what kind of animation I want.
    4) What kind of support will I need for saving the game? As I think about the structure for each level it might be good to think about how much information needs to be saved for each level. This is secondary to the above questions, but it's helpful to organize state variables before coding begins.
    HTH!

  • I accidentally deleted the game Secret Passages. How do I retrieve the saved levels and scores on game center?

    I accidentally deleted the game Secret Passages. How do I retrieve the saved levels and scores on game center?

    You should be able to redownload the game without cost. However, the levels/scores are gone unless you have a backup in iCloud or on your computer. Some on-line games store the levels/scores on the game's servers, not on the iDevice.
     Cheers, Tom

  • Ive just got a new iPhone4 and I am trying to get the App's ie games from my iPhone3 onto the 4 and retain the same levels that I have reached on the 3, The Apps have gone onto the 4 but its making me re-start everything from level 1?

    Ive just got a new iPhone4 and I am trying to get the App's ie games from my iPhone3 onto the 4 and retain the same levels that I have reached on the 3,
    The Apps have gone onto the 4 but its making me re-start everything from level 1?
    Ive paid $$ for the games and then more $$ within the games via iTunes for in game purchases and desperatly want the games on the 4 with the levels that I have reached on the 3!
    Can anyone help!! Please!!!! My Smurfs and Animals are starving Hahahaha

    Mate, it's good to hear that you have gotten the iPhone 4 but sorry to burst your bubbles. Not all games can have the "saved" data ported over.
    Normally when you save a game in iPhone, the memory used is in the flash memory of the device. Those that can be ported over, reason is due to the data being saved over the air and when you logged in on a new device, it recognises you via the userID.
    Maybe you can try to backup your iPhone 3, and restore the file onto your iPhone 4. Not too sure if that would brick your phone though.

  • My level at the game center in highnoon game got less when i transfer my apple id to another iphone device ?

    how can i get my level back on the game center

    Try resetting your Apple ID password.
    Apple - My Apple ID
    Now restart your iPhone. 
    Press and hold the sleep/wake button until you see the red slider then swipe to power off. Then press and hold the sleep / wake button until you see the Apple logo.
    Try the game center.

  • How to delete the saved score in a game downloaded from app store for my macbook and restart the game from the beginning ? please help

    HOW to delete the saved score in a game downloaded from the app store to restart the game from the begining with fresh scores.
    i am unable to do so. please help

    In system preferences, create a new account again, using the short name of the "deleted" account. You may be prompted to re-use the old home folder. Log out and log in to test it worked. Then log in as your new admin, and do the delete process again. Don't choose to securely delete this time - just a regular delete.
    When you have time to spare, go to Disk Utility, and use the Erase tab to securely erase free space on the drive. This will accomplish the same thing that your originally tried to do. Use the fastest method - anything more secure is a waste of time. You may need to run it overnight - it can take several hours.
    Matt

  • Downloaded free game for my iPad 2; made several in-app purchases. The game no longer works, it's happen to all users (customers). Deleting and re-downloading refreshes the game to level 1. How can I get a refund?

    Downloaded free game for my iPad 2; made several in-app purchases. The game no longer works, it's happen to all users (customers). Deleting and re-downloading refreshes the game to level 1. How can I get a refund?

    You can contact iTunes and ASK for a refund. Then make make an exception to their all sale are final policy.
    Refunds from the App Store or iTunes - Apple Club
    In the future set the restrictions so that in-app purchases are prohibited and that a password is always required.
    iOS: Understanding Restrictions

  • HT4314 I have tried to log into clash of clans on my iPad and it just keeps going to a new game rather than the one saved on my iPhone. I have been using the game centre and same user name and password ?

    I have tried to log into clash of clans on my iPad and it just keeps going to a new game rather than the one saved on my iPhone. I have been using the game centre and same user name and password ?

    I have the same problem.. EXACTLY. .  When phoning Apple Support they had trouble understanding my problem and couldnt find any type of solution. No one seems to take responsibility for GameCenter issues. The assistant escalated the problem but no one could find an answer. .
    The only idea was to set up a new apple id, hence a new GameCenter account. . But that would loose all the itunes data. Anyone got ideas ?

  • How to transfer game from iPad to iPad and still maintain the same level of game play of each game?

    How to transfer game from iPad to iPad and still maintain the same level of game play of each game?

    Check the following:
    That both your Mac and your iPad are signed into the same iCloud account
    Go to System Preferences>iCloud on your Mac, confirm that you have checked Documents & Data, then click Options and confirm that Pages is checked.
    Go to Settings>Pages on your iPad and confirm that "Use iCloud" is turned on.  Also go to Settings>iCloud and confirm that Documents & Data is on, and that Pages is turned on in the app list.

  • How do I get Item Level text from PO ME21N Prior To Saving The PO?

    I saw this asked a few times but no solution so I will ask again.
    Imagine that you are creating a PO in ME21N. You have some Header Level Text and then imagine you have 2 items in this PO. Each of these two items has Item Level Text.
    Once a PO is saved, I know how to use Read_Text to get the texts for the header and items. You simply pass which text you want (ex. F01) the PO number and the language and it returns the texts for the header. For item level you combine PO number and Item number you want in the Name parameter of Read Text (example 112233445500010) then tell it which text you want (ex F01) and that is how it knows which item you want the text for.
    However: When the user is first creating the PO, they want to see how it will look in printing but prior to actually saving the PO. They dont want to save the PO until they know how it will print with Print Preview.
    I was very surprised that the print preview actually worked for the Header Texts prior to saving. I debugged Read_Text and see that when it sees no PO number passed, it simply supplies the text (F01) and the language and pulls it out of an FM READ_CATALOG which I am assuming is memory. In theory, you will only have one F01 text at the header level and it makes sense to me that it is able to retrieve that.
    BUT: My Item Level Texts are not returning anything. It makes sense to me as well because you cannot simply tell it give me the F01 texts you see because if you have multiple items, you will have multiple F01 texts, one for each item number if you put text to each item.
    How can I get the item level texts out before saving the PO? Since the PO is not saved yet, there is no PO number and nothing is stored in STXH and STXL. Where are the texts stored and how can I retrieve them? I tried passing just the item number but as expected it still returned nothing.
    Any ideas?

    Ok I figured it out. I will add this for anyone else that may have this issue.
    The short version is that just like header level texts, item level texts that have not yet been officially saved to the PO are stored in a catalog. If you were to debug READ_TEXT you will see that it will look in the catalog to see if there is an entry there for the corresponding texts (ex F01, F02 etc).
    For header texts, you simply pass the language and which text you want without the PO number and it will return header texts.
    Item level however you have to specify which line item you want plus which text and then the language.
    During debugging if you debug Read_text and go to the FM READ_CATALOG you will see the following:
    READ TABLE CATALOG WITH KEY CATALOG_KEY.
    Load the table Catalog into the debugger and see how it stores them.
    In one solution I read on this forum it said to use 10 zeros and then your item number.
    Mine was stored with 10 spaces, not zeros. Loaded 10 spaces plus the item number and it returned my text with READ_TEXT.
    Hope this helps someone else one day!!

  • I tried to run the game center, I receive a message saving for a week, how can i uninstall it?

    How can I uninstall the game center?

    Hello Davedamoclese,
    Go through the below link to Remove iTunes and all its components from your computer first and then Re-install fresh copy of iTunes on your computer.
    http://support.apple.com/kb/HT1923
    Note : DO not delete iTunes Library as it contains all your iTunes data, please go through the below link for where it is saved on your computer :
    http://support.apple.com/kb/ht1391
    You can download the latest version of iTunes from the below link :
    http://www.apple.com/itunes/download/

  • HT2693 I have bought over £280. Worth of Simpson doughnuts from my iTunes account but the app went down eight weeks ago and the game reset it's self back to level one.

    Can I get a refund back from iTunes as I have lost the game and all the levels and money when the game crashed ?

    Go to the app store and locate the app, then click on the app support button.

  • Is anyone else having problems with Candy Crush Saga blinking out and not allowing you to ask friends for help in moving to another level in the game?  If so, how do I fix it"

    I have been playing Candy Crush Saga for a long time, all of a sudden it is blanking out when I ask friends for help to the next level.  What can I do to remedy this?

    Hello Pepper 46,
    It sounds like an app you installed is not functioning correctly. I recommend starting with these steps from the article named:
    iOS: An app you installed unexpectedly quits, stops responding, or won’t open
    http://support.apple.com/kb/ts1702
    Restart the app
    Close the app and open it again.
    Restart your device
    Turn the device off and on.
    Update your device software and your apps
    Update your device to the latest version of iOS.
    Update your apps:
    Open the App Store and tap Updates.
    If updates are available, tap Update All.
    If asked, enter your Apple ID password. The updates will download and install.
    You might need a Wi-Fi connection to update some apps.
    There is additional troubleshooting in the article if this doesn't resolve it.
    Thank you for using Apple Support Communities.
    Cheers,
    Sterling

  • HT4314 There is a defect in SpellTower.  I was in the middle of a game of Puzzle Mode on my iPhone and had passed the 63,000  point level.  The game then disappeared without any record.  My wife had a similar problem on her iPad in Tower mode. Fibonacci44

    Has anyone else had the following problem with Spell Tower?  I was in the middle of a game in Puzzle mode on my iPhone and had passed the 63,000 point mark. I paused the game (as I had many times before).  When I tried to resume the game, the game had vanished without any record.  My wife had a similar problem in Tower Mode.  In addition, the Apple support page says that, to report an issue, one should click on a specified link at the bottom of the information page for the App in question.  There is no such link on the SpellTower information page.  Fibonacci44

    There are two separate issues here.
    1.  There is a potential problem with the game Spelltower.  That needs to be discussed directly with Spelltower.  My attempted emails to Spelltower have been bounced.
    2.  Apple, on its own webpage, purports to establish a procedure for reporting an issue with an app.  But that procedure does not work with Spelltower because someone at Apple neglected to include a link on the relevant information page.  I have been trying to find that contact info without success.  Apple should take ownership of supplying that contact info.

  • Developing a game, alternatives for saving the current status

    I'm building a videogame with java. I need to have a save/load option, so I can leave the game and and then continue any other day. The most obvious answer is to pass all the info to a text file. But someone told me that maybe I could just save the current status of the memory used by my game at that moment or something like that, so I wouldn't have to worry about formating a text file. Anyone knows if this is possible or at least is there any other alternative to the text file? The game has lots of different objects moving around the screen and I think it would be very difficult to make a text file that would save every object. So any suggestions?

    Serilization is OK, but may cause some problem according to compatibility with later versions. For me the usage of XML-Serialization made sense. you may use something like:
            FileOutputStream stateFileOutput = new FileOutputStream("myState.out");
            new XMLEncoder(state).writeObject(stateObject);
            FileInputStream stateFileInput = new FileInputStream("myState.out"); 
            state = (MyStateObject)XMLDecoder(stateFileInput).readObject();
    ...

Maybe you are looking for

  • [Solved]Share internet connection

    Hi guys I know the title seems kinda dumb but maybe is not as easy as it seems (or im having a brain segmentation fault). What i want to do is this, i have a wireless router on the living room and i just bought a PC and put it in my bedroom i alredy

  • Images in IE Render over Spry SubMenus

    I've developed a Spry Menu Bar, but in IE when you open the submenu under the 'about us' link - any image thats in the content of the page renders over the submenu. Works fine in firefox though. See www.genicaassist.co.uk for this example. I've searc

  • Changing the Portal Title

    Hi, In the portal logon screen is it possible to change the WELCOME to WELCOME Quality OR WELCOME Production kind of thing.  If so Plz suggest me how to do.  This is very urgent and important requirement. Thanks naveen

  • Connect R/3 to cProject

    Hi, I want to create a function module in cProject that is called from R/3 side. but I don't know which table to store up the connection information to connect cProject and R/3. I would like to use function module 'SCWB_RFC_PING' in R/3 to check cPro

  • Audio Device in Use

    Hi Folks, I have noticed in the passed few weeks that some of my applications were having problems with sound. First started with Windows Media Player (yes, I know... why bother... suffice to say I had to!). RealPlayer complains that it cannot open t