this.y+= (random*2 +1);
this.y should be this._y
edit: Also, you used the "random" tag wrong. it should look like this:
random(#);
where the # would be replaced by any number and the random function would return a number between 0 and 1 less than the number entered. So
random(8);
would return 0, 1, 2, 3 , 4, 5, 6, or 7
ill try it out, im using AS2 if that makes a difference.
You know that increasing _y makes something go DOWN the screen right?
edit: The code corrections I gave you were for AS2.0
Quote from: Thor, God of Thunder;1604841You know that increasing _y makes something go DOWN the screen right?
yup its what i want
Quoteedit: The code corrections I gave you were for AS2.0
thanks, gonna have to rewrite the code for every bullet and let you know if it orked tommorrow.
If you can't get it to work just PM me all the code and what you WANT it to do and I'll fix it so it works.