1
00:00:03,910 --> 00:00:09,940
Before we go ahead and jump into unity, let's look at our game design document because this is really

2
00:00:09,940 --> 00:00:13,900
going to keep us on track and keep us focused on the game we're trying to build.

3
00:00:13,930 --> 00:00:18,850
And the first stage of this, for me at least, is to understand the concept of the game we're trying

4
00:00:18,850 --> 00:00:20,350
to create now.

5
00:00:20,350 --> 00:00:25,420
We're going to be building a quiz game, and for our quiz game, we're going to be getting the player

6
00:00:25,420 --> 00:00:32,409
to answer a set number of multiple choice questions, and each question is going to have a limited amount

7
00:00:32,409 --> 00:00:34,180
of time to be answered.

8
00:00:34,180 --> 00:00:39,520
This will put a little bit of pressure on the player and also prevent them from just going off and Googling

9
00:00:39,520 --> 00:00:40,360
the solution.

10
00:00:41,100 --> 00:00:45,330
And crucially for our game, it's going to be very UI focused gameplay.

11
00:00:45,330 --> 00:00:49,350
So we're not going to be moving characters around the world and worrying about all of that.

12
00:00:49,380 --> 00:00:51,740
Instead, we're going to be looking at the UI.

13
00:00:51,750 --> 00:00:55,740
So things like text fields, buttons, images and all of that kind of thing.

14
00:00:56,550 --> 00:01:01,680
So if that UI focus in mind, let's have a look at some of the screens that we're going to have to build

15
00:01:01,680 --> 00:01:02,940
to make our game run.

16
00:01:03,360 --> 00:01:08,250
First off, we're going to have the question screen and this is going to have a text field where we're

17
00:01:08,250 --> 00:01:09,690
going to put the question.

18
00:01:09,840 --> 00:01:13,620
We're going to have a number of multiple choice buttons for the player to click on.

19
00:01:14,360 --> 00:01:17,120
And we've also got some other stuff that we need to think about.

20
00:01:17,150 --> 00:01:20,150
We've got the skull up in the top left corner here.

21
00:01:20,150 --> 00:01:23,780
So that's going to show how well the player is doing any given point.

22
00:01:24,050 --> 00:01:29,150
We're going to have a timer in the other corner and this is going to tell the player how long they've

23
00:01:29,150 --> 00:01:31,700
got left to answer any given question.

24
00:01:31,940 --> 00:01:35,270
Then down at the bottom, we have this long progress bar.

25
00:01:35,300 --> 00:01:40,220
And this is going to give the player some kind of indication of how far through the quiz they are.

26
00:01:40,790 --> 00:01:45,650
Now, once the player has clicked on one of these answers, we then need to worry about giving them

27
00:01:45,650 --> 00:01:46,520
the solution.

28
00:01:47,000 --> 00:01:53,090
So that brings us onto our next screen, where we're going to actually repurpose our original question

29
00:01:53,090 --> 00:01:56,900
text box and make it a confirmation text box instead.

30
00:01:56,930 --> 00:02:00,800
So this will tell the player if they got the answer correct or incorrect.

31
00:02:01,040 --> 00:02:05,810
And I think it would be nice if they got it wrong to tell them what the correct answer is.

32
00:02:06,200 --> 00:02:11,540
And in that same vein, we're also going to use some highlighting to show the player which answer was

33
00:02:11,540 --> 00:02:12,230
correct.

34
00:02:13,180 --> 00:02:17,260
Now you may notice that this screen looks incredibly similar to the last.

35
00:02:17,260 --> 00:02:21,610
So rather than making an entire new canvas just to show the answers.

36
00:02:21,730 --> 00:02:25,870
I actually think it would be a good idea to repurpose the question screen instead.

37
00:02:26,080 --> 00:02:31,720
This will make our game much easier to manage and we can essentially cycle back between question and

38
00:02:31,720 --> 00:02:34,180
solution as many times as we like.

39
00:02:34,480 --> 00:02:39,730
But once the player has answered all the questions for our quiz, then we are going to need to change

40
00:02:39,730 --> 00:02:43,870
things up a bit and go to a win screen or an end screen, if you like.

41
00:02:44,020 --> 00:02:48,940
Here we're going to tell the player congratulations and give them their final score.

42
00:02:49,180 --> 00:02:53,560
And we're also going to give them a button to give them the option to replay.

43
00:02:54,430 --> 00:02:58,360
So with all of that in mind, let's go through the game mechanics that we're going to need to build

44
00:02:58,360 --> 00:02:59,830
when we jump into unity.

45
00:03:00,280 --> 00:03:05,530
First of all, we're going to need a mechanism to store and retrieve all of our questions.

46
00:03:05,770 --> 00:03:09,760
We're going to need buttons so the player can select the right answer.

47
00:03:10,330 --> 00:03:14,680
And if we want to put some pressure on the player to answer the question, then we're going to also

48
00:03:14,680 --> 00:03:16,450
implement a simple timer.

49
00:03:17,390 --> 00:03:22,990
We're going to need a progress bar to show how many questions the player has remaining in the quiz.

50
00:03:23,000 --> 00:03:25,850
And we're going to use something known as a slider for that.

51
00:03:26,710 --> 00:03:30,940
We'll need a simple scoring system to show the player how well they're doing.

52
00:03:31,420 --> 00:03:35,590
And finally, we're going to need a way to restart the game when the quiz ends.

53
00:03:36,590 --> 00:03:40,430
Finally, let's ask the three big questions for our game.

54
00:03:40,820 --> 00:03:44,210
The first being, what is our player experience going to be?

55
00:03:44,660 --> 00:03:50,230
Well, for a quiz game, I quite like the player to feel knowledgeable and intelligent.

56
00:03:50,240 --> 00:03:55,730
So for my game I'm going to have a lot of positive affirmation and congratulation messages.

57
00:03:55,730 --> 00:03:57,560
But you could also go the other way.

58
00:03:57,560 --> 00:04:02,600
You can actually make the player feel less intelligent by berating them for getting answers wrong and

59
00:04:02,600 --> 00:04:04,400
generally just being a bit silly with it.

60
00:04:04,580 --> 00:04:09,680
So even though it is a quiz game, we don't necessarily have to make the player feel good about themselves.

61
00:04:09,950 --> 00:04:14,540
For the core mechanic, it's really going to be a test your knowledge kind of game.

62
00:04:14,540 --> 00:04:18,110
So I'm going to be using this as a kind of studying tool, as it were.

63
00:04:18,529 --> 00:04:24,140
And finally, our game loop is going to be to answer a set number of questions on a given topic within

64
00:04:24,140 --> 00:04:25,700
a set amount of time.

65
00:04:26,480 --> 00:04:31,610
So with the game design document all set up, it's now time for a quick challenge.

66
00:04:31,970 --> 00:04:34,790
Let us know what your quiz is going to be about.

67
00:04:34,790 --> 00:04:36,980
So what topics do you intend to cover?

68
00:04:37,010 --> 00:04:42,380
This could be anything from ancient history to pop culture to your favourite band.

69
00:04:42,770 --> 00:04:48,230
For my particular game, I'm actually going to go with an educational based quiz and I'm going to ask

70
00:04:48,230 --> 00:04:52,400
questions about Unity and C-sharp to help people study.

71
00:04:52,790 --> 00:04:57,830
So once you've come up with the topic for your quiz and written your game design document, please do

72
00:04:57,830 --> 00:05:02,500
share it and I'll see you in the next lecture where we actually jump into unity and start to build it.

73
00:05:02,510 --> 00:05:03,770
So I'll see you there.

