Changes

Jump to: navigation, search

FractionsGame/Requirements

1,650 bytes added, 22:41, 5 June 2012
Gameplay
== Gameplay ==
To describe the gameplay here is the typical run-through and some variations on it. Parts that don't need to be repeated are not. === Simplest Use Case ==={| class="wikitable" border="1"! Player !! Game !! Car State !! Gas meter needle state !! Points display state|-| Loads level || Level is loaded || Default position for the level || Default position for the level (Always full??) || Zero|-| Selects a path to destination "Factory" || Road sections are visibly selected || Unchanged || Unchanged || Unchanged|-| Clicks the "Go" button || Plays animation, minding the algorithm || Moves over the selected path || Lowers proportionally to distance travelled by the car || Unchanged|-| Waits for the move to finish || Records points associated with that destination, clears road selection, marks destination as visited. || Stopped at destination || Stopped at level Full minus Used-for-this-move || Updated with points for that destination|} Variations of the run-through:* Run out of gas on the path.* Hit gas station.* Destination already visited. === Required Functionality === * Select a section of the road by clicking on it.** Section must be adjacent to either the car or a previously selected road section.** A single section of the road can be selected only once.** A click select on an already-selected road section will unselect it, but only if it's the last sectionselected.* Car movement animation.** Constant speed per second.** Car turns when road turns.* Gas meter needle animation.** Synchronised with car animation.* Update points display.* Mark destination as visited.* Display out-of-gas message, not covering the restart button.
== Artwork ==
* "Stub" graphics will be created in the correct format with the correct sizes/ratios. These can be used during software development and may be useful as examples for the artists who will create the final artwork.
* Each new graphic created will be tested immediately to ensure it's displayed correctly in Processing.js sketches. A simple tool will be created to facilitate this testing.

Navigation menu