Jump to content

  • Log In with Google      Sign In   
  • Create Account

Input control for Tetris-clone, how?


Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
2 replies to this topic

#1   Members   

150
Like
Likes
Like

Posted 11 October 1999 - 09:59 AM

How do you take care of keyboard input control for Tetris-clones, im using directx in C++... what i have now is a method where the keys that are pressed are checked and than a sprite is moved, but once i press a key the sprite moves really fast...

------------------
Drago


#2 Anonymous Poster_Anonymous Poster_*   Guests   

Likes

Posted 11 October 1999 - 09:58 AM

No problem with the Keyboard!
Your game is too fast!
You must slow it down with a timer (see questioned below)
to have a framerate of 60-70 FPS!

I hope could help...


#3   Members   

122
Like
Likes
Like

Posted 11 October 1999 - 09:59 AM

You can look at the source for notTETRIS, a tetris clone that I made. It can be found at: http://members.tripod.com/mxf_entertainment/projects.htm. It's also in the GDnet workshop.

------------------
- mallen22@concentric.net
- http://members.tripod.com/mxf_entertainment/





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.