⚠️ This project is no more actively maintained. See the latest progress in thedevelop
branch. If you are interested in continuing this project, feel free to contact me via email or leaving an issue.
Cluster Logic Writer is a tool working with ClusterVR's ClusterCreatorKit, providing ability to edit logics with codes.
Attach LogicWriter
to the game object with a logic script (ItemLogic
, PlayerLogic
, or GlobalLogic
), then it will automatically link to the logic script.
Pressing the "Extract" button to convert logic to code.
Pressing the "Compile" button to convert code to logic.
Errors appear in console after compiling are not harmful most of the time, so you can still build your project.
i = 1
f = 1.0
b = True
b = true
v2 = Vector2(1, 2)
v3 = Vector3(1, 2, 3)
x = !y
x = -y
x = y + z
x = y - z
x = y * z
x = y / z
x = y % z
x = y && z
x = y || z
x = y ? z : w
x = y < z
x = y == z
x = y <= z
Global:x = y + z
something <- true
something <- x
something <- x == y
something <- x + y
x = Min(y,z)
x = Max(y,z)
- data type of parameters might not be compiled correctly
- there might be errors after compiling (even when compiled correctly)