Engine.ini (Config pack)

From PGE Wiki
Jump to: navigation, search

engine.ini - Provides the main settings of game engine.

[common]

Parameter Variants Example value Description
screen-width [>=1] screen-width=800 Default width of screen
screen-height [>=1] screen-height=600 Default height of screen
screen-type [static,scalable],[dynamic,resizable] screen-type=scalable static (or 'scalable' which a synonym of 'static') screen will always have defined resolution.

dynamic (or 'resizable') screen will be resized when you resize window.


[world-map]

Parameter Variants Example value Description
background string background="world_back.png" Background image of world map screen
viewport-x [>=0] viewport-x=66 Position of world map view window over background
viewport-y [>=0] viewport-y=130 Position of world map view window over background
viewport-width [>=0] viewport-width=668 Width of world map view window over background
viewport-height [>=0] viewport-height=403 Height of world map view window over background
level-title-x [>=0] level-title-x=0 Position of level title text
level-title-y [>=0] level-title-y=30 Position of level title text
level-title-w [>=1] level-title-w=700 Maximal width of level title
level-title-align left,right,center level-title-align=center Aligning of text in the defined zone
points-counter [0,1] points-counter=0 Enable displaying of points counter
points-counter-x [>=0] points-counter-x=12 Position of points counter label with value
points-counter-y [>=0] points-counter-y=12 Position of points counter label with value
health-counter [0,1] health-counter=1 Enable displaying of lives/health counter
health-counter-x [>=0] health-counter-x=12 Position of lives/health counter
health-counter-y [>=0] health-counter-y=24 Position of lives/health counter
star-counter [0,1] star-counter=1 Enable displaying of counter of collected stars/leeks/keys
star-counter-x [>=0] star-counter-x=12 Position of counter of collected stars/leeks/keys
star-counter-y [>=0] star-counter-y=36 Position of counter of collected stars/leeks/keys
coin-counter [0,1] coin-counter=1 Enable displaying of collected coins counter
coin-counter-x [>=0] coin-counter-x=12 Position of collected coins counter
coin-counter-y [>=0] coin-counter-y=12 Position of collected coins counter
portrait [0,1] portrait=1 Enable displaying of current playable character's portrait
portrait-x [>=0] portrait-x=2 Position of current playable character's portrait
portrait-y [>=0] portrait-y=2 Position of current playable character's portrait


[loading-scene]

Parameter Variants Example value Description
bg-color-r [0-255] bg-color-r=0 Level of red of background color
bg-color-g [0-255] bg-color-g=0 Level of green of background color
bg-color-b [0-255] bg-color-b=0 Level of blue of background color
background string background="big_splash.png" File name of background / centered splash image
updating-time [>=1] updating-time=128 Delay between updating of screen
additional-images [>=0] additional-images=2 Number of additional images which will be displayed on screen


[loading-image-*] (where * - value from 1 to "additional-images" value)

Parameter Variants Example value Description
image string image="coin.png" File name of image
animated [0,1] animated=1 Enable vertical sprite animation
frames [>=1] frames=4 Number of frames
pos-x [>=0] pos-x=768 Horizontal position on screen
pos-y [>=0] pos-y=564 Horizontal position on screen