Open main menu

CDOT Wiki β

Changes

FractionsGame/Requirements

582 bytes added, 00:04, 16 July 2012
Maps/Levels
* Maps will be stored and loaded from either an XML file or JSON.
* No level editor will be created to build maps. The expectation is that they would be drawn on paper and the data input into the file manually.
* The reference size of a map will be 640x480 750x430 and the position of road segments and objects will be specified in absolute coordinates within that rectangle.
== Game Elements ==
== 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 must be tested immediately to ensure it's displayed correctly in Processing.js sketches. A [http://littlesvr.ca/misc/svg-tester/|simple tool has been created] to facilitate this testing.
=== New Layout ===The layout has been modified slightly, to accomodate the removal of some buttons: [[Image:fractionsmockup1.png|640px]] === Frame/Map ===
* 1 graphic.
* Native outside size: 800x480
* Border 20
* Extra border for Menu button: 20 10 vertical, 80 horisontal.* Extra border for Reset button: 20 10 vertical, 120 horisontal.
* Map background colour.
* No menu/reset buttons or any other graphics integrated into this.
=== "Menu"/"Reset" buttons ===
* 3 graphics.
* Native size: to fit the spaces in the frame.
** Onclick
* Make sure the button is big enough to accomodate french translation.
* The reset button should probably have a an embedded graphic, like the firefox reload button.
=== Points display ===
* 1 graphic.
* Native size: approx 175x100160x100
* All static, graphic does not include the actual count.
* No text.
=== Gas Meter ===
* 3 graphics.
* Native size: approx 265x120250x110
* Everything that's in the sample, minus the text and the needle. No E/F either.
* The three versions are identical except for the position of the lines along the top:
** One version with 8 major and 7 minor lines to accomodate 1/7,1/14 fraction units
=== Gas Meter Needle ===
* 1 graphic.
* Must be rotation-friendly.
=== Fuel Calculator ===
* 1 graphic.
* Native size: approx 380x120360x110
* Same look as the flash version, minus the text and the button.
=== Fuel Calculator Button ===* 3 graphics.* Native size: to fit the space in the Fuel Calculator.* The button border is the same for all 3, button insides changes for:** Normal** Onmouseover** Onclick === Car ===* 1 graphic.* Native size: 40x60 === Other objects ===* At least 11 graphics, including: Gas station, Factory, Tower, Other Tower, Grocery Store, Restaurant, Farm, School, Barn, Bank, Water tower* Native size: approx. 40x30