- The most challenging step for me was getting the player to collide with the new pickups and then making those disappear and then add score. At first they both had separate codes, so I had two lines for "void OnTriggerEnter2D(Collider2D other)", one for each pickup. I was able to fix this problem after a lot of trial and error by removing the second one and adding it to my first with an "else if" line of code to go after the "if" code. I learned that you don't always need to give something it's own set of code, and can use "else if" on similar things.
Tuesday, 7 November 2017
Unity Check-In
- What stage you're at in your Unity adventure (which tutorial video are you on, or if you're on the second assignment, which step are you working on?).
- What challenges have you encountered so far?
- I also had some difficulties setting up the pop-up for a tie, or making sure the game would only check the score after all pickups were collected.
- What's the most interesting thing you've learned so far?
- I've learned that if there's a problem, with enough googling and trying things you can eventually fix it.
EDIT: I can't seem to make the text in this post any larger for some reason, sorry about that.
EDIT: I can't seem to make the text in this post any larger for some reason, sorry about that.
Subscribe to:
Posts (Atom)