k for a long time ive been tryin to make powerups and now i finally got it workin except when i assign the powerup’s x coordinate to the math.random function it goes all over the stage how do i get it to only randomize once so it just chooses a random x coordinate and stays at that one i also need to use this for choosin wut powerup to come down like if the random number is from 1-25 for this powerup ect. can sum1 help me?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Using the Math.random function
|
0 | 76 | June 28, 2005 | |
Random MC placement on predefined coordinates
|
0 | 90 | April 30, 2005 | |
Random MC placement on predefined coordinates | 0 | 68 | April 30, 2005 | |
Random jigsaw pieces that snap
|
0 | 79 | April 7, 2006 | |
Random Help | 6 | 62 | March 12, 2003 |