1. You cannot save and load variables.
2. To show and hide variable displays you must make another sprite cover the displays. There isn't any better way unfortunately.
Offline
i have a question about variable sliders...how do you get them on your projects? i can't figure it out!
Offline
I know VERY basic variable stuff, please could someone tell me how to make a SLIDER variable,Thanks a lot,Superpikachu.
Offline
superpikachu wrote:
I know VERY basic variable stuff, please could someone tell me how to make a SLIDER variable,Thanks a lot,Superpikachu.
To make a slider variable, simply double-click on the readout (the bit that appears on the stage. Or, you can right-click it, and select "slider"
Offline
You can follow the instructions below.
1. Show the variable on the project display.
2. Right-click it.
3. Select "slider".
You're done! If you want to set the minimum and maximum values allowed, follow the below steps:
1. Right-click the variable display again.
2. Select "set slider min and max".
3. Enter in numbers in the window that appears
4. Click "OK".
Offline
hi, i have a question about variables, when u go to the section for them u see the 'scroll x' but when i dowloaded a progect is said 'scroll X' what's the difference if any? :l
Offline
Knobbygirl9 wrote:
hi, i have a question about variables, when u go to the section for them u see the 'scroll x' but when i dowloaded a progect is said 'scroll X' what's the difference if any? :l
Sorry, I don't quite get what you mean... Do you mean the "change (x) by" and "set (x) to" blocks? Sometimes people use a variable called scroll x for scrolling, but they still use the aforementioned blocks.
Offline
Variables are like boxes of information that can vary in value or what it is showing. You can do what ever you want with them. Move variable steps, go to X variable Y variable. you can keep score, you can measure lives in a game. Whatever you want. Does that help?
Offline
I know most of you have trouble with varibles, but the simplest way of using them is look at their blocks, it could help you see what you can do.
P.S: Don't be afraid of using letters, they can handle them too!
Offline
Does anybody know how to get the variable boxes to stay in one place?
When I uploaded my game they moved back to they're original spot before I moved them.
Offline
You must have the variable shown when you save. click all of the boxes to check you want to have in the right place, even if the variable doesn't there at that time, just make sure it hides in the beginning. save and upload and it should be there.
Offline
archmage wrote:
As kevin said thats a hard question to answer because variables have infinite applications. In case you don't what a variable is it is a number you can alter and use in your if statements and other code involving numbers.
I recommend you look at the role variables play in some simple projects and use your imagination to see how you can apply variables to your own projects.
It doesn't have to be a number. It can be a word.
Offline
I'm not sure what you mean... could you explain further?
Offline
DIALGA7 wrote:
Is there a way to get variables to stay in one spot?
Check out Problem 5 in Problems that have been resolved already.
Last edited by mathematics (2011-04-02 02:40:09)
Offline
Hey i saw this topic and thought i could post my question here. i cant post a topic yet idk why. anyway, i'm making a pokemon simulator with advance damage calculation, but when i tst it, part of the equation turns red. i thought it could be because i dont have parentheses () but i dont know how to add them. help please?
Offline