Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 891 Bytes

engine-api-design.md

File metadata and controls

29 lines (19 loc) · 891 Bytes

Engine API

TODO:

  • allow attaching MD3s via tags
  • move game character and animation related code to game module ; the engine should handle md3 models in general
  • add skin, animation resources
  • remove md3character
  • expose model and map collision information and query functions

IDEA:

  • allow resource quierying from game logic code ; this follows the c game logic design

Towards Client-Server Architecture

  • associate clients with ID to identify them in WorldSnapshot
  • move input to player entity record ; each player should contain its own input
  • enhance input handling to cope with multiple clients
  • dummy client ; just shoots
  • modify renderer to use local client entity (identified by local client ID)

State Patching

use-case: weapon / shooting

basis for the case-study

  • rocket launcher: apply damage to surrounding players