Skip to main content
GameDev.net gamedev.net
🔒 Locked

Gravity in Dos Window

Started by dk32321 Oct 26, 2005 at 11:01 AM 0 replies 300+ views
Original Post
dk32321
dk32321
i am making a doneky kong type game in the console and i have this ascii character and i have him moving left and right, but how would i make him jump and land back on the ground without going through my ground is a char ground = 205; if somebody could help i would appreciate it.
LessBread
LessBread
You'll have to provide more information. Are you having troubles getting the character to move up and down? It sounds like you are having troubles getting the character to stop moving down. If so, with each downward move you probably need to check the next spot down to see if it is ground or not and if it is then stop.
"I thought what I'd do was, I'd pretend I was one of those deaf-mutes." - the Laughing Man

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.