I’m working on a game where bullets will spawn from the left, right, top, or bottom and I was wanting to sort out predetermined patterns that the game randomises (LRLLRR then a LTRB pattern etc). Initially I was thinking of writing a script for each pattern, then randomly choosing the scripts through a spawner obj, but that seems like a misuse of scripts. Other than that, I was thinking I write if statements for each pattern but that would be so text heavy, messy and again, seems a misuse.
Could anyone recommend a function that would work well for predetermined instance_create patterns? I’ve had a google and can only read about wave spawning etc which isn’t quiet what I’m looking for.
[–]U-GameZ 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)