Can't Reset Game
Hi! I'm working on a simple game. At the moment I'm trying to get back to the game menu when the game ends, then allow the user to be able to start the game again. Here is an image of my game menu, [http://www.cppjj.com/game/gameMenu.jpg]
Right now, when the game ends, I'm able to get back to the main menu by a mouse click on the gameOverImage. I'm able to select all the menus except when I try to start the game again, it doesn't start. I have been on this for awhile and couldn't figure it out why.
Any help would be nice, THX.
here is my GameStart code
//Create game over image
public var gameOverImage = ImageView
layoutX:20
smooth:true
image:gameOver
visible: bind getScoreTime.gameOverVisible
onMousePressed: function (e: MouseEvent): Void
getUser.gameStart = true;
getUser.countDownPlay = true;
menu.menuVisible = true;
getUser.getUserName();
countTextVisible = true;
//Reset the count down clock
countDownText = 2;
countDown.stop();
//Decrease the time
getScoreTime.keepTime.stop();
getScoreTime.getScoreText = 0;
getScoreTime.totalTimeText = 5;
counter=0;
controlGroup;
getScoreTime.gameOverVisible = false;
//Removing the score display text
getScoreTime.scoreTextVisible = false;
//Starts level 1
getLevelStyle.levelVisible = false;
level.levelItemVisible = false;
//Create the Cross hair
getCursor = Cursor.DEFAULT;
//Calls the Level class
level.changeTextColor.stop();
//Determine if the user make it to the highScore or not
if(getScoreTime.getScoreText >= getUser.rank1Score )
getUser.printRank1ToFile(getScoreTime.getScoreText);
else if(getScoreTime.getScoreText >= getUser.rank2Score)
getUser.printRank2ToFile(getScoreTime.getScoreText);
else if(getScoreTime.getScoreText >= getUser.rank3Score)
getUser.printRank3ToFile(getScoreTime.getScoreText);
}Edited by: cppjj on May 24, 2010 4:47 PM
I don't think we have enough information to be able to help you... :-(
Similar Messages
-
How can I reset the CTI for each clip to 00:00?
I'm brand new to this - got Premier Elements 12 yesterday, so please bear with me.
I have clips from a soccer game, each of which starts with 00:00. I have written notes about key scenes in each clip using the time that scene occurs in each clip. But when I add clips to the timeline, each clip's CTI begins at the point where the last clip's left off. So, say I wanted to get to a scene in clip 2 at 0:44. But clip 1, with a duration of 4:30, precedes clip 2 in the timeline . To get to the scene I was looking for in clip 2, I'd have to add the 4:30 from clip 1 to the 0:44 in clip 2 to find my scene in the timeline at 5:14 . Obviously, the problem only gets worse with each additional clip. And near impossible when I trim clips.
One "workaround" I can use is to make a copy of the original clip in project assets, adjust the in and out points in the copy to get the scene I want, save/rename that scene and add it to the timeline instead of the original clip. Each scene would then be renamed and would show it's specific duration in the timeline. But that seems like a lot of work, to have to make copies of original clips in assets, trim them there and take them to the timeline. Back and forth, back and forth.
Is there a way to keep the start and end times of each original clip when I add it to the timeline, so I can isolate each scene in that clip and trim out the unwanted portions without having to do math or spend time making and trimming copies? To be more succinct, Can I reset the CTI at the start of each clip to 00:00 within the timeline?
I hope I've described my issue in a clear way that doesn't cause confusion. If not, please let me know what other questions you have or additional info you need to understand the issue I'm describing. Thanks, and sorry for the long post.mascott2300
Please take a look at the blog post that I wrote about the gathering, assembling, organizing, and management of clips in a large project.
ATR Premiere Elements Troubleshooting: PE11: Project Assets Organization for Scene and Highlight Grabs from Collection o…
See if any of the details work for you in your planned Premiere Elements projects.
Also, from the point of view of leaving informational notes in the program, consider the "Comments" opportunities of the unnumbered markers when you place unnumbered markers in the Timeline.
ATR Premiere Elements Troubleshooting: PE11: Forget Me Not Clip Details and Timeline Unnumbered Markers
Please do not hesitate to ask questions or to ask for clarification on anything written.
Thank you.
ATR -
Can't get game to play so deleted it. now can't reinstall. says it is installed
can't get game to play so deleted it. now can't reinstall. says it is installed
If you type in its name on the spotlight search screen (swipe your first home screen to the right) does that find it ?
If it doesn't then have you tried a reset to see if the game then shows on the iPad's homescreen, or as not installed in the App Store app, after the iPad has restarted ? Press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot. -
How can I reset the feature find my iPhone after using it?
I used find my iphone to change the password of my iPad and now that I found it when I try to use it again, it only request the contact phone, how can I reset this feature in case I really lost it? Thanks
Have you got notifications muted ? Only notifications (including games) get muted, so the iPod and Videos apps, and headphones, still get sound.
Depending on what you've got Settings > General > Use Side Switch To set to (mute or rotation lock), then you can mute notifications by the switch on the right hand side of the iPad, or via the taskbar : double-click the home button; slide from the left; and it's the icon far left; press home again to exit the taskbar. The function that isn't on the side switch is set via the taskbar instead : http://support.apple.com/kb/HT4085
If you haven't got notifications muted then try inserting and removing the headphones again -
Hello
I want to buy an app, but I can't because I forgotten my security questions which I can't reset because I didn't mention a rescue mail box...
I have already bought apps and games, but from my iPhone 4S, here i want to do it from my iPad 2, that's why it asks me security questions.
Please help me.
PS : The App is Pages.If you don't have a rescue email address (you won't be able to add one until you can answer 2 of your questions) then you will need to contact iTunes Support / Apple to get the questions reset.
Contacting Apple about account security : http://support.apple.com/kb/HT5699
When they've been reset (and if you don't already have a rescue email address) you can then use the steps half-way down this page to add a rescue email address for potential future use : http://support.apple.com/kb/HT5312 -
HT4314 How can I reset the gem center password without the birthday
Does anyone know how to reset game center password without knowing the birthday. My son setup his own game center account and to logge out and know can't reset the password.
Boot from your recovery partition by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
When the recovery desktop appears, select Utilities ▹ Terminal from the menu bar.
In the Terminal window, enter “resetpassword” and press return. A Reset Password window opens.
Select your boot volume if not already selected.
Select your username from the menu labeled Select the user account if not already selected.
Follow the prompts to reset the password.
Select ▹ Restart from the menu bar.
You should now be able to log in with the new password, but you won't be able to unlock the Keychain. If you've forgotten the Keychain password (which is ordinarily the same as your login password), there's no way to recover it. You’ll need to reset your keychain in the preferences of the Keychain Access application. -
HT4623 where can i find games/apps for an 8gig ipod 4.2.1?
it's an inherited 8Gig ipod. it's been reset to factory and has OS version 4.2.1.
where can i find games for this ipod?
Thanks,
PauliOSSearch - search the iTunes store for compatible apps.
Vintapps 3.1.3 - paid app.
Apple Club - filter apps by iOS version. -
Can I move games from one iPod to a new iPod?
Can I transfer games in progress from ipod3 to new ipod4?
Yes. Transfer these Apps to your iTunes library by choosing File -> Transfer Purchases and then sync them to the new iPod or simply download these same applications on your new iPod when it arrives.
If you want to retain app data as well, you'll want to backup the old iPod and restore the new iPod from that same backup. See this article for more assistance.
iTunes: Backing up, updating, and restoring iOS software
B-rock -
My old email account is disabled and I can't remember my itunes password - how can I reset my password or move $ to a new itunes/email account? It seems I must have mis-typed my account information because I can't answer the security questions correctly...
➡ https://iforgot.apple.com/
-
Every time I go to log in I cloud it tells me that my phone has reaches the maximum free account uses!!!!!!!!!!!!how can I reset this?????
Have you had a look at this?
iCloud: Mailbox size and message sending limits -
Can not add games to iPod touch 4g...
Can not add games to iPod touch 4g from ITunes (PC) it worked befour new update but why not now..
I can now transfer apps including games to my ipod from windows pc in Itunes. I click on ipod tab on the left hand side then click on the apps tab then tick the box at the top to sync and now i can drag and drop apps. No apps or music was lost, still all on my ipod touch, but it did mix my apps up so i had to sort them out. I don't know why it did not work, no setting where change, but the update might of change it.
-
when i try to purchase something it asks me to enter my security questions but i dont remeber them how can i reset them?
Try here:
iTunes Store: My credit card's security code or zip code does not match my bank's records -
I forgot all of the answers to my security questions and when I set up my apple id I did not add a rescue email, I recently got a new iphone and I cannot purchase anything on it because it asks me to answer my security questions which i can't reset because I do not have a rescue email. what do I do?
this does not help. I have forgotten ALL of the answers to my security questions. I can NOT reset the answers to my security questions without answering two of the three security questions. The other way to reset the answers to these questions is for apple to send me an email on my rescue email addres which I DO NOT HAVE.
-
I have Words with Friends app on my iphone4S and the same game on computer. When I try to play Words with Friends with Facebook on the iphone the message says" Account Already Connected. This Facebook account has been connected to another user." It is connected to my computer. How can I play game on iphone?
Hi Grandmaz5,
If you are having issues connecting to Facebook on your iPad, and you have already troubleshot the Facebook app itself, you may want to check the built-in iOS settings for Facebook; you may find the following article helpful:
iOS: Using Facebook, Twitter, and other social network accounts
http://support.apple.com/kb/HT5500
Regards,
- Brenden -
I am trying to download games to my iPod Touch. I can select a game in iTunes and it is downloaded to my Apps Library and on my hard drive. But I cannot transfer or copy this file to my iPod so I can play the game. What do i need to do?
Sync it, like you do anything else.
Have a look at the manual:
iPod touch User Guide (For iOS 4.3 Software)
Maybe you are looking for
-
Hi Experts, I have a typical situation in the LAB environment. Hope some one helps. I have Installed a SCOM 2012 R2 with SQL 2012 SP1 in a single server (Management group 1). I have installed another management group on another server using this SQL
-
How can I get rid of ghost songs in library?
I have deleted several songs/lectures from my computer, but they still show up as "ghosts" with a weird circular symbol to their left (see image attached) -- Itunes think they still exist, but they are no longer on my computer . itunes won't allow m
-
SetStyle method deprecated in FB4 beta 2?
Hi, I've recently (been forced to..) move from fb4 beta 1 to beta 2. The project I've been working on no longer compiles in beta 2 it seems. The error is that the setStyle method is undefined on the INavigatorContent interface. This worked fine wit
-
Hi, What exactly oracle checks for 3-way matching? My understanding is as follows.please correct me if i am wrong. (Qty Received Vs Qty Billed) AND (PO Unit Price Vs Invoice Unit Price) OR Invoice Amount Vs PO Line Amount if this true, is there any o
-
Resource management and information about material.
The system enables the management of resources and information about materials, vendors and stocks in the data base quickly. How is this made? I. Through individual researches of Purchase Orders. II. Through the display or issue of reports and/or