Random

LBGLBG Member Posts: 277
edited November -1 in Working with GS (Mac)
I'm sorry if this has been covered in other posts but I have looked and replied there to no avail. I'm kinda stuck on this at the moment.

I am using random attributes in my game and they all seem to work apart from randomising time in seconds. Basically I want to spawn enemies moving through a side scroller from right to left at different intervals. I am able to randomise between the individual enemies but can't get the random spawn times working.

I have tried to create attributes that I am randomising and saying if said attribute is above a certain amount spawn random enemy. I am getting way too many spawns though and even though I have tried to edit the randomness it does very little to reduce numbers.

Any help would be greatly appreciated.

Many Thanks

LBG
Sign In or Register to comment.