1 / 5

LightWeight Ninja

Explore a detailed flow diagram for controlling character movement in a lightweight ninja game. Learn about primary classes, GameObjects, and data flow in game development.

ferris
Download Presentation

LightWeight Ninja

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. LightWeight Ninja www.drengin.net www.stardock.net Carolyn Begle December 13, 2000

  2. Primary Classes • Character • Guard (derived from Character) • GameObject • GameWorld • Handler

  3. Data Flow Diagram

  4. Control Flow Diagram

  5. void Character::PlayerRunning() { if (kKeysPressed.bLeft) { if (lDeltaX > 0) { intCurrAction = ACTION_SKIDDING; lDeltaX += -SKID_ACCELERATION; } else { intCurrAction = ACTION_RUNNING; lDeltaX += -2; } } … }

More Related