The lionengine-game-strategy module is a specialized module for strategy games. It contains a specific high level API, designed to provide the most common tools for any strategy game development, including a dedicated architecture.
Here the different packages:
Here a short overview of the high level API and its architecture (only main items are listed here):
EntityStrategy
: Enhanced entity implementation designed to support skills usage and map interactionHandlerEntityStrategy
: Specific handler for this entity typeControlPanelModel
: Represents the game HUD, containing the interactive icons and game map areaCursorStrategy
: Enhanced cursor that allows to interact with both control panel and game map areaCameraStrategy
: Enhanced camera that fit in the control panel in order to show the game map area and navigate on it
MapTileStrategy
: Advanced tile based map supporting the pathfindingFogOfWarStrategy
: Special map layer adding a fog of war effect (undiscovered area, fogged area)
Mover
: Allows the entity to move around a path based map, using the A* pathfindingAttacker
: Allows an entity to attack another entity, using a fight logicProducer
: Allows an entity to create new entities (construct buildings, produce entities...)
![]()
Extractor
: Allows an entity to extract resources (as tile or object), and bring them to a storage locationSkilled
: Allows an entity to use skills
SkillStrategy
: Standard skill representationSetupSkillStrategy
: Standard skill setup representation
Here an example of a strategy game, highlighting some of the main components:
Read next page: General Architecture - Network Module