ABSTRACT

You have created an object for Luna to collect on her journey through the surface world . It would be nice if your code could make several of these objects all over the map, rather than having to place them into the world one by one . Indeed, you can . Cloning and spawning objects is a very common task in game coding . You will want to do this almost any time you need multiple copies of an object . In this challenge, you will focus on spawning many collectables with randomized positions . Once you get the hang of spawning, you can apply this technique to a variety of game items, such as obstacles, enemies, and treasure .