Review questions


A

When is the OnIdle method called? Which class is it a method of?

B

How do we calculate the timestep dt between updates of our game?

C

How does a critter use dt and its velocity to get its new position?

D

What is the gain of having the dt we give our moving critters match the actual time between updates?

E

What are some factors that influence the frame rate of your animation?

F

How does the application pass the dt down to the individual critters in a game? Mention all the intervening classes.

G

How does the stepDoc(dt) call both update the critter positions and draw them on the screen? Draw a sequence diagram.

H

What is the relationship among CDocument::UpdateAllViews , CView::OnUpdate , CView::Invalidate , and CView::OnDraw ? Draw a sequence diagram.



Software Engineering and Computer Games
Software Engineering and Computer Games
ISBN: B00406LVDU
EAN: N/A
Year: 2002
Pages: 272

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net