Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions UV-Archways/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

262 changes: 262 additions & 0 deletions UV-Archways/assets/scene/main.composite
Original file line number Diff line number Diff line change
@@ -0,0 +1,262 @@
{
"version": 1,
"components": [
{
"name": "core::Transform",
"jsonSchema": {
"type": "object",
"properties": {
"position": {
"type": "object",
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"z": {
"type": "number"
}
}
},
"scale": {
"type": "object",
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"z": {
"type": "number"
}
}
},
"rotation": {
"type": "object",
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"z": {
"type": "number"
},
"w": {
"type": "number"
}
}
},
"parent": {
"type": "integer"
}
},
"serializationType": "transform"
},
"data": {
"512": {
"json": {
"position": {
"x": 8,
"y": 1,
"z": 8
},
"scale": {
"x": 1,
"y": 1,
"z": 1
},
"rotation": {
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"parent": 0
}
}
}
},
{
"name": "core::MeshRenderer",
"jsonSchema": {
"type": "object",
"properties": {},
"serializationType": "protocol-buffer",
"protocolBuffer": "PBMeshRenderer"
},
"data": {
"512": {
"json": {
"mesh": {
"$case": "box",
"box": {
"uvs": []
}
}
}
}
}
},
{
"name": "core-schema::Name",
"jsonSchema": {
"type": "object",
"properties": {
"value": {
"type": "string",
"serializationType": "utf8-string"
}
},
"serializationType": "map"
},
"data": {
"512": {
"json": {
"value": "Magic Cube"
}
}
}
},
{
"name": "inspector::Scene",
"jsonSchema": {
"type": "object",
"properties": {
"layout": {
"type": "object",
"properties": {
"base": {
"type": "object",
"properties": {
"x": {
"type": "integer",
"serializationType": "int32"
},
"y": {
"type": "integer",
"serializationType": "int32"
}
},
"serializationType": "map"
},
"parcels": {
"type": "array",
"items": {
"type": "object",
"properties": {
"x": {
"type": "integer",
"serializationType": "int32"
},
"y": {
"type": "integer",
"serializationType": "int32"
}
},
"serializationType": "map"
},
"serializationType": "array"
}
},
"serializationType": "map"
}
},
"serializationType": "map"
},
"data": {
"0": {
"json": {
"layout": {
"base": {
"x": 0,
"y": 0
},
"parcels": [
{
"x": 0,
"y": 0
}
]
}
}
}
}
},
{
"name": "inspector::Nodes",
"jsonSchema": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"entity": {
"type": "integer",
"serializationType": "entity"
},
"open": {
"type": "boolean",
"serializationType": "optional",
"optionalJsonSchema": {
"type": "boolean",
"serializationType": "boolean"
}
},
"children": {
"type": "array",
"items": {
"type": "integer",
"serializationType": "entity"
},
"serializationType": "array"
}
},
"serializationType": "map"
},
"serializationType": "array"
}
},
"serializationType": "map"
},
"data": {
"0": {
"json": {
"value": [
{
"entity": 0,
"children": [
512
],
"open": true
},
{
"entity": 512,
"children": []
}
]
}
}
}
},
{
"name": "cube-id",
"jsonSchema": {
"type": "object",
"properties": {},
"serializationType": "map"
},
"data": {
"512": {
"json": {}
}
}
}
]
}
Binary file added UV-Archways/images/scene-thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added UV-Archways/models/structure.glb
Binary file not shown.
Binary file added UV-Archways/models/structure2.glb
Binary file not shown.
17 changes: 17 additions & 0 deletions UV-Archways/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "sdk7-uv-archways",
"version": "1.0.0",
"description": "Span video/images across multiple planes",
"scripts": {
"start": "sdk-commands start",
"deploy": "sdk-commands deploy",
"build": "sdk-commands build",
"upgrade-sdk": "npm install --save-dev @dcl/sdk@latest",
"upgrade-sdk:next": "npm install --save-dev @dcl/sdk@next"
},
"devDependencies": {
"@dcl/asset-packs": "latest",
"@dcl/js-runtime": "latest",
"@dcl/sdk": "latest"
}
}
71 changes: 71 additions & 0 deletions UV-Archways/scene.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{
"ecs7": true,
"runtimeVersion": "7",
"display": {
"title": "SDK7 UV Archways",
"description": "Span video/images across multiple planes",
"navmapThumbnail": "images/scene-thumbnail.png",
"favicon": "favicon_asset"
},
"owner": "",
"contact": {
"name": "",
"email": ""
},
"main": "bin/index.js",
"tags": [],
"scene": {
"parcels": [
"60,74","61,74",
"60,75","61,75",
"60,76","61,76",
"60,77","61,77",
"60,78","61,78",
"60,79","61,79",
"60,80","61,80",
"60,81","61,81",
"60,82","61,82",
"60,83","61,83",
"60,84","61,84",
"60,85","61,85",
"60,86","61,86",
"60,87","61,87",
"60,88","61,88",
"60,89","61,89",
"60,90","61,90",
"60,91","61,91",
"60,92","61,92",
"60,93","61,93",
"60,94","61,94",
"60,95","61,95",
"60,96","61,96",
"60,97","61,97",
"60,98","61,98",
"60,99","61,99",
"60,100","61,100",
"60,101","61,101"
],
"base": "60,74"
},
"spawnPoints": [
{
"name": "spawn1",
"default": true,
"position": {
"x": [8,16],
"y": [1,1],
"z": [1,2]
},
"cameraTarget": {
"x": 16,
"y": 1,
"z": 16
}
}
],
"requiredPermissions": [
"ALLOW_TO_TRIGGER_AVATAR_EMOTE",
"ALLOW_TO_MOVE_PLAYER_INSIDE_SCENE"
],
"featureToggles": {}
}
Loading