> For the complete documentation index, see [llms.txt](https://gilmour.online/compsci/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gilmour.online/compsci/3d-game-design/game-2-tanks.md).

# Game 2: Tanks

## Game Overview

{% embed url="<https://youtu.be/2fuBm_WJEzg>" %}

## Building The Game

### 1: Tank Design

{% embed url="<https://youtu.be/NM4rfY8yCLM>" %}

### 2: Movement

{% embed url="<https://youtu.be/H8Mm6IAMxRY>" %}

#### Movement Part 2

{% embed url="<https://youtu.be/hbpoBbDSawM>" %}

### 3: Turret Rotation

{% embed url="<https://youtu.be/zGEypUiP81E>" %}

#### Turret Rotation Part 2

{% embed url="<https://youtu.be/c6yuxfILXbE>" %}

#### Turret Rotation - A Quick Fix

{% embed url="<https://youtu.be/gEFWiTAiwZ8>" %}

### 4: Controller Diagram

![](/files/-LbODvpfwblj7yxHD5oY)

### 5: Camera Control

{% embed url="<https://youtu.be/GU01waV19FM>" %}

###

### 6: Particle Effects

{% file src="/files/-M-pVycghVD92UhfUNGN" %}
Particle File
{% endfile %}

The above file is for the Tank Particles 1 video if you don't have access to Photoshop or Illustrator.

{% embed url="<https://youtu.be/bWZXjN_aMJM>" %}

{% embed url="<https://youtu.be/oJ0kUOYogkQ>" %}

{% embed url="<https://youtu.be/wO1vVNyt6hE>" %}

{% embed url="<https://youtu.be/9M9dhDXKpFo>" %}

{% embed url="<https://youtu.be/Iq500MSvhKw>" %}

{% embed url="<https://youtu.be/jmQNVk-pNj0>" %}

### 7: Materials

{% embed url="<https://youtu.be/_NHQxn8d0dw>" %}

### 8: Destructible Environment

{% embed url="<https://youtu.be/6b72qfbnRgM>" %}

{% embed url="<https://youtu.be/LQM8YlK0mDU>" %}

{% embed url="<https://youtu.be/fu3mZ-W6Buc>" %}

{% embed url="<https://youtu.be/Snv1TuyYHfg>" %}

### 9: Audio

{% embed url="<https://youtu.be/soidbP267c4>" %}

{% embed url="<https://youtu.be/VnqC1ZvFVnk>" %}

### 10: Split Screen View

{% embed url="<https://youtu.be/iT7iefqN2qk>" %}

### 11: Tank Targeting and Hit Points

{% embed url="<https://youtu.be/GS-vl4SEWv8>" %}

## Assignment

**Make sure all tutorial sections have been completed and all features are implemented correctly.**

**Add the following to your game:**

1: Make the tanks a target with appropriate health. (Video was added above for this assignment)\
\
2: Add a non-destructible wall with metallic material.

3: Create one extra piece of destructible terrain.\
\
4: Add a secondary fire weapon (missile, artillery, machine gun, laser, mine, etc) with it's own particle system.\
\
5: Make a power up that lasts for a limited amount of time and affects some aspect of the game (speed, fire rate, damage, etc).\
\
6: Create three separate arenas with realistic materials for everything.\
\
7: Create a start screen for your game. When a player hits Start, randomize the arenas and begin the game.\
\
8: Add a win screen to the game and prompt players to restart once they both hit X.

9: Turn in the game through GitHub (make sure you set it up with a Unity GitIgnore).

## Learning Targets


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://gilmour.online/compsci/3d-game-design/game-2-tanks.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
