I have a question about random movement on X axis.
I need it to bring me both positive and negative numbers??
I’ve tired the random(num); script and it works to make it go right.
My script is
this._x += speedx + **random(100)**; speedy = this._y -= speedy; pressing = 0;
What’s the simplest way to get a random number either both a positive number or a negative?
ANy help is greatly appreciated.
Thanks in advanced,