I'm trying to figure out how to get a spawn point to randomize the object it spawns every time the layout gets loaded. For example, I'm making a Breakout-style game and every time the layout is started, I want the 'brick' objects (the objects you hit with the ball), or in my case 'barnacles', to be a different style.
I've got 4 different barnacles that I want the game to choose from, but I don't know how to get the game to choose a random barnacle to spawn. Any help would be much appreciated. Thank you!