Click here to Skip to main content
16,008,010 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Debug tools Pin
26-Nov-01 5:28
suss26-Nov-01 5:28 
GeneralDynamic linking Pin
mimi26-Nov-01 2:57
mimi26-Nov-01 2:57 
GeneralRe: Dynamic linking Pin
Joaquín M López Muñoz26-Nov-01 3:53
Joaquín M López Muñoz26-Nov-01 3:53 
GeneralRe: Dynamic linking. Thanks Pin
26-Nov-01 8:53
suss26-Nov-01 8:53 
QuestionHow to delete some files in system folder Pin
Huu Quynh26-Nov-01 2:53
Huu Quynh26-Nov-01 2:53 
AnswerRe: How to delete some files in system folder Pin
Rickard Andersson2026-Nov-01 9:00
Rickard Andersson2026-Nov-01 9:00 
AnswerRe: How to delete some files in system folder Pin
Michael Dunn26-Nov-01 10:11
sitebuilderMichael Dunn26-Nov-01 10:11 
Generalscreen unit question on playbook maker 4 football Pin
26-Nov-01 1:40
suss26-Nov-01 1:40 
Hi,

i would like to build a program to make plays for american football. i'm looking for a convenient way to loop through the play.
Every 50 msec, i would update the positions of the players. the players would be in a database and contain all different kinds of attributes like speed, strength. Speed would be for instance: he runs 40 yards in 4.8 seconds.
This means 8.33 yards in 1 second, leading to 0.41667 yards in 50 msec.
(correct me if i'm wrong)
So with the appropriate interval (50 msec?) and conveniently chosen coordinate system, calculating & plotting the new position should be pretty easy? (players will run along a route that can be drawn)

What's the easiest way to translate this info in a new position on screen of that player?

Do i change the screen coordinates in centimeter of feet (doesn't really matter for me if it's metric or not, it's the method that counts)?

Another thing i would like to add later on is acceleration. For instance,
it takes player x 1.2 seconds or 10 yards to reach his full speed.
Any ideas on that?
Any links to articles on these kinds of problems are also welcome.

Thanks for any info!
GeneralAdvice ! Pin
Raju7726-Nov-01 1:39
Raju7726-Nov-01 1:39 
GeneralRe: Advice ! Pin
26-Nov-01 3:05
suss26-Nov-01 3:05 
GeneralRe: Advice ! Pin
Raju7726-Nov-01 21:06
Raju7726-Nov-01 21:06 
GeneralRe: Advice ! Pin
27-Nov-01 7:44
suss27-Nov-01 7:44 
GeneralRe: Advice ! Pin
27-Nov-01 7:56
suss27-Nov-01 7:56 
GeneralRe: Advice ! Pin
Hadi Rezaee9-May-02 1:37
Hadi Rezaee9-May-02 1:37 
GeneralContext switch from DOS to Windows.. Pin
Debu26-Nov-01 1:06
Debu26-Nov-01 1:06 
GeneralRe: Context switch from DOS to Windows.. Pin
Nish Nishant26-Nov-01 6:39
sitebuilderNish Nishant26-Nov-01 6:39 
Questionhow to deal with taskbar programmatically? Pin
haiyan_qi25-Nov-01 23:31
haiyan_qi25-Nov-01 23:31 
Generalhelp about levenberg-marquardt method Pin
Gérald Mercet25-Nov-01 23:14
Gérald Mercet25-Nov-01 23:14 
Generalmonitor a RAS connection Pin
cmhi25-Nov-01 23:13
cmhi25-Nov-01 23:13 
GeneralA new child frame Pin
25-Nov-01 22:19
suss25-Nov-01 22:19 
GeneralRe: A new child frame Pin
Chambers26-Nov-01 0:29
Chambers26-Nov-01 0:29 
GeneralRe: A new child frame Pin
26-Nov-01 1:00
suss26-Nov-01 1:00 
GeneralRe: A new child frame Pin
Chambers26-Nov-01 10:41
Chambers26-Nov-01 10:41 
Questionhow to change the keyboard's Num Lock status programmatically? Pin
haiyan_qi25-Nov-01 22:06
haiyan_qi25-Nov-01 22:06 
AnswerRe: how to change the keyboard's Num Lock status programmatically? Pin
Nish Nishant25-Nov-01 22:17
sitebuilderNish Nishant25-Nov-01 22:17 

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.