Created
October 27, 2012 20:36
-
-
Save Sanqui/3966089 to your computer and use it in GitHub Desktop.
yarpge source concept stub
This file contains 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
game: | |
tilesets: | |
- tileset: &tileset0 | |
name: Overworld | |
file: overworld.png | |
colisions: | |
[1, 0] | |
maps: | |
- map: &map0 | |
name: An example map | |
tileset: *tileset0 | |
# Map tiles can be file: imported, or written inline: | |
tiles: [[[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
[0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0], | |
[0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0], | |
[0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0], | |
[0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0], | |
[0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0], | |
[0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0], | |
[0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0], | |
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]]] | |
border: [[0]] # Repeated at the border of the map. Can be a grid. | |
sprites: | |
- sprite: | |
x: 5 | |
y: 5 | |
text: Hi! I'm nothing but a test sprite. | |
- sprite: | |
x: 7 | |
y: 7 | |
script: &start | |
- Is this awesome? | |
- .Choice: | |
Yes: I thought so! | |
No: | |
- Let me ask again. | |
- *start | |
setup: | |
startmap: *map0 | |
startx: 5 | |
starty: 7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment