Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Global Values

akesi lili provides a set of predefined global values that you can use in your game scripts to manage dimensions and layouts. These values are essential for handling text, sprites, tile maps, and display settings.

Global values

  • CHAR_W: Width of a single text character in pixels.
  • CHAR_H: Height of a text character in pixels.
  • SPR_W: Width of a single sprite in pixels.
  • SPR_H: Height of a single sprite in pixels.
  • MAP_W: Width of the complete tile map in number of tiles.
  • MAP_H: Height of the complete tile map in number of tiles.
  • DIS_W: Width of the display in pixels.
  • DIS_H: Height of the display in pixels.

These global values help you ensure consistency and accuracy when designing and rendering game elements in akesi lili.