Game
Properties
The size of window we will try to create when the game starts. The actual window size may be larger or smaller.
This is only needed in the editor, not during game-play. Each PickGroup contains a list of items which can be picked
and dropped onto a stage, creating an Actor.
A map of old-paths to new-paths. When resources are renamed, we remember this old path and map it to its new path. Later, acts can be loaded, and any references to old-paths can be fixed, and the act saved. This map can then be cleared.
Describes how the Stages are arranged. In a very simple game, there is only 1 StageDescription (with a default name of main
). However, more complicated games may have many stages, stacked on top of each other. For example, we may have a bottom layer (index==0) which only contains terrain. Then a middle layer (index==1) for most of the active Actors. Then a layer above that for Actors which are always above the active layers. Maybe this is used for special effects etc.
Where the center of world is relative as a proportion to the window's size. e.g. (0.5,0.5) will make world point (0,0) appear in the middle of the window. (0,0) will make world point (0,0) appear at the top left of the window.