DRincs-Productions / pixi-vn

Create visual novels with a modern 2D rendering engine and your favorite JavaScript framework.
https://pixi-vn.web.app/
GNU General Public License v3.0
10 stars 0 forks source link

Other PixiVN JSON implementations #202

Closed BlackRam-oss closed 4 weeks ago

BlackRam-oss commented 1 month ago

Store value

ValueType = string | number | boolean | Array | Object

VariablesType = {type: "storeVariable", name: string }

Set value: { type: "set", name: string, value: ValueType }

Delete value: { type: "remove", name: string }

Operations

Condition

CompatationType = "==" | "<" | ">" | "<=" | ">="

{ Val1: VariablesType | ValueType , Val2: VariablesType | ValueType, compatationType: CompatationType }

Union condition:

UnionType = "and" | "or" | "not"

{ unionType: UnionType , condiotions | Union condiotions }

Olthers