1 / 15

The Content

The Content. Simple AI Simple physics Particle System Level Creation Player Classes Network play 3D sound Animated models. Program layout. WARMain Window and program main entry point WARApplication Handles more game specific stuff Takes care of DirectX, updates managers etc

zahina
Download Presentation

The Content

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. The Content • Simple AI • Simple physics • Particle System • Level Creation • Player Classes • Network play • 3D sound • Animated models

  2. Program layout • WARMain • Window and program main entry point • WARApplication • Handles more game specific stuff • Takes care of DirectX, updates managers etc • Game states • Takes care of the current state’s logic

  3. Game States • BaseGameState • Init(), Deinit(), Update(), Render(), Input() • KeyDown()… MouseClicked()… • OnLostDevice(), OnResetDevice() • Reference to an Application object • Application works as a game state manager • Intro, Menu, Game, Level Editor

  4. Particle System • Particle • Pos, Vel, Acc, Size, Color etc • Particle System • Collection of particles and settings • Updates particles, kills, respawns • Particle Manager • Collection of particle systems • Updates, renders and removes

  5. Network • NetworkManager • Client & Server in one • Start(), Stop(), Send(), Read() • Messages • BaseNetworkMessage • Message ID • Encode() – Writes data into a stream • Decode() – Retrieves data from the stream • DerivedNetworkMessage overrides

  6. Basic Network Loop • While(Network.Read()) • Switch(Message.ID) • Case Update: • Message.Decode() • DoUpdate() • Send messages • Create new message and assign ID • NewMessage.Encode() • Network.Send(NewMessage, SendType, Connection)

  7. AI • States • Patrol • Attack • Investigate • Idle • Find Cover • Reload

  8. The Playables • Four very different classes • Engineer • Medic • Soldier • Spy

  9. Level Editor • Construct Levels On the Fly • Easy to learn and use.

  10. Object Hierarchy

  11. GUI

  12. Problems • Animated Meshes • X exporter (Panda, Official, Maya) • Networking Sync • GUI • Wallhack

  13. Further Work • Redesign a few classes • Improve AI • FX Shaders • Buildings • Multitexturing for tilemap • Graphical HUD • Missions • Improved physics (OBB) • Scripts

  14. Questions ? The end

More Related