Jump to content

Move a "*" in c++


DarthRaff
 Share

Recommended Posts

Hello,

 

This is just c++, not Leadwerks.

 

I have been looking in google a way to move something (using the console) around the screen using the keyboard trying to aboid this : When i push a key for move to the right the character, it moves one point, then stop while the key is still pushed and then start to move againg smoothing. Well, can someone tell me how can i eliminate this stop ? sorry if i ask this here but i have been looking for it in google with no result and don't know where to ask it.

Link to comment
Share on other sites

Hello again,

 

Can't figure out how to use "on key release" to achive this, and i'd like to do it without an external library, but can't find the way. A lot of years ago, when i was trying quick basic, a teacher told me that i 'd have to clear the keyboard buffer to move something without that little annoying stop, but can't find how to do that in c++. If someone coul'd help me please...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...