Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Help needed with crazy jumping sprite! Thanks!
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Emmie




PostPosted: Tue May 29, 2007 8:57 am   Post subject: Help needed with crazy jumping sprite! Thanks!

Hey there everyone. Smile I have my little kirby sprite, and he's moving just fine but he's not eating/sucking in things so well. When I hit the 'x' button he's supposed to eat. He eats, however, the sprite jumps forward to the furthest movement barrier I've set up. In the code I didn't change the x or y values so I'm not sure why he's jumping all over the place.

Last time I had this problem I took away a delay and it didn't jump, but when I try that now it just jumps faster. Does anyone have any suggestions? Thanks so much!
Sponsor
Sponsor
Sponsor
sponsor
Emmie




PostPosted: Tue May 29, 2007 8:58 am   Post subject: Re: Help needed with crazy jumping sprite! Thanks!

Sorry, I also forgot to mention that when he's done eating he returns to his former position on the screen.
Albrecd




PostPosted: Tue May 29, 2007 12:12 pm   Post subject: Re: Help needed with crazy jumping sprite! Thanks!

Could you post your code so we can have a look?
Emmie




PostPosted: Wed May 30, 2007 9:53 am   Post subject: Re: Help needed with crazy jumping sprite! Thanks!

I figured it out. Thanks so much for replying anyways Albrecd!
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: