Contraptions Design Specification
"The Ship Game 4.5"
Welcome to my insanity!
By Kenneth Manta
Section 3.1.x: Object Hierarchy and Interaction
Tracing User Input during gameplay
CInput->CScreen(Derived class for current game screen)
CPlaygame->Sync.KeyDown(Key);
Sync stores until next frame then Sync sends to master sync.
Sync->IO(Socket,file,local)->MasterSync
MasterSync->Sync // Master sync sends to each individual sync
for each key{
//Execute level scripts acrivated by that key
Sync->Session.KeyDown/KeyUp
//Execute the keyscript bound to that key for the player the key was received from
Sync->Session.Player[PlayerID].KeyScripts.KeyDown/Keyup;
}
ShipScript->ActivateWidget();
Copyright 2004-2005 © Polyart. All rights reserved.