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.



    Part I: Software Engineering and Computer Games
    Part II: Software Engineering and Computer Games Reference