Created
February 22, 2012 06:32
-
-
Save hongymagic/1882433 to your computer and use it in GitHub Desktop.
A sample configuration file for Go-No-Go game engine
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Traffic light craze!", | |
"engine": "go-no-go", | |
"sets": 5, | |
"set": 1, | |
"assets": { | |
"loading": { | |
"background-image": "/assets/go-no-go/traffic/loading.png" | |
}, | |
"game": { | |
"background-color": "#fff", | |
"background-image": "/assets/go-no-go/traffic/south-park.png", | |
"color": "#222", | |
"font": "normal normal 400 100%/135% Helvetica, sans-serif", | |
"width": "800px", | |
"height": "600px" | |
} | |
}, | |
"channels": [ | |
{ | |
"id": "input", | |
"type": "input", | |
"mappings": { | |
"visual1": "A", | |
"visual2": "L" | |
}, | |
"answers": [ | |
{ | |
"visual1": true, | |
"visual2": false | |
}, | |
{ | |
"visual1": false, | |
"visual2": false | |
}, | |
{ | |
"visual1": false, | |
"visual2": false | |
}, | |
{ | |
"visual1": false, | |
"visual2": false | |
}, | |
{ | |
"visual1": true, | |
"visual2": true | |
} | |
] | |
}, | |
{ | |
"id": "visual1", | |
"type": "visual", | |
"position": [25, 25], | |
"gridsize": [1, 1], | |
"cellsize": [100, 220], | |
"timing": { | |
"start": 0, | |
"end": 500, | |
"duration": 3000 | |
}, | |
"cues": [ | |
{ | |
"asset": "/assets/go-no-go/traffic/green.png" | |
}, | |
{ | |
"asset": "/assets/go-no-go/traffic/red.png" | |
}, | |
{ | |
"asset": "/assets/go-no-go/traffic/red.png" | |
}, | |
{ | |
"asset": "/assets/go-no-go/traffic/orange.png" | |
}, | |
{ | |
"asset": "/assets/go-no-go/traffic/green.png" | |
} | |
] | |
}, | |
{ | |
"id": "visual2", | |
"type": "visual", | |
"position": [125, 25], | |
"gridsize": [1, 1], | |
"cellsize": [100, 220], | |
"timing": { | |
"start": 0, | |
"end": 500, | |
"duration": 3000 | |
}, | |
"cues": [ | |
{ | |
"asset": "/assets/go-no-go/traffic/red.png" | |
}, | |
{ | |
"asset": "/assets/go-no-go/traffic/red.png" | |
}, | |
{ | |
"asset": "/assets/go-no-go/traffic/orange.png" | |
}, | |
{ | |
"asset": "/assets/go-no-go/traffic/red.png" | |
}, | |
{ | |
"asset": "/assets/go-no-go/traffic/green.png" | |
} | |
] | |
}, | |
{ | |
"id": "audio", | |
"type": "audio", | |
"timing": { | |
"start": 0, | |
"end": 500, | |
"duration": 3000 | |
}, | |
"cues": [ | |
{ | |
}, | |
{ | |
}, | |
{ | |
"asset": "/assets/go-no-go/traffic/stop.wav" | |
}, | |
{ | |
}, | |
{ | |
} | |
] | |
} | |
] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "123-456-789", | |
"name": "Dual 2-Back game", | |
"engine": "n-back", | |
"assets": { | |
"loading": { | |
"background-image": "/assets/go-no-go/traffic/loading.png" | |
}, | |
"game": { | |
"background-color": "#fff", | |
"background-image": "/assets/go-no-go/traffic/south-park.png", | |
"color": "#222", | |
"font": "normal normal 400 100%/135% Helvetica, sans-serif", | |
"width": "800px", | |
"height": "600px" | |
} | |
}, | |
"channels": [ | |
{ | |
"id": "input", | |
"type": "input", | |
"mappings": { | |
"visual": "A", | |
"audio": "L" | |
}, | |
"answers": [ | |
{ | |
"visual": false, | |
"audio": false | |
}, | |
{ | |
"visual": false, | |
"audio": false | |
}, | |
{ | |
"visual": false, | |
"audio": false | |
}, | |
{ | |
"visual": false, | |
"audio": false | |
}, | |
{ | |
"visual": false, | |
"audio": true | |
}, | |
{ | |
"visual": true, | |
"audio": true | |
} | |
] | |
}, | |
{ | |
"id": "visual", | |
"type": "visual", | |
"position": [75, 25], | |
"gridsize": [3, 3], | |
"cellsize": [100, 100], | |
"timing": { | |
"start": 0, | |
"end": 500, | |
"duration": 3000 | |
}, | |
"cues": [ | |
{ | |
"position": 0, | |
"asset_url": "/assets/n-back/octocat.png" | |
}, | |
{ | |
"position": 8, | |
"asset_url": "/assets/n-back/octocat.png" | |
}, | |
{ | |
"position": 0, | |
"asset_url": "/assets/n-back/octocat.png" | |
}, | |
{ | |
"position": 3, | |
"asset_url": "/assets/n-back/octocat.png" | |
}, | |
{ | |
"position": 3, | |
"asset_url": "/assets/n-back/octocat.png" | |
}, | |
{ | |
"position": 5, | |
"asset_url": "/assets/n-back/octocat.png" | |
} | |
] | |
}, | |
{ | |
"id": "audio", | |
"type": "audio", | |
"cues": [ | |
{ | |
"asset_url": "/assets/n-back/alex/a.wav" | |
}, | |
{ | |
"asset_url": "/assets/n-back/alex/b.wav" | |
}, | |
{ | |
"asset_url": "/assets/n-back/alex/b.wav" | |
}, | |
{ | |
"asset_url": "/assets/n-back/alex/c.wav" | |
}, | |
{ | |
"asset_url": "/assets/n-back/alex/b.wav" | |
}, | |
{ | |
"asset_url": "/assets/n-back/alex/c.wav" | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment