Tasks:Object Models
Jump to navigation
Jump to search
Back to Task List
Overview
The Object Model defines the shape and position of things that can be placed in the game world. It is required for Collision Detection, Path Finding and Rendering.
Dependencies
None
Requirements
- Objects have one or more states. (like "open", "closed" for doors or containers) (done)
- Each state has its own graphical and internal representation. (done)
- The internal representation is composed of one or more cube shapes, defined by 8 freely positioned points. (done)
- Alternative shapes could be required for more complex objects
- For further processing, the internal representation is converted into a list of triangles. (done)
- Object graphics are composed of one or more 2D sprites. (done)
- A base tile defines the location of an object on the map. (done)
- Objects can be non-solid (i.e. water-surface, ghosts, smoke, etc.)
References
- Map object suggestion on adonthell-devel
- Current map engine implementation.
- Map object implementation details