Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


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 drago   Members   -  Reputation: 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


Sponsor:

#2 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

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 Matthew Allen   Members   -  Reputation: 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.



PARTNERS