Skip to content

EightVertices/WINDTK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WINDTK

A library consisting of utilities like a file parser (WXN) and others.

WXN

What is .wxn?

It's a parser similar to XML, but with simpler syntax and better (native) compatibility with C#. We created it to use it with the XNA Framework (MonoGame). WXN was our first attempt to create a file reader/writer. It reads .wxn files and converts the data into WXNFileContent.

How do you use it?

The WXN main syntax must be interpreted as two main objects types: Pure (Implicit) objects or Impure (Explicit) objects. Here is a sample:

 // Pure
<Version: 1>
<SceneName: RND>
<SceneMaxObjsCount: 30>
<SceneMaxObjs: ["A", "B", 33, Uk]>

// Impure
PlayerLife<Int>: 100
PLayerName<String>: "Renan"
PlayerWeapons<Array_String>: ["Sword", "Bow", "Hammer"]

But... What's the diference between then?

Pure (Implicit): the data types are defined by the object value.

Impure (Explicit): the data types are defined by the object type.

Native types: Int, String, Bool, Array_Int, Array_String, Array_Bool, Vector, Array_Vector2, Array_Vector3

More details at the WXN docs: https://windtk-documentation.vercel.app/

About

A library consisting of utilities like a file parser (WXN) and others.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages