Skip to content

leils/monster-world-101

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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. 

About

Small Simulated Game World for CPE 102

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages