CS4730 - HW 2: Playground

Every assignment has a Github Classroom Link you must follow to get the starter code (if applicable) and to create your repository for the assignment. If you haven’t yet done so, follow the instructions at the Github Classroom Tutorial.

Assignment Invite Link: HW 2 Invite Link

Once your repository is configured, push your code to it in order to submit your work.

Overview

For this assignment, we will start to learn about how to use Unity and see how Unity handles simple game development tasks like Sprites, transforms, player input, and the display hierarchy. The rest of your assignments will be done using Unity, which is a very popular cross-platform game engine.

To investigate these things, you will go through the following three activites:

  1. You will go through some Unity Tutorials to learn the basics of the engine.

  2. You will create a very simple playground scene that shows how Unity handles game objects, transforms, and player input.

  3. You will create a solar system simulator to practice your scripting, and explore how Unity handles display hiearchies.

Preparation: Download Unity and get the starter code

As stated earlier, you will be using Unity for the remainder of the assignments. Unity is a popular cross-platform game engine that supports both 2D and 3D game development. We will mostly focus on 2D development in this class, but all of our lessons will translate to 3D quite easily.

To get started, go to the Unity Store and download Unity Hub. Once you have that downloaded, please open it up and install the latest version of 2019.4 (LTS). At the time of releasing this assignment, that is 2019.4.9f1.

Once Unity is installed, you’ll need to get the starter code from the assignment on our Github classroom. You should be able to grab the starter code by visiting this URL. This should setup your repository. When you are ready for your assignment to be graded, simply push your code to that repository for the TA to grade.

Required Features (3 points; 3/3 required to pass)

This assignment is made up of three individual tasks. Each one must be completed for the entire assignment to pass.

  1. Tutorials: Unity provides many tutorial on the complicated engine. Start by completing three short tutorials.
    1. Complete ONE of the basic microgame tutorials: You can choose the Platformer Microgame, the FPS Microgame, or the Karting Microgame.
    2. Complete the Beginner Scripting Tutorial
    3. Complete the Intermediate Scripting Tutorial
  2. Playground: This simple scene will give you time to practice with Unity’s transforms, and simple user input.
  3. Solar System

Optional Features

There are several optional features that can be added to this assignment for optional points.

  1. Playground Shenanigans
  2. Solar System II