Skip to content

Instantly share code, notes, and snippets.

@gamefreak
Created March 12, 2011 20:28
Show Gist options
  • Save gamefreak/867531 to your computer and use it in GitHub Desktop.
Save gamefreak/867531 to your computer and use it in GitHub Desktop.
a zipped/gzipped directory called "data" with the extension: .xsscenario
./data.lua
data = {
objects = {…};
scenarios = {…};
races = {…};
};
media = {
sounds = {…};
sprites = {
[123] = {
name = "sprite1.png";
grid = {
x = 6;
y = 4;
};
};
[456] = {
name = "sprite2.png";
grid = {
x = 6;
y = 6;
};
};
};
images = {
[500] = "image1.png"
[501] = "image2.png"
};
videos = {…};
};
./sounds/
sound1.ogg
sound2.ogg
./images/
image1.png
image2.png
./sprites/
sprite1.png
sprite2.png
./videos/
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment