Hi,
I'm using the below to generate a random number:
As the random number seems to be taking integer values only, is there a way to a make a more random number between 5 and 10? Its hard to explain, but as there are only 4 objects moving on the screen at once, miore often than not all objects take a very similar speed, making the game very easy.
Has anyone got a method to create a random number for each object i draw, from the "someobject(3) array.
Thanks
I'm using the below to generate a random number:
Code:
Dim randomSpeed as Random
someobject(3).speed = randomSpeed.Next(5, 11)
As the random number seems to be taking integer values only, is there a way to a make a more random number between 5 and 10? Its hard to explain, but as there are only 4 objects moving on the screen at once, miore often than not all objects take a very similar speed, making the game very easy.
Has anyone got a method to create a random number for each object i draw, from the "someobject(3) array.
Thanks