correct this if its wrong but is it this?
- Code: Select all
Math.floor(Math.random()*500);
Math.floor(Math.random()*500);
int random = rand(499)+1;// gets a random number between 0 and maximum, that's why we have 499 and +1
x=view.x+rand(view.width);
y=view.y+rand(view.height);
Users browsing this forum: No registered users and 1 guest