Literacy Project/Tinkrbook.txt Specifications

From OLPC
< Literacy Project
Revision as of 19:10, 3 May 2012 by 209.6.45.76 (talk) (Created page with '= TinkrBook .txt format= == Old Format (malformed JSON) == <code> TIMESTAMP_MS {"SoundPlayed:" "URL POINTING TO SOUND FILE"} TIMESTAMP_MS {"TinkrGraphic:" "NAME OF TINKERGRA…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

TinkrBook .txt format

Old Format (malformed JSON)

TIMESTAMP_MS {"SoundPlayed:" "URL POINTING TO SOUND FILE"}

TIMESTAMP_MS {"TinkrGraphic:" "NAME OF TINKERGRAPHIC TAPPED"}

TIMESTAMP_MS {"TinkrWord:" "NAME OF TINKERWORD TAPPED"}

TIMESTAMP_MS {"Log:" "ARBITRARY TEXT"}

TIMESTAMP_MS {"Scene:" { "url": "local url for scene loading","duckColor": "CURRENT DUCK COLOR","colorsLearned": "COMMA SEPERATED STRING OF COLORS","numbersLearned": "COMMA SEPERATED STRING OF NUMBERS","frogColorToFollow": "COLOR OF FROG SELECTED",}}

NEW ADDITIONS 2012-05-03

TIMESTAMP_MS {"tag" : "FingerDown", "x", INT, "y": INT}

TIMESTAMP_MS {"tag" : "FingerUp", "x", INT, "y": INT}

Example

1328239470831 {"Scene:" { "url": "scenes/tinkrbook_splash.swf","duckColor": "white","colorsLearned": "white,red,yellow,blue","numbersLearned": "","frogColorToFollow": "null",}}

1328239474753 {"SoundPlayed:" "app:/audio/title/My_BabyD_by_Angela_Cynthia_and_Fardad.mp3"}

1328239481543 {"Scene:" { "url": "scenes/intro.swf","duckColor": "white","colorsLearned": "white,red,yellow,blue","numbersLearned": "","frogColorToFollow": "null",}}

1328247221001 {"Scene:" { "url": "scenes/tinkrbook_splash.swf","duckColor": "white","colorsLearned": "white,red,yellow,blue","numbersLearned": "","frogColorToFollow": "null",}}

1328247224475 {"SoundPlayed:" "app:/audio/title/My_BabyD_by_Angela_Cynthia_and_Fardad.mp3"}

1328247225899 {"TinkrWord:" "Angela,"}

1328247228175 {"TinkrWord:" "Cynthia"}

1328247230247 {"Scene:" { "url": "scenes/intro.swf","duckColor": "white","colorsLearned": "white,red,yellow,blue","numbersLearned": "","frogColorToFollow": "null",}}

1328247231947 {"Scene:" { "url": "scenes/scene_1.swf","duckColor": "white","colorsLearned": "white,red,yellow,blue","numbersLearned": "","frogColorToFollow": "null",}}

1328247234178 {"TinkrWord:" "Tap,"}

1328247234846 {"TinkrWord:" "tap,"}

1328247234931 {"tag" : "FingerDown", "x", 123, "y": 234}

1328247235339 {"tag" : "FingerUp", "x", 123, "y": 234}