1 / 5
LightWeight Ninja
50 likes | 160 Vues
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.
Télécharger la présentation
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
LightWeight Ninja www.drengin.net www.stardock.net Carolyn Begle December 13, 2000
Primary Classes • Character • Guard (derived from Character) • GameObject • GameWorld • Handler
void Character::PlayerRunning() { if (kKeysPressed.bLeft) { if (lDeltaX > 0) { intCurrAction = ACTION_SKIDDING; lDeltaX += -SKID_ACCELERATION; } else { intCurrAction = ACTION_RUNNING; lDeltaX += -2; } } … }
More Related