Welcome I know many of you have seen wierd looking codes like this
if(jump==1)
yvelocity=-10;
jump=0;
And you wondered , where is that jump in the variables/functions list? Why is it not working in my game , but it works in the demo.
Now I will explain step by step in full detail how to declare a variable ,so you can use it in your game.
Go to the top of your screen where it has a tab called script.Click on that tab and a big menu will open up.
The menu will say Global code.
Ok now type this in the menu jump;
Now on the lower part of the menu it has the word name and next to it a space ... in the space next to name type move.
Now there is a tab under that, that says variables. Click on that and a small window opens up // click add and a smaller windows opens up put this
name: jump
array dont put anything
save group: move
Click add and close the small window....now where it says add next to where you type the word move click on the add and the words dissapear.
Now click close and save your game.
The process you just did is called declaring a variable.
If you have any questions just ask