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

Mockup & CodeGen, iPhone & iPad
($9.99)

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

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 01-31-2010, 04:34 PM   #20 (permalink)
smasher
Senior Member
iPhone Dev SDK Supporter
 
smasher's Avatar
 
Join Date: Jul 2008
Location: San Mateo, CA (San Fran)
Posts: 3,858
Default

It sounds like you need some more state variables - like playerJumpStep to tell you which frame of the jump you're on (1-5 for up, 6-10 for down maybe?) and firstSwipeDone (set it to false initially, set it to true when you detect a swipe). Once you have that info you can make decisions based on it.
__________________

Free Games!
smasher is offline   Reply With Quote
 

» Advertisements
» Online Users: 323
15 members and 308 guests
ADY, betterlee, BrianSlick, higgey, JohnS., Joseph Nardone, leahov, marshusensei, Mikkoata, OneHubCapMissing, Paul10, Phi, Promo Dispenser, RoryHarvey, ziocleto
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,877
Threads: 89,218
Posts: 380,703
Top Poster: BrianSlick (7,129)
Welcome to our newest member, peterkessler45
Powered by vBadvanced CMPS v3.1.0

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