- Have you done any scripting or coding before? When / why / for what?
I've done a little bit of coding before while working on re-creating the game "Asteroids" in game maker as an assignment for Game Design last year. - What did you think of all of the detailed explanation as the narrator looked at the code documentation, explained how he was choosing each piece of code, etc?
I found the explanations pretty useful in understanding what code did what and why he chose the code. - On a scale of 1 (super clear) to 10 (super confusing), rate how well you understand what the code in the scripts does. Were some sections easier to understand than others (controlling player movement, controlling camera movement, rotating pickup objects, collecting pickup objects, counting pickup objects, displaying score, displaying win message)? Explain.
I would give it a 3, I have better understanding of the code, but there is still code that doesn't entirely make sense. Understanding the rotating pickup objects, counting pickup objects, and displaying the score/win message was quite easy, while the movement was a little more tricky. - What part of this 2D UFO game-building process did you find most rewarding or enjoyable? Explain.
Learning code was fun, but the most rewarding part of the process was to see the final product at the end and have it work with no bugs or glitches that mess it up. - Between about 10:00-12:00 in the collectibles pickup video (7 of 9), you set the tag of the pickup items so that the script knows when it runs into a treasure. What could you do if you wanted to have two different kinds of treasure that were worth different points?
I could give the treasures different IDs, so that in the code there will be separate code for each type of treasure. With the other treasure having a separate name I include an "else if" line of code for when the treasure isn't the first one. For example:
if apple do +5 points
else if orange do +10 points
Something like that. - Describe one way that you could add complexity to this game.
I could add obstacles that would make it more difficult for the player to obtain all the pickups, or make the pickups move around randomly so they're not just sitting still. - Include a link to your build folder so I can try your game. This involves a few steps:
Link to game download
Tuesday, 10 October 2017
Unity 2D UFO Tutorial
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment