Skip to content

Instantly share code, notes, and snippets.

@torkleyy
Last active April 10, 2017 11:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save torkleyy/3c2d8beb85876625fbe96ddbf5c1b88e to your computer and use it in GitHub Desktop.
Save torkleyy/3c2d8beb85876625fbe96ddbf5c1b88e to your computer and use it in GitHub Desktop.
That's how a scene configuration in amethyst might look like (we might use another file format).
{
"meshes": {
"cube": "obj",
"sphere": "fbx"
},
"textures": {
"grass": "png",
"brick": "jpg"
},
"renderables": {
"brick_sphere": ["sphere", "brick", "white", "white", "1.0"],
},
"entities": {
"my_sphere": {
"renderable": "brick_sphere"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment