Skip to content

V0.5 : If, while, for and much more :) !

Choose a tag to compare

@Program132 Program132 released this 13 Nov 19:19
· 62 commits to main since this release

News

New node "IF":

  • Take one condition (as boolean) in inputs
  • Return 3 EXEC output: when the conditon is true, when the condition is false (else) and when the "if node is over" (next to end)

New node "WHILE":

  • Take one condition as input
  • Return 2 EXEC: one about the loop body, last one once the condition is true (next to end)

New node "FOR" (Range):

  • Take one variable (only the name, not a variable you created) as input
  • Take number for start
  • Take number for end
  • Take number for step

New nodes to convert:

  • tonumber
  • tostring

New nodes about booleans:

  • and
  • not
  • <=
  • >=
  • ==
  • ~=
  • <
  • >

New way to create custom statement (it's if definition):

{
    "color": [200,200,200],
    "type": "METHOD",
    "inputs": {
        "condition": {
            "defaultValue": "true"
        }
    },
    "outputs": [],
    "exec": ["True", "False", "Continue"]
}

Example

image

if

image image image image

while

image image image image

for (range)

image image

Next updates

  • Arrays & Dict
  • Custom function
  • Multiple scripts
  • Custom events (from Roblox)