Dev Log - 22/04/23


This week I wanted to create a random spawning script to generate barrels to fall from the top of the screen downward. To do this I created a script would generate a random number between 1 and 100, and have a public variable that would determine what the range of number for the likeliness of spawning. So if it was 40 the generated number would need to be 40 or lower. And then a timer to dictate how many times the generater runs. The final thing is the location if the instantiation. This week was OK for progress I stopped here before doing anything else

Get RiverOfTheDamned

Leave a comment

Log in with itch.io to leave a comment.