Skip to content

Instantly share code, notes, and snippets.

@gfodor
Created March 16, 2018 23:25
Show Gist options
  • Save gfodor/df248f435f2e968423396ed6b34b7b29 to your computer and use it in GitHub Desktop.
Save gfodor/df248f435f2e968423396ed6b34b7b29 to your computer and use it in GitHub Desktop.
http://duck.mozilla.com/assets/avatars/robot.XXX
http://duck.mozilla.com/assets/avatars/robot-0.1.0.XXX
{
"name": "robot",
"version": "0.1.0",
"layers": [
{
"name": "base",
"bundles": [
{ id: "robot-1", url: "https://duck.mozilla.com/assets/robot-desktop-0.3.4.glb" },
{ id: "robot-2", url: "https://duck.mozilla.com/assets/robot-mobile-0.3.4.glb" }
]
}
],
"hints": {
"mobile-gen-1": ["base.robot-1"]
}
}
http://duck.mozilla.com/assets/scenes/conference-room.XXX
http://duck.mozilla.com/assets/scenes/conference-room-0.2.0.XXX
{
"name": "conference-room",
"version": "0.2.0",
"layers": [
{
"name": "environment",
"bundles": [
{ id: "room-1", url: "https://duck.mozilla.com/assets/room-desktop-0.3.4.glb" },
{ id: "room-2", url: "https://duck.mozilla.com/assets/room-mobile-0.3.4.glb" }
]
},
{
"name": "spawn-points",
"bundles": [
{ id: "room-spawn", url: "https://duck.mozilla.com/assets/room-spawn-0.1.4.glb" }
]
},
{
"name": "duck-interactables",
"bundles": [
{ id: "room-ducks-1", url: "https://duck.mozilla.com/assets/room-ducks-desktop-0.0.4.glb" },
{ id: "room-ducks-2", url: "https://duck.mozilla.com/assets/room-ducks-mobile-0.0.4.glb" }
]
}
],
"hints": {
"mobile-gen-1": ["environment.room-2", "duck-interactables.room-ducks-2"],
"far-draw-distance": ["environment.room-2"]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment