Tuesday, 8 July 2014

A Game Designer’s struggle (Week #3)

In our tutorial this week we were asked to create an object that spawns faster as time goes on. I struggled with this quite a bit as I couldn’t find out how to do this using the unity scripting reference. I am new to programming and I didn’t believe that I should look at tutorials or ask my lecturer about this until I was completely unsure. I was too hard headed to ask how to go about doing this so I left myself quite disadvantaged while other students seemed to be moving along quite adequately. The tutorial this week was completely unproductive for me as I spent 2 hours trying to do one very simple task which in the end didn’t work out. This has taught me that I should ask questions as soon as a problem comes across in scripting. Later in my own time I discovered that the answer to scripting this was very simple and could be solved using simple mathematics and variables which subtract from the spawn time every time an enemy is spawned and forcing the minimum spawn time to stay at 1 second so that the game does not become too overwhelming or lag from the amount of objects in the scene.

No comments:

Post a Comment