Available modules - Doge2Dev/LitiumVM Wiki

Litium API Modules

Here a list of all available modules

Litgraphics

Is a module for handling graphic stuff

  • litgraphics.newSprite
  • litgraphics.newText
  • litgraphics.rect
  • litgraphics.clearscreen
  • litgraphics.loadSpriteFile
  • litgraphics.loadPallete

Litinput

Module to get keyboard input

  • litinput.isKeyDown

Litsound

Module to handle sound stuff

  • litsound.newWave
  • litsound.playTrack

Litgame

Module for game stuff

  • litgame.collision
  • litgame.quit

Litfilesystem

Module for basic filesystem management

  • litfilesystem.createFile
  • litfilesystem.newDir
  • litfilesystem.readFile

Litsystem

Module for some "system" stuff

  • litsystem.setName
  • litsystem.getFPS

Litwindow

Module for some window stuff lol

  • litwindow.screenMode
  • litwindow.popup

Litsavesystem

Module for do saving and loading data stuff

  • litsave.newSave
  • litsave.loadSave