Forum

Coquitlam >> UN402 >> 11:30 am - 12:30 pm

12/02/2018 - Cameron Savage
Today, we finished lesson 8 on health and UI.

Link to lesson: https://1drv.ms/b/s!ApI0I3mYyTh2geUQVh-t_kYaBKMNrA

We did encounter a bug during the last thing we did: when we added the OnTriggerEnter2D function and set the player's collider as a trigger, it allowed the player to pass through the tile map.

This is obviously not what we want our game to do, so I tried to replace the OnTriggerEnter2D function with OnCollisionEnter2D, which I couldn't get working in class.

However, I did figure out how to fix it. Replacing the function should work, but you have to delete and re-add your RigidBody2D on your player for the collisions to be re-detected. I'll show you how to do it next week if you're confused.

See you then!

-Cameron

12/09/2018 - Cameron Savage
This week was a work block.

Next week, we'll start working on win conditions and add coins for the player to collect. See you then!

-Cameron

12/16/2018 - Cameron Savage
Today, we learned how to restart your scene when the player's health is depleted. We also added coins to your game, which added score to your game.

Lesson 9 link: https://1drv.ms/b/s!ApI0I3mYyTh2gfFpLubTppsxelg21A

The next class in on **January 6**. See you then!

-Cameron

11/04/2018 - Cameron Savage
Today was a work block.

There is no class next week because of Remembrance Day. Next class is on November 18. See you then!

-Cameron

11/18/2018 - Cameron Savage
Today, we had a work block.

We finished working on directional shooting and player rotation.

Next week, we'll start working on health and user interface.

See you then!

-Cameron

11/25/2018 - Cameron Savage
Today, we worked on adding health and displaying the health value on the screen.

Lesson 8 (stopped at slide 25): https://1drv.ms/b/s!ApI0I3mYyTh2geUQVh-t_kYaBKMNrA

Next week, we'll finish this lesson and have a work week if we have time leftover.

See you then!

-Cameron

10/14/2018 - Cameron Savage
Today we had a work block to review and catch up on material.

We worked on completing the second challenge from this PDF:

https://1drv.ms/b/s!ApI0I3mYyTh2gdJ-clGohE1Rp-b0sg

For homework, you can work on some of the challenges from previous lessons, or work on the other challenges in that PDF.

See you then!

-Cameron

10/21/2018 - Cameron Savage
Today, we learned how to make the camera track the player around the room, without making the camera a child object of the player.

Link to lesson: https://1drv.ms/b/s!ApI0I3mYyTh2gdNXEOvqRubcD5qpmQ

See you next week!

-Cameron

10/28/2018 - Cameron Savage
Today, we learned about how to create enemies that move automatically.

Lesson link: https://1drv.ms/b/s!ApI0I3mYyTh2gdYuD2H60jnVtEyneA

Homework is on the last page.

See you next week!

-Cameron

09/09/2018 - Cameron Savage
Sunday, September 9, 2018

Today, we went over the review from UN301 (lessons 1-3) and finished lesson 4 on tile mapping.

Lesson 1: https://1drv.ms/b/s!ApI0I3mYyTh2gaRqvdQGG7ZR0qVTgw

Lesson 2: https://1drv.ms/b/s!ApI0I3mYyTh2gaRr4ksMbSNdCVXs7Q

Lesson 3: https://1drv.ms/b/s!ApI0I3mYyTh2ga4wRC3V4KKTqBxl6w

Lesson 4: https://1drv.ms/b/s!ApI0I3mYyTh2ga41TwKsqAcSvsc6AQ

The homework listed in the slides is optional, but would really help you practice and understand the lessons!

See you next week,

-Cameron

09/16/2018 - Cameron Savage
Today, we added jumping to your player, and made it so the player can only jump when it's on the tilemap.

Lesson 5: https://1drv.ms/b/s!ApI0I3mYyTh2gbcYLToGaH73kutclA

There are some challenges on the last slide.

See you next week!

-Cameron

09/23/2018 - Cameron Savage
Today, we went over Lesson 4 and part of lesson 5 again.

Lesson 4: https://1drv.ms/b/s!ApI0I3mYyTh2ga41TwKsqAcSvsc6AQ

Lesson 5 (stopped at slide 14): https://1drv.ms/b/s!ApI0I3mYyTh2gbcYLToGaH73kutclA

Homework is on the last page of Lesson 4.

See you next week!

-Cameron

09/30/2018 - Cameron Savage
Today, we finished lesson 5, which was on jumping.

Lesson 5 link (slides 13-23): https://1drv.ms/b/s!ApI0I3mYyTh2gbcYLToGaH73kutclA

Homework is on the last page.

There is **NO** class next week because of Thanksgiving. Next class will be on October 14.

See you then!

-Cameron

01/06/2019 - Cameron Savage
Today we learned about creating a victory screen for the player, and how to create an object that triggers the victory.

Link to lesson 10: https://1drv.ms/b/s!ApI0I3mYyTh2gfJaHCwTgwVZGtbclw

The next three classes will be work blocks, so start thinking of new features to add to your game! There are a few suggestions at the end of the PDF linked above.

See you next week!

-Cameron