The Daily Click ::. Forums ::. Klik Coding Help ::. Jump problem!
 

Post Reply  Post Oekaki 
 

Posted By Message

en kerro



Registered
  21/10/2004
Points
  578
13th February, 2006 at 18:29:04 -

I have a game with eight directions movement + jump. But, the problem is: Player can jump to every direction except to north-west, south-east and south-west. But he CAN jump to north-east. So, what's wrong? Why it's impossible to jump to those three directions? Argh! Help me, if you know what's wrong.

PS: Jump engine is from tgf example game called Magician's lair. It can be downloaded from clickteam.com

 
Current Projects:
The Artillerys 10%
Forgotten Legends 8%
Earth Defender 20%

Dark (DOE)



Registered
  25/04/2005
Points
  160
13th February, 2006 at 19:24:10 -

What key are you using for jumping? In TGF, and I'm pretty sure in MMF too, the programs don't recognize some keys for certain jumping. Try using a different key instead.

 
Dark One Entertainment

Step Out Of The Light And Enter The Darkness
"Why do we need this?
Who was it that said,
Great things come to great men
Well that f**ker lied to us
There's nothing here but a wasteland."

en kerro



Registered
  21/10/2004
Points
  578
13th February, 2006 at 20:16:30 -

Oh, thanks. Problem vanished when I changed the button. With spacebar, it does not work. But it works now... DAMN! Spacebar was so good button but now i hav e to think about resetting all buttons... But thanks again!

 
Current Projects:
The Artillerys 10%
Forgotten Legends 8%
Earth Defender 20%

David Newton (DavidN)

Invisible

Registered
  27/10/2002
Points
  8322

Honored Admin Alumnus
13th February, 2006 at 21:19:59 -

Most keyboards don't allow certain combinations of keys to be pressed at one time - I heard this was called "keyboard clash" ages ago, but I haven't seen the term used for years. My keyboard has a problem having Up+Left+Any other key pressed at a time, but is fine with every other direction - I tend to use IJKL instead of the arrow keys to solve it.

 
http://www.davidn.co.nr - Games, music, living in America

Dark (DOE)



Registered
  25/04/2005
Points
  160
13th February, 2006 at 22:10:38 -

Ahhh...so thats the problem...I always thought it was just TGF when I used to use the arrow key movement and spacebar for shoot, as I would only shoot in 5 directions instead of the 8...hmm...I'll have to check and see if this keyboard is like that too...although the combination alone even working for me, wouldn't matter if I wanted to release a game with that combo.

 
Dark One Entertainment

Step Out Of The Light And Enter The Darkness
"Why do we need this?
Who was it that said,
Great things come to great men
Well that f**ker lied to us
There's nothing here but a wasteland."
   

Post Reply



 



Advertisement

Worth A Click