ok, now i'm REALLY sorry, but an ask and tell block that can communicate with other scenes ( and a help for the scene block, and a scene #/name would be good.) would be good.
I have a feeling they're gonna add something like "scene variables" that are global across all scenes. Also a way to run scenes when they switch to them. Remember, they're not finished, so don't suggest ideas because they're probably working on them. (right now, the only way to have variables communicate between scenes is through javascript variables)
Wouldnt it be cool if this worked?
or maybe this?
You could just use if statements and multiple custom blocks. Also
can be simplified to
map((rand 0 to 1::operators)@</span>addInput::grey ring)to[code v]({report(pick random(0)to(1))::control cap}@</span>addInput::grey ring)::grey
yeah i know, but sadly, that doesnt work in codification
Oh wait, you're talking about codification? You can just do
map((rand 0 to 1::operators)@</span>addInput::grey ring)to[code v](code of({report(pick random(0)to(1))::control cap}@</span>addInput::grey ring)::grey)::grey
Scene blocks.
I don't know what you're trying to do, could you please explain? Also
you need to put the call block in a ring, also you don't need the call block
basically what im trying to do is
after a few seconds, and then you click it again:
What's wrong with ?
Can't you just make a block called test
and have report (current [second v])
be the definition? (or a variable called test
like what dardoro showed)
what if i want to make it multiple like:
i just want codification have rings support
just do something like[scratchblocks](combine(map((block::operators)@addInput::grey ring)over(numbers from(1)to(4)::list)::list)using((join(unicode(10)as letter::operators)@delInput@addInput::operators)@addInput::grey ring)::list)[/scratchblocks]
why would the blocks being in a stack logically do that though?
but i want it to be workable in codification
offtopic alert! bh please split.
Damn, you must be translating to an extremely esoteric programming language.
i made a simple but very buggy demo of a very simple platformer i made with scenes.
mediafire download link: Alonzos Adventures - a platformer involving Snap! 7.0 scenes (1)
nice, thank you!
I see that you're having the same script attached to the scene hat and the green flag hat. This makes me wonder whether it's a good idea to fire the scene hat whenever the project is loaded.