Game 5: Clicking and UI

CSC 470 - American University

DUE: 11/9/20

Description

For this assignment you will explore using the mouse and user interface elements to make a game. Many genres, such as real time strategy (e.g. StarCraft), simulation (e.g. Cities: Skylines), MOBA (League of Legends), and more use this mode of interaction. While there isn't anywhere near enough time to make a full game those, you do now have the ability to make a small game like them!

These are the requirements for your game:

  1. Create a one page "micro-design document" and submit it to your 'game05' folder as README.md (use the markdown format). Your design document should:
    • Provide a 1-2 paragraph overview of your game that describes what the goal of the game is and what it is 'about'
    • List the technical enhancements you will need to implement/figure out that go beyond the sample project
    • Be accessible at: http://(your git username).github.io/csc470-fall2020/exercises/game05/README.md
  2. Create the game. The requirements are:
    • It must involve selecting a GameObject and having the user interface be updated based on what GameObject is selected.
    • There must be a goal to your game.
    • There should be a title screen.
    • You cannot ONLY use my sample code for the code bits. As a rule, there should be many more lines of YOUR OWN CODE than lines of code that you borrow form the examples.
    • It should look significantly different than the starter project (ClickOnUnitsPlusUI.unitypackage).
    • The small game should demonstrate that you put some effort into its presentation. This will involve considering interface layout/composition, color choice, fonts, and more.

Some Ideas

As most of these games involve "resources" (e.g. health, happiness, gold, etc.), you will need a way to represent that information. Most games do this via 'meters' that are filled to various degrees that show how much of some resource a unit has. Given that you have that, we could then imagine all sorts of games:

A Simple Example

Feel free to start from this code, but you won't get very far with the assignment if you don't understand it, so look it over carefully.

CODE PLAY

Building your Project for the Web

Submission

Submit your project to github. Make sure your Unity project is titled "game05" and located in the "exercises" folder of your local github repository. To push it up to github, open Github Desktop, commit your changes (you need to enter a comment in the field on the bottom left of the screen), and click the "Push origin" button near the top middle of the screen.

If everything worked, you should be able to play your game by going to:

http://(your git username).github.io/csc470-fall2020/exercises/game05/web