-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
34 lines (28 loc) · 1.34 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
README
World creation for CSC 101
by Leia Chang and Nathan Lemay
Winter Quarter 2014
Controls:
Viewport Movement - Arrow Keys
Gatherer placement mode - q
Generator placement mode - w
Resource placement mode - e
Obstacle placement mode - r
Concrete placement mode - t
Grass tile placement mode - y
Place entity - left click
Remove entity - right click
Set CSCStudents to find nearest Monster Energy - 1
Set CSCStudents to find farthest Monster Energy - 2
Reset world - 0
Save world - s
Load saved world - l
Transformation: Monster Energy turns into a Rock Obstacle when holding shift and left-clicking it.
Animation of CSCStudent: CSCStudent glows when MonsterEnergy is collected.
Animation of Campus Market: Campus Market consistently opens and closes door.
Movement:
Gatherer prioritizes x-direction movement.
X-Direction first:
Gatherer first moves in the x-direction of the resource. If it cannot, it attempts to move in the y-direction of the resource. If impossible, will move in the opposite y-direction, and if that too is impossible, the opposite x-direction.
Y-Direction first: (if gatherer is in the same x-coordinate as the resource, or if the previous movement around an obstacle require that the y-direction have priority)
Gatherer attempts y in direction of resource, then x in direction, then x in opposite, and finally y in opposite.