Happy or sad? I’m including 4 blocks.
Commands, you mean
Idk EGCode also had 4 commands
QuadCode has a lot more, even experimental ones which I didn’t mention in the tutorial
And that wasn’t a happy sigh, it was an annoyed one, please take advice, dignity is not what matters in society
printtext(‘Wow! MethylCode is here!’) xchange(7) ychange(6) printvar(wow) setVar(61)
correct, for example it’s better to ask for help then to release a bugged version of a game because you can’t figure out how to fix the bug and don’t want to ask for help
Huh wait a sec
You can set variables so how do you print them
Ok for here I’ll have debugging.
Link please lol
Publish, get link, then unpublish
So we can see your progress live
How do I detect those things inside commands?
I used next line
dim as UVar varname(
That makes a variable named varname and stores a value of ‘Hello’ in it
Uhhhhhhhhhhhhhhhhhh… Aaaaaaaaaaaaaaaaahhhhhhhhhhhhhhhhhhh! Pls can I copy from QuadCode?
Maybe change it to make it easier
So smth like
Set hello to: What
I don’t understand. Can you type the code?
Set x to: 10
Makes a variable named x with a value of 10
It’s just the EGCode method but with different keywords
And no brackets
Uh oh! CNt understand.
How do I detect that code in the end. The key?
Well just set some buffer variable or smth to 1 when a set var is sensed
And for each command, check if the buffer thing = 1
If it is 1, then set the variable to 1
I make variables with clones, each clone having a name variable and a value variable.
When a set var command is sensed then the ‘variable maintenance’ object maeks a clone
The variable set its name to the characters between set and to in the command
Then it waits for the reader to read the next line
Then it sets it value to what the reader is sensing
If you understood this, you can just make it yourself
You added the wrong number in the characters between block
It’s supposed to be 0 and (whatever number)
0 is the first character, not 1