GEE - Creating and Collecting Pickups Lesson

GameDesignSimulation_LessonTopBanner.png

Creating and Collecting Pickups Lesson

So far you have created a field, movement, and a good view. Next steps are to create items that you can score or "pick up" in the game.

How does a player actually "get" something? In this lesson you will learn how objects can "collide" with each other, and how a player can determine if they should or should not pass through something or bounce off of it like you saw with the walls. You will also see how an object can be made to disappear when it contacts another object, like when the player hits a "pick up". Pay special attention to names, especially the variations on the word "Pick Up".  

In this lesson the demonstrator uses the term for one item, but also a category of items, as well as a special "tag". You do not have to use such similar terms, but it seems logical to some people. For example "Pick Up" can be one item to be picked up, you can create an empty object called "collectibles" instead of "Pick Ups", and you can create a tag called "P" instead of "Pick Up".

By the end of this lesson, you will have a playable game, where you can move the player and collect items!  After this, you will learn how to show a player's score, as well as notify when they have completed the game!

 

Creating Collectible Objects

In this video, you will learn how to create objects that your player will collect during the game.

Creating Collectibles - Unity Learn Links to an external site.

Detecting Collisions with Collectibles

In this video, you will learn how to write the code and create the settings that allow the player to collect the "pick up" objects.

Detecting Collisions with Collectibles - Unity Learn Links to an external site.

GameDesignSimulation_LessonBottomBanner.png IMAGES CREATED BY GAVS