Click here to Skip to main content
15,890,123 members
Home / Discussions / C#
   

C#

 
GeneralRe: Again, Two Keys At Once Pin
Skippums19-Nov-07 13:15
Skippums19-Nov-07 13:15 
GeneralRe: Again, Two Keys At Once Pin
MasterSharp19-Nov-07 13:59
MasterSharp19-Nov-07 13:59 
GeneralRe: Again, Two Keys At Once Pin
Skippums19-Nov-07 13:12
Skippums19-Nov-07 13:12 
GeneralRe: Again, Two Keys At Once Pin
Luc Pattyn19-Nov-07 14:00
sitebuilderLuc Pattyn19-Nov-07 14:00 
GeneralRe: Again, Two Keys At Once Pin
MasterSharp19-Nov-07 14:26
MasterSharp19-Nov-07 14:26 
GeneralRe: Again, Two Keys At Once Pin
MasterSharp19-Nov-07 14:45
MasterSharp19-Nov-07 14:45 
GeneralRe: Again, Two Keys At Once Pin
Luc Pattyn19-Nov-07 15:38
sitebuilderLuc Pattyn19-Nov-07 15:38 
GeneralRe: Again, Two Keys At Once Pin
Skippums19-Nov-07 16:33
Skippums19-Nov-07 16:33 
I kind of like this idea, but I feel like combining both keys into one action will improve performance, especially if making a game. Giving each key "it's own timer" as indicated in this post will give the "expected" result, but you will have to render your scene up to twice as much as if you handled the keys together at once. This could result in your game hanging if it is a realtime sort of game with lots of detailed shapes. The alternative may make the buttons lag or double press in a short time (depending on implementation), but it will prevent rendering up and right separately. Just a suggestion.

Jeff
GeneralRe: Again, Two Keys At Once Pin
Luc Pattyn19-Nov-07 17:14
sitebuilderLuc Pattyn19-Nov-07 17:14 
AnswerRe: Again, Two Keys At Once Pin
Christian Graus19-Nov-07 16:50
protectorChristian Graus19-Nov-07 16:50 
AnswerRe: Again, Two Keys At Once Pin
DaveX8619-Nov-07 18:46
DaveX8619-Nov-07 18:46 
QuestionSample code for setting ReportViewer1.BorderStyle Pin
Davood Riazi19-Nov-07 12:04
Davood Riazi19-Nov-07 12:04 
QuestionOriginal Pin
MasterSharp19-Nov-07 10:42
MasterSharp19-Nov-07 10:42 
AnswerRe: Original Pin
Not Active19-Nov-07 11:39
mentorNot Active19-Nov-07 11:39 
GeneralRe: Original Pin
MasterSharp19-Nov-07 12:18
MasterSharp19-Nov-07 12:18 
AnswerRe: Original Pin
Christian Graus19-Nov-07 12:27
protectorChristian Graus19-Nov-07 12:27 
GeneralRe: Original Pin
MasterSharp19-Nov-07 12:30
MasterSharp19-Nov-07 12:30 
AnswerRe: Original Pin
Colin Angus Mackay19-Nov-07 12:30
Colin Angus Mackay19-Nov-07 12:30 
GeneralRe: Original Pin
MasterSharp19-Nov-07 12:48
MasterSharp19-Nov-07 12:48 
AnswerRe: Original Pin
Expert Coming19-Nov-07 14:25
Expert Coming19-Nov-07 14:25 
QuestionDecleration Problem Pin
ytubis19-Nov-07 10:32
ytubis19-Nov-07 10:32 
AnswerRe: Decleration Problem Pin
Skippums19-Nov-07 10:36
Skippums19-Nov-07 10:36 
QuestionMath Question Pin
Sautin.net19-Nov-07 10:13
Sautin.net19-Nov-07 10:13 
AnswerRe: Math Question Pin
Skippums19-Nov-07 10:32
Skippums19-Nov-07 10:32 
AnswerRe: Math Question Pin
Pete O'Hanlon19-Nov-07 10:36
mvePete O'Hanlon19-Nov-07 10:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.