Jump to content

Problems with collsion and keyboard input.

- - - - -

  • Please log in to reply
No replies to this topic

#1
Gh0st

Gh0st

    Newbie

  • Members
  • PipPip
  • 17 posts
Basically the problem I am making this platform game. I am trying to make it so a character sprite lands on a block sprite. What happens is, if you jump to early he lands inside the block. The other problem is, if you hold down spacebar and hit any other key he keeps jumping. Any information on how to fix these problems would be greatly appreciated.

You can get the code and resources at this link. SPISPOPD.tar.gz

Edited by Gh0st, 19 November 2011 - 12:21 AM.
Link did not have source code

Programming is not a zero-sum game. Teaching something to a fellow programmer doesn't take it away from you. I'm happy to share what I can, because I'm in it for the love of programming. -John Carmack




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users