Week 9 Update
Spawning Issues
Stitch banging head against wall thanks to https://media.giphy.com/media/12SQ9mDwJGqkRG/giphy.gif. |
So we may be having some issues. It ends up that having our maze be randomly generated each time may have not been the best idea. Spawning objects into a game with a static map is insanely easy in Unity, so we never thought this would be an issue. However, it's only easy when the map is static. If your map doesn't generate until after you run the program, then you can't drag and drop objects into the game world unless you're planning on hoping that they just magically end up in the right place on the map, if they even end up on the map at all (the part you're using for your terrain that is).
It ends up the reason it was really easy to spawn our main character was because we were able to put that object on the first floor piece that's created, a piece we know will never contain a maze wall. So it's complicated enough spawning objects on spaces we know won't be in the middle of a wall. It's even more difficult spawning more than one of the same object. Furthermore, we can't test any of our coin collection or monster collision related code until we can get these objects to spawn in the maze in the first place. So until we can figure out this spawning mess, our progress is momentarily stopped and we are completely stuck. We are all currently pounding our heads against the wall and hoping we can get through to the other side.
In the meantime, I'll be writing code for coin collection and hoping it works once we can get the coins and AI to spawn properly. Ryan is testing and fine tuning our player movement using our daydream controller. Hopefully we'll solve this issue soon.
Until Next Time,
Avery
Comments
Post a Comment