ScratchData LogoScratchData
Back to notwait's profile

LAVA Game Maker -Omega V0.2

NOnotwait•Created February 28, 2021
LAVA Game Maker -Omega V0.2
0
1
39 views
View on Scratch

Description

To do: Add text lavacode (compiler) (maybe like this?: x = 1 sprite1{ say "code" x += 1 self.costume = 2 } ) Add assembly to lavacode (so compiler can compile) (Try using these commands for assembly: ADD (value in memory, number) opcode 0 SUB (value in memory, number) opcode 1 DIV (value in memory, number) opcode 2 MUL (value in memory, number) opcode 3 SET (value in memory, any) opcode 4 SEL (sprite number, run in parallel (0/1)) opcode 5 SLP (time) opcode 6 ) Add the NOS 15 look to it I'll make the interface for the graphic coding And if you want to i'll also make the lavacode compiler SEL behavior: SEL 0 SET 1,2 should make a var called 1 with the value of 2 for sprite 0 But: SEL 0 SET 1,2 SEL 1 ADD 1,2 Should create the variable for s0 and add 2 to var 1 of s1. 0 is the default for every variable. "0,1" are the default parameters for SEL so "SEL" is "SEL 0,1" Any sprite with any reference in the codefile has an entry on the var list that is used to make many of the things possible, so "say "" " uses the sprite entry number 3 and sets that to it's input ("SET _03,[input]") A prefix _ means that it is a variable not made by the coder but it's there as a sprite variable (such as (x position), but not (my variable)) "SLP" is a wait command "SLP 2" waits 2 seconds ADD, SUB, DIV and MUL have their default parameters as 0,error, so they give out errors as they're trying to do math with strings, which shouldn't happen. Note: Add the opcodes only, we don't need the names

Project Details

Project ID494219675
CreatedFebruary 28, 2021
Last ModifiedJanuary 8, 2022
SharedMarch 26, 2021
Visibilityvisible
CommentsAllowed