Susan Miller Scalable Game Design University of Colorado What will your story be This story can be tailored to a number of different audiences Here are some ideas Rules of Journey Once upon a time in a land far away lived a traveler who wandered the world filled with obstacles lo ID: 237303
Download Presentation The PPT/PDF document "All About Journey" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1
All About Journey
Susan Miller
Scalable Game Design
University of ColoradoSlide2
What will your story be? This story can be tailored to a number of different audiences…
Here are some ideas….Slide3
Rules of Journey
Once upon a time, in a land far away lived a traveler who wandered the world filled with obstacles looking for the lost treasure. He was told to avoid the terrible Chasers who would render him dead if they got near him. If he found the treasure, he would win. Slide4
Rules of Journey
In the not-so far future is a traveler who wanders the world to find his relatives before they are all taken over by zombies. He must avoid the existing zombies at all costs. The zombies could kill him, or worse, turn him into a zombie too!Slide5
Rules of Journey
A long time ago, in a land far away, lived a prince, longing to marry his princess. The mean king, however, told the prince that he couldn’t marry the princess until he found all the gold in the country. Since the king didn’t like the prince, he sent his henchmen to chase after the prince and kill him.Slide6
NOUNS = AGENTS
No matter which version of Journey you choose, you will still need agents…
What will you need?Slide7
Verbs= ACTIONS
What will each agent do?Slide8
Let’s Jump In
Open Agent Sheets
Click on FILE>>NEW PROJECT
Save your file as JOURNEYSlide9
Let’s make the basics…
A traveler, a Chaser, the ground, the walls and the goalsSlide10
Create your agents
10 minutes
End
Traveler
Chaser
Ground
Walls
GoalsSlide11
Put your agents on your worksheetSlide12
Put your agents on your worksheetSlide13
Start with an easy view of your worldSlide14
It’s time to SAVE THE WORLD!Slide15
Let’s get programming…
Make your traveler cursor controlled
Make your chasers move randomly
If the traveler is NEXT TO a chaser, he should die
If the traveler is NEXT TO the gold, he should winSlide16
Program your agents
10 minutes
End
Make your traveler cursor controlled
Make your chasers move randomly
If the traveler is NEXT TO a chaser, he should die
If the traveler is NEXT TO the gold, he should winSlide17
Making the chasers chase…
How can we find the scent in a room?
BACON!!!!!Slide18
The doggy is going to sniff for the bacon…Slide19
Which way will the dog go?Slide20
The traveler is stinky…
He leaves his SCENT on the GROUNDSlide21
The ground now has the travelers scent on it…
How do we use MATH to determine the strength of the scent?Slide22
Imagine you have two values for scent on the ground…
600
??
400Slide23
Imagine you have two values for scent on the ground…
600
500
400Slide24
Now imagine you have four values for scent on the ground…
100
600
400
100Slide25
Now imagine you have four values for scent on the ground…
0
200
600
300
400
200
We can MODEL the DIFFUSION equation, by taking the AVERAGE of the four tiles.Slide26
Programming Steps:
1. Program the traveler to leave a scent
2. Program the ground to diffuse the scent
3. Program the chaser to ‘smell’ the scent and determine which direction it is strongest.Slide27
1. Program the traveler to leave a scent
- Create an agent attributeSlide28
2. Program the ground to diffuse the scentSlide29
2. Program the ground to diffuse the scent
(s[up]+s[down]+s[left]+s[right])/4Slide30
3. Program the chaser to ‘smell’ the scent and determine which direction it is strongest.Slide31
Questions that you are pondering…Slide32
Questions…
If I use hill climbing, do I still need all the IF-THEN statements you made us write?Slide33
Can we go over the math one more time
?
Traveler
gets a scent: s=1000
Floor disperses it: s =
Up +
Down+Left+Right
4
Chasers chase it
If
the scent in the Up direction is
biggest, go
UPSlide34
Can I incorporate literacy?
Absolutely!
Grammar skills:
Nouns are agents
Action verbs are actions
stay tuned!! More to come this afternoon!Slide35
Now, what if we want to collect more than one goal?Slide36
Class, who is still working???Slide37
Introducing the controller…
The controller is an agent whose sole purpose is to count the goals…Slide38
How this works…
The controllers will set the number of goals to zero
The controller will ask (poll) the goals to see who is still on the worksheet
The goals will ‘answer’ by ‘counting off’
The controller will check the number of goals to see if it is equal to zero.
When the number of goals is equal to zero, the game is over.Slide39
When the Controller asks the goals if they are still on the board, they increase the count by one for each goal.
One!
Two!
Three!
Four!Slide40
When the Controller asks the goals if they are still on the board, they increase the count by one for each goal.
One!
Two!
Three!Slide41
When the Controller asks the goals if they are still on the board, they increase the count by one for each goal.
One!
Two!Slide42
The controllers will set the
count
of goals to zero, poll the goals, and then check to see if the game is over.Slide43Slide44
Expand Journey…
Try at least one idea…
Make the traveler face the direction he’s heading.
Give the traveler a ‘disease’ when he touches a traveler. Make him ‘seek’ the hospital to get better.
Challenge sheets (ice arrows)
Convert it to a contagion simulation
Start easy – healthy and sick people wander randomly in the world. Healthy people get sick when they come into contact with sick people.
Add diffusion/hill climbing: sick people search out the hospital and get better (at some percentage)
Idea of your choice!