[go: up one dir, main page]

Skip to content
/ otml Public

OTML, a human readable and easy typing data serialization file format. This is a compact version of its emitter/parser extracted from OTClient in just one header with no dependencies.

Notifications You must be signed in to change notification settings

edubart/otml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OTML, a human readable and easy typing data serialization file format.
This is a compact version of its emitter/parser extracted from OTClient
in just one header with no dependencies.

This is an example of a OTML file taken from OTClient:

TopPanel
  id: topMenu
  anchors.top: parent.top
  anchors.left: parent.left
  anchors.right: parent.right
  focusable: false

  TopButton
    id: settingsButton
    anchors.top: parent.top
    anchors.left: parent.left
    margin.top: 4
    margin.left: 6
    tooltip: Options
    onClick: Options.create()

    UIWidget
      size: 16 16
      image: /core_styles/icons/settings.png
      anchors.centerIn: parent
      phantom: true

  TopButton
    anchors.top: prev.top
    anchors.left: prev.right
    margin.left: 6
    tooltip: Enter game with a character
    onClick: |
      if Game.isOnline() then
        CharacterList.show()
      else
        EnterGame.show()
      end

    UIWidget
      size: 16 16
      image: /core_styles/icons/login.png
      anchors.centerIn: parent
      phantom: true

About

OTML, a human readable and easy typing data serialization file format. This is a compact version of its emitter/parser extracted from OTClient in just one header with no dependencies.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages