Consider each sprite an object - "Sprite" - with an array with bytecodes for each script, another for variables and lists and two more for sounds and costumes.
Sprite +- bytecodes[] +- memory[] #variables and lists +- sounds[] +- costumes[]
Broadcasts are added to a stack and executed by the sprites somehow. No idea on how to do threading, so this is all I can come up with.
Log in to post a comment.
Consider each sprite an object - "Sprite" - with an array with bytecodes for each script, another for variables and lists and two more for sounds and costumes.
Sprite
+- bytecodes[]
+- memory[] #variables and lists
+- sounds[]
+- costumes[]
Broadcasts are added to a stack and executed by the sprites somehow. No idea on how to do threading, so this is all I can come up with.