Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 03-25-2010, 04:29 AM   #5 (permalink)
AptoTech
Registered Member
 
AptoTech's Avatar
 
Join Date: Mar 2010
Posts: 29
AptoTech is on a distinguished road
Default

*I am the same person as iPhoneDevelopment, but this is my new account*

I have gone around and around in circles trying to work out what is happening, and I think I may have come up with an answer. When the power up is collected, I call '[self higher];', which fires this method:
Code:
-(void)higher {
	jumpStrength = 28;
	[self performSelector:@selector(normalJump) withObject:nil afterDelay:10];
}
Am I right in thinking then that this method will continue to run for 10 seconds? If I am, then if the player die during those ten seconds, that method will still be running? I have a hunch that this may be the source of the problem.
__________________

AptoTech.com - Our website!
Twitter Feed - Follow us on Twitter!
YouTube Channel - Trailer coming soon!
Facebook Fan Page - Why not become a fan?
Jump! - an intensive, addictive and engrossing jumping game! - Out now for the iPhone and iPod Touch!
Jump! Lite - The free version of my first game!
AptoTech is offline   Reply With Quote
 

» Advertisements
» Online Users: 525
23 members and 502 guests
Absentia, baja_yu, Batman, BuzzingDanZei, Chickenrig, eldakh94, eski, headkaze, JoeRCruso, linkmx, LunarMoon, mobilaga, Mp808, poke, RickSDK, sacha1996, smithdale87, spiderguy84, TheTakeOver, toolifog, Triston, vbovio, wandou
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,548
Threads: 94,074
Posts: 402,712
Top Poster: BrianSlick (7,990)
Welcome to our newest member, mrtdmb
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 04:26 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.