Tasks:Mapengine: Difference between revisions

From Adonthell
Jump to navigation Jump to search
Freddy3 (talk | contribs)
m Requirements: Added link to Tasks:Pathfinding
Line 20: Line 20:
* The map is seamless, i.e. there are no transitions between different 'areas'. Transitions may occur when entering buildings or caverns.
* The map is seamless, i.e. there are no transitions between different 'areas'. Transitions may occur when entering buildings or caverns.
* Only parts of the graphical map representation need to be kept in memory. Loading of map areas happens in the background.
* Only parts of the graphical map representation need to be kept in memory. Loading of map areas happens in the background.
* The complete physical map is kept in memory, to allow NPCs wandering over long distances.
* <span style="text-decoration:line-through">The complete physical map is kept in memory, to allow NPCs wandering over long distances.</span> (done)
* Map can be loaded and saved with possibly different files for static and dynamic content.  
* <span style="text-decoration:line-through">Map can be loaded and saved with possibly different files for static and dynamic content.</span> (done)
* <span style="text-decoration:line-through">The map model is 3-Dimensional, allowing different height levels. The camera is fixed to provide a top-down view.</span> (done)
* <span style="text-decoration:line-through">The map model is 3-Dimensional, allowing different height levels. The camera is fixed to provide a top-down view.</span> (done)
* <span style="text-decoration:line-through">Objects displayed are 2-Dimensional, drawn according to the underlying 3D model of the world.</span> (done)
* <span style="text-decoration:line-through">Objects displayed are 2-Dimensional, drawn according to the underlying 3D model of the world.</span> (done)

Revision as of 08:35, 11 August 2009

Back to Task List

Overview

The mapengine is responsible for providing a model of the game world, including the environment, locations of characters and items. This data is kept in files and must be loaded and saved at need.

The map engine data is visualized by the Map View.

Dependencies

Requirements

The mapengine needs the following features:

  • The map is seamless, i.e. there are no transitions between different 'areas'. Transitions may occur when entering buildings or caverns.
  • Only parts of the graphical map representation need to be kept in memory. Loading of map areas happens in the background.
  • The complete physical map is kept in memory, to allow NPCs wandering over long distances. (done)
  • Map can be loaded and saved with possibly different files for static and dynamic content. (done)
  • The map model is 3-Dimensional, allowing different height levels. The camera is fixed to provide a top-down view. (done)
  • Objects displayed are 2-Dimensional, drawn according to the underlying 3D model of the world. (done)
  • Movement of characters through the world is pixel-based. Moving is at least possible in 8 directions. (done)
  • Speed of movement can vary between characters or the same character (running, walking, sneaking) (done)
  • Characters can walk, climb, jump and fall. (done)
  • Pathfinding for computer controlled characters. (being done)
  • Items can be placed on the 'ground' or other objects (table, shelf).
  • Multiple items can share the same location
  • Map events are triggered when characters enter or leave certain locations.

References