To be more interesting try having smoke originate at mouse and drifting up while spreading out left and right.
This kind of thing is kinda goofy:
if you want a random single at 10 +/- 5
r = 10 + rnd*10 -5
for integers at 100 +/- 10
This kind of thing is kinda goofy:
Code: (Select All)
var = Int(Rnd * 3) - Int(Rnd * 3)
if you want a random single at 10 +/- 5
r = 10 + rnd*10 -5
for integers at 100 +/- 10
Code: (Select All)
For i = 1 To 100
r = 100 + Int(21 * Rnd) - 10 ' because INT() rounds down, int(Rnd * 1 more than max range) minus 1/2 range
Print r,
Next
b = b + ...