the brodcast tool brodcasts a message right? but where? also what does the when i recieve button do? plus any other complicated buttons explained? here are meh problem blocks:
When i recieve(____)
Brodcast (____)
(___)-(___) and the whole variables thing
thats pretty much it, but any other complicated ones plz explain that i didnt mention that are just plain complicated
THX!
Offline
Ok, when you make a script like this:
And if your sprite has this:
Then when the green flag is clicked, the message "thing" will be sent. Any sprite with the "When I receive [thing]" top block will run the blocks underneath. In this case it will move 10 steps. Any sprite with "When I receive [thing]" will be triggered, not just the sprite that sent the message.
This way, you can send a message from one sprite to another, or make multiple sprites do many things at once, or make multiple sprites do the same thing at once, a lot of things really.
Last edited by Kileymeister (2011-02-13 20:13:52)
Offline
To answer your question about variables, variables are strings of text that you can set to whatever you want. You can set variables with the set [] to [] block. You can drag and drop variables into () and [] slots. () denotes a slot meant for numbers only, while [] can be anything. A piece of text put into a () slot will act as if you had typed in 0. ()+(), ()-(), ()= (), and other arithmetical and logic booleans (true/false) do what you would think (subtract to numbers, see if two numbers are equal, etc.). Hope that helps!
Last edited by Lar-Rew (2011-02-13 20:24:48)
Offline
Also if you want to learn complex things like trigonometry, here's a brief overview to make it a bit simpler. Keep in mind it's still a complicated theory which can't be simplified very much.
Offline
the broadcast does send a message.it goes to every sprite.the viewer can't see this message.the [blocks] <when I receive[ [/blocks] block is like the [blocks]<when green flag clicked>[/blocks]only instead of the green flag,it's a broadcast.you can even change the broadcast by clicking on the triangle.when you do this,a box will come up.on the bottom is the wordnew.click that to make a new broadcast.
variables are like scores.to make a variable,press make a variable.a window will come up.type in what you want it to be called.then click OK.on the screen will be an oval with the variable name.if you right click on it,a window will pop up.*normal read*is what it already looks like.large readout makes it bigger without the name.slider makes it turn into a slider
hope this helped!
Offline
You can also right click on any script, and click help. It will tell you all about it.
Offline
thanks for the help, i just figured out how to fix my problem, i'll be uploading this project soon, thanks for everything! :-)
Offline