Page 1 of 1

i need help with variables and global coding

PostPosted: Sun Jun 27, 2010 8:11 pm
by RippeR7420
I've looked at quite a few demos and they are using codes like:

if(jump==1) {yvelocity=-12 jump=0;}

I don't understand how to program "jump" and codes like "walkleft"..

I would really appreciate it if some one could tell me how this works!
=]

Re: i need help with variables and global coding

PostPosted: Sun Jun 27, 2010 8:53 pm
by Bee-Ant
If you go to Script Editor from any event, you will find "actors", "variables/function", "Variables", "Global code", and "File" buttons on the bottom window...
Use "Variables" to add that "jump" thing...

Re: i need help with variables and global coding

PostPosted: Sun Jun 27, 2010 10:56 pm
by krenisis
I made a step by step tutorial here its super easy and simple this tutorial will help you alot and you be set.!!!!!

viewtopic.php?f=4&t=8572