mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 03:42:27 +02:00
move assets and links to be local
This commit is contained in:
parent
b8e7be087d
commit
1f83ae53ba
77 changed files with 163 additions and 68 deletions
|
@ -8,7 +8,7 @@ The gaming table is designed with the following principles:
|
|||
1. Gets its list of games from a remote location, and so can be updated without requiring a new download by users.
|
||||
2. New games can be defined in a simple JSON data structure.
|
||||
3. Games are made for using hand controllers. Pieces are physical as much as possible.
|
||||
4. Simple controls: reset game, next game, and new seat buttons.
|
||||
4. Simple controls: reset game, next game.
|
||||
5. No 'rules' are enforced. It's up to players to respect each other.
|
||||
|
||||
|
||||
|
@ -23,7 +23,7 @@ JSON GAME PARAMETERS
|
|||
=============
|
||||
(BOTH STYLES)
|
||||
- @gameName - string - what the game is called.```checkers```
|
||||
- @matURL - string - url of picture to put on the table. ```http://mywebsite/chekers.jpg```
|
||||
- @matURL - string - url of picture to put on the table. ```http://mywebsite/checkers.jpg```
|
||||
- @spawnStyle - string - either ```pile``` or ```arranged```.
|
||||
|
||||
(ARRANGED STYLE)
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
"friction":1,
|
||||
"restitution":0,
|
||||
"id": "{36bdb632-06be-4d13-b9be-e620ebec6422}",
|
||||
"modelURL": "http://hifi-content.s3.amazonaws.com/thoys/production/gameTable/assets/deckOfCards/playing_card.fbx",
|
||||
"modelURL": "assets/cards/playing_card.fbx",
|
||||
"name": "Deck of Cards",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
|
@ -38,7 +38,7 @@
|
|||
"y": -0.29045546054840088,
|
||||
"z": 1.52587890625e-05
|
||||
},
|
||||
"script": "http://hifi-content.s3.amazonaws.com/thoys/production/gameTable/deckOfCards/deckOfCards.js",
|
||||
"script": "games/deckOfCards/deckOfCards.js",
|
||||
"shapeType": "simple-compound",
|
||||
"type": "Model"
|
||||
}],
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
"z": 0
|
||||
},
|
||||
"id": "{551e5154-db28-4f65-a5cb-ef6214a83288}",
|
||||
"modelURL": "http://hifi-content.s3.amazonaws.com/thoys/production/gameTable/assets/checkers/black_checker.fbx",
|
||||
"modelURL": "assets/checkers/black_checker.fbx",
|
||||
"name": "Checker Piece",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
|
@ -40,7 +40,7 @@
|
|||
"y": 0.79168379306793213,
|
||||
"z": -1.52587890625e-05
|
||||
},
|
||||
"script": "http://hifi-content.s3.amazonaws.com/thoys/production/gameTable/snapToGrid.js",
|
||||
"script": "snapToGrid.js",
|
||||
"shapeType": "box",
|
||||
"type": "Model",
|
||||
"velocity": {
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
"z": 0
|
||||
},
|
||||
"id": "{551e5154-db28-4f65-a5cb-ef6214a83288}",
|
||||
"modelURL": "http://hifi-content.s3.amazonaws.com/thoys/production/gameTable/assets/checkers/red_checker.fbx",
|
||||
"modelURL": "red_checker.fbx",
|
||||
"name": "Checker Piece",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
|
@ -40,7 +40,7 @@
|
|||
"y": 0.79168379306793213,
|
||||
"z": -1.52587890625e-05
|
||||
},
|
||||
"script": "http://hifi-content.s3.amazonaws.com/thoys/production/gameTable/snapToGrid.js",
|
||||
"script": "snapToGrid.js",
|
||||
"shapeType": "box",
|
||||
"type": "Model",
|
||||
"velocity": {
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
},
|
||||
"id": "{1762eec3-ee76-4393-a480-29ef13520dd0}",
|
||||
"marketplaceID": "31987a70-7a69-4ba8-b022-80f1d2320c93",
|
||||
"modelURL": "http://hifi-content.s3.amazonaws.com/thoys/production/gameTable/assets/chess/lowPoly/bishop_dk.fbx",
|
||||
"modelURL": "assets/chess/lowPoly/bishop_dk.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.2920001745223999,
|
||||
|
@ -41,7 +41,7 @@
|
|||
"y": 0.97436141967773438,
|
||||
"z": -3.822671715170145e-06
|
||||
},
|
||||
"script": "http://hifi-content.s3.amazonaws.com/thoys/production/gameTable/snapToGrid.js",
|
||||
"script": "snapToGrid.js",
|
||||
"type": "Model",
|
||||
"userData": "{\"grabbableKey\":{\"grabbable\":true}}"
|
||||
}],
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
},
|
||||
"id": "{a6cf9687-b697-413c-aded-5b876544d5b4}",
|
||||
"marketplaceID": "31987a70-7a69-4ba8-b022-80f1d2320c93",
|
||||
"modelURL": "http://hifi-content.s3.amazonaws.com/thoys/production/gameTable/assets/chess/lowPoly/bishop_lt.fbx",
|
||||
"modelURL": "assets/chess/lowPoly/bishop_lt.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.2920001745223999,
|
||||
|
@ -41,7 +41,7 @@
|
|||
"y": 0.22488787770271301,
|
||||
"z": -3.822671715170145e-06
|
||||
},
|
||||
"script": "http://hifi-content.s3.amazonaws.com/thoys/production/gameTable/snapToGrid.js",
|
||||
"script": "snapToGrid.js",
|
||||
"type": "Model",
|
||||
"userData": "{\"grabbableKey\":{\"grabbable\":true}}"
|
||||
}],
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
},
|
||||
"id": "{b04b255d-73a2-465d-bb9b-4a6324c1ade2}",
|
||||
"marketplaceID": "31987a70-7a69-4ba8-b022-80f1d2320c93",
|
||||
"modelURL": "http://hifi-content.s3.amazonaws.com/thoys/production/gameTable/assets/chess/lowPoly/king_dk.fbx",
|
||||
"modelURL": "assets/chess/lowPoly/king_dk.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.40935343503952026,
|
||||
|
@ -41,7 +41,7 @@
|
|||
"y": 0.97436141967773438,
|
||||
"z": -3.822671715170145e-06
|
||||
},
|
||||
"script": "http://hifi-content.s3.amazonaws.com/thoys/production/gameTable/snapToGrid.js",
|
||||
"script": "snapToGrid.js",
|
||||
"type": "Model",
|
||||
"userData": "{\"grabbableKey\":{\"grabbable\":true}}"
|
||||
}],
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
},
|
||||
"id": "{f5d50ec3-f72a-4ba4-906c-afaa417405c5}",
|
||||
"marketplaceID": "31987a70-7a69-4ba8-b022-80f1d2320c93",
|
||||
"modelURL": "http://hifi-content.s3.amazonaws.com/thoys/production/gameTable/assets/chess/lowPoly/king_lt.fbx",
|
||||
"modelURL": "assets/chess/lowPoly/king_lt.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.40935343503952026,
|
||||
|
@ -41,7 +41,7 @@
|
|||
"y": 0.22488787770271301,
|
||||
"z": -3.822671715170145e-06
|
||||
},
|
||||
"script": "http://hifi-content.s3.amazonaws.com/thoys/production/gameTable/snapToGrid.js",
|
||||
"script": "snapToGrid.js",
|
||||
"type": "Model",
|
||||
"userData": "{\"grabbableKey\":{\"grabbable\":true}}"
|
||||
}],
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
},
|
||||
"id": "{2bbe161c-4eab-4526-8519-8773fc2c3bc6}",
|
||||
"marketplaceID": "31987a70-7a69-4ba8-b022-80f1d2320c93",
|
||||
"modelURL": "http://hifi-content.s3.amazonaws.com/thoys/production/gameTable/assets/chess/lowPoly/knight_dk.fbx",
|
||||
"modelURL": "assets/chess/lowPoly/knight_dk.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.25709879398345947,
|
||||
|
@ -41,7 +41,7 @@
|
|||
"z": -0.0000011765481531256228,
|
||||
"w": 0.7071069478988647
|
||||
},
|
||||
"script": "http://hifi-content.s3.amazonaws.com/thoys/production/gameTable/snapToGrid.js",
|
||||
"script": "snapToGrid.js",
|
||||
"type": "Model",
|
||||
"userData": "{\"grabbableKey\":{\"grabbable\":true}}"
|
||||
}],
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
},
|
||||
"id": "{03593067-9430-4cf6-8d4f-642e17bcc1d5}",
|
||||
"marketplaceID": "31987a70-7a69-4ba8-b022-80f1d2320c93",
|
||||
"modelURL": "http://hifi-content.s3.amazonaws.com/thoys/production/gameTable/assets/chess/lowPoly/knight_lt.fbx",
|
||||
"modelURL": "assets/chess/lowPoly/knight_lt.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.25709879398345947,
|
||||
|
@ -41,7 +41,7 @@
|
|||
"z": -0.000012694558790826704,
|
||||
"w": 0.7071805596351624
|
||||
},
|
||||
"script": "http://hifi-content.s3.amazonaws.com/thoys/production/gameTable/snapToGrid.js",
|
||||
"script": "snapToGrid.js",
|
||||
"type": "Model",
|
||||
"userData": "{\"grabbableKey\":{\"grabbable\":true}}"
|
||||
}],
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
},
|
||||
"id": "{320a7944-6e31-4ed0-9c94-18c4a82867f6}",
|
||||
"marketplaceID": "31987a70-7a69-4ba8-b022-80f1d2320c93",
|
||||
"modelURL": "http://hifi-content.s3.amazonaws.com/thoys/production/gameTable/assets/chess/lowPoly/pawn_dk.fbx",
|
||||
"modelURL": "assets/chess/lowPoly/pawn_dk.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.19870693981647491,
|
||||
|
@ -41,7 +41,7 @@
|
|||
"y": 0.97436141967773438,
|
||||
"z": -3.822671715170145e-06
|
||||
},
|
||||
"script": "http://hifi-content.s3.amazonaws.com/thoys/production/gameTable/snapToGrid.js",
|
||||
"script": "snapToGrid.js",
|
||||
"type": "Model",
|
||||
"userData": "{\"grabbableKey\":{\"grabbable\":true}}"
|
||||
}],
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
},
|
||||
"id": "{51fee675-ba92-4cff-9631-41da3af1a167}",
|
||||
"marketplaceID": "31987a70-7a69-4ba8-b022-80f1d2320c93",
|
||||
"modelURL": "http://hifi-content.s3.amazonaws.com/thoys/production/gameTable/assets/chess/lowPoly/pawn_lt.fbx",
|
||||
"modelURL": "assets/chess/lowPoly/pawn_lt.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.19870693981647491,
|
||||
|
@ -41,7 +41,7 @@
|
|||
"y": 0.22488787770271301,
|
||||
"z": -3.822671715170145e-06
|
||||
},
|
||||
"script": "http://hifi-content.s3.amazonaws.com/thoys/production/gameTable/snapToGrid.js",
|
||||
"script": "snapToGrid.js",
|
||||
"type": "Model",
|
||||
"userData": "{\"grabbableKey\":{\"grabbable\":true}}"
|
||||
}],
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
},
|
||||
"id": "{bf46cba5-01ef-4296-b87e-6849b3370bb5}",
|
||||
"marketplaceID": "31987a70-7a69-4ba8-b022-80f1d2320c93",
|
||||
"modelURL": "http://hifi-content.s3.amazonaws.com/thoys/production/gameTable/assets/chess/lowPoly/queen_dk.fbx",
|
||||
"modelURL": "assets/chess/lowPoly/queen_dk.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.3479781448841095,
|
||||
|
@ -41,7 +41,7 @@
|
|||
"y": 0.97436141967773438,
|
||||
"z": -3.822671715170145e-06
|
||||
},
|
||||
"script": "http://hifi-content.s3.amazonaws.com/thoys/production/gameTable/snapToGrid.js",
|
||||
"script": "snapToGrid.js",
|
||||
"type": "Model",
|
||||
"userData": "{\"grabbableKey\":{\"grabbable\":true}}"
|
||||
}],
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
},
|
||||
"id": "{d3768890-a7d2-473f-81a9-b1ff409b62c5}",
|
||||
"marketplaceID": "31987a70-7a69-4ba8-b022-80f1d2320c93",
|
||||
"modelURL": "http://hifi-content.s3.amazonaws.com/thoys/production/gameTable/assets/chess/lowPoly/queen_lt.fbx",
|
||||
"modelURL": "assets/chess/lowPoly/queen_lt.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.3479781448841095,
|
||||
|
@ -41,7 +41,7 @@
|
|||
"y": 0.22488787770271301,
|
||||
"z": -3.822671715170145e-06
|
||||
},
|
||||
"script": "http://hifi-content.s3.amazonaws.com/thoys/production/gameTable/snapToGrid.js",
|
||||
"script": "snapToGrid.js",
|
||||
"type": "Model",
|
||||
"userData": "{\"grabbableKey\":{\"grabbable\":true}}"
|
||||
}],
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
},
|
||||
"id": "{ef723ba2-9143-406a-9785-667ab126963f}",
|
||||
"marketplaceID": "31987a70-7a69-4ba8-b022-80f1d2320c93",
|
||||
"modelURL": "http://hifi-content.s3.amazonaws.com/thoys/production/gameTable/assets/chess/lowPoly/rook_dk.fbx",
|
||||
"modelURL": "assets/chess/lowPoly/rook_dk.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.23554044961929321,
|
||||
|
@ -41,7 +41,7 @@
|
|||
"y": 0.97436141967773438,
|
||||
"z": -3.822671715170145e-06
|
||||
},
|
||||
"script": "http://hifi-content.s3.amazonaws.com/thoys/production/gameTable/snapToGrid.js",
|
||||
"script": "snapToGrid.js",
|
||||
"type": "Model",
|
||||
"userData": "{\"grabbableKey\":{\"grabbable\":true}}"
|
||||
}],
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
},
|
||||
"id": "{db3ee0bd-214f-4ed0-bd4f-7d2e964028cf}",
|
||||
"marketplaceID": "31987a70-7a69-4ba8-b022-80f1d2320c93",
|
||||
"modelURL": "http://hifi-content.s3.amazonaws.com/thoys/production/gameTable/assets/chess/lowPoly/rook_lt.fbx",
|
||||
"modelURL": "assets/chess/lowPoly/rook_lt.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.23554044961929321,
|
||||
|
@ -41,7 +41,7 @@
|
|||
"y": 0.22488787770271301,
|
||||
"z": -3.822671715170145e-06
|
||||
},
|
||||
"script": "http://hifi-content.s3.amazonaws.com/thoys/production/gameTable/snapToGrid.js",
|
||||
"script": "snapToGrid.js",
|
||||
"type": "Model",
|
||||
"userData": "{\"grabbableKey\":{\"grabbable\":true}}"
|
||||
}],
|
||||
|
|
BIN
unpublishedScripts/marketplace/gameTable/assets/dice/dice.fbx
(Stored with Git LFS)
BIN
unpublishedScripts/marketplace/gameTable/assets/dice/dice.fbx
(Stored with Git LFS)
Binary file not shown.
|
@ -22,7 +22,7 @@
|
|||
"z": 0
|
||||
},
|
||||
"id": "{18424328-df9d-4a6f-9c64-b9e51de43534}",
|
||||
"modelURL": "https://hifi-content.s3.amazonaws.com/james/gametable-dev/assets/dice/dice.fbx",
|
||||
"modelURL": "assets/dice/newDice3e.fbx",
|
||||
"name": "Dice",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
|
@ -37,7 +37,7 @@
|
|||
"y": 0.69715219736099243,
|
||||
"z": 0.69532883167266846
|
||||
},
|
||||
"shapeType": "simple-compound",
|
||||
"shapeType": "box",
|
||||
"type": "Model"
|
||||
}
|
||||
],
|
||||
|
|
BIN
unpublishedScripts/marketplace/gameTable/assets/dice/newDice3e.fbx
(Stored with Git LFS)
Normal file
BIN
unpublishedScripts/marketplace/gameTable/assets/dice/newDice3e.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/00.fbx
(Stored with Git LFS)
Normal file
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/00.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/10.fbx
(Stored with Git LFS)
Normal file
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/10.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/11.fbx
(Stored with Git LFS)
Normal file
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/11.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/12.fbx
(Stored with Git LFS)
Normal file
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/12.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/13.fbx
(Stored with Git LFS)
Normal file
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/13.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/14.fbx
(Stored with Git LFS)
Normal file
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/14.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/15.fbx
(Stored with Git LFS)
Normal file
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/15.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/16.fbx
(Stored with Git LFS)
Normal file
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/16.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/20.fbx
(Stored with Git LFS)
Normal file
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/20.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/22.fbx
(Stored with Git LFS)
Normal file
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/22.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/23.fbx
(Stored with Git LFS)
Normal file
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/23.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/24.fbx
(Stored with Git LFS)
Normal file
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/24.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/25.fbx
(Stored with Git LFS)
Normal file
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/25.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/26.fbx
(Stored with Git LFS)
Normal file
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/26.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/30.fbx
(Stored with Git LFS)
Normal file
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/30.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/33.fbx
(Stored with Git LFS)
Normal file
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/33.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/34.fbx
(Stored with Git LFS)
Normal file
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/34.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/35.fbx
(Stored with Git LFS)
Normal file
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/35.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/36.fbx
(Stored with Git LFS)
Normal file
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/36.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/40.fbx
(Stored with Git LFS)
Normal file
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/40.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/44.fbx
(Stored with Git LFS)
Normal file
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/44.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/45.fbx
(Stored with Git LFS)
Normal file
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/45.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/46.fbx
(Stored with Git LFS)
Normal file
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/46.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/50.fbx
(Stored with Git LFS)
Normal file
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/50.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/55.fbx
(Stored with Git LFS)
Normal file
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/55.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/56.fbx
(Stored with Git LFS)
Normal file
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/56.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/60.fbx
(Stored with Git LFS)
Normal file
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/60.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/66.fbx
(Stored with Git LFS)
Normal file
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/66.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/DominoFBX.fbx
(Stored with Git LFS)
BIN
unpublishedScripts/marketplace/gameTable/assets/dominoes/DominoFBX.fbx
(Stored with Git LFS)
Binary file not shown.
|
@ -11,7 +11,7 @@
|
|||
"dynamic": 1,
|
||||
"description":"hifi:gameTable:piece:dominoes",
|
||||
"id": "{e25e3ece-6b84-4c0d-925c-aacebf9ebc6c}",
|
||||
"modelURL": "https://hifi-content.s3.amazonaws.com/jimi/gameTable/domino/00.fbx",
|
||||
"modelURL": "assets/dominoes/00.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.12253325432538986,
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"dynamic": 1,
|
||||
"description":"hifi:gameTable:piece:dominoes",
|
||||
"id": "{e25e3ece-6b84-4c0d-925c-aacebf9ebc6c}",
|
||||
"modelURL": "https://hifi-content.s3.amazonaws.com/jimi/gameTable/domino/10.fbx",
|
||||
"modelURL": "assets/dominoes/10.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.12253325432538986,
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"dynamic": 1,
|
||||
"description":"hifi:gameTable:piece:dominoes",
|
||||
"id": "{e25e3ece-6b84-4c0d-925c-aacebf9ebc6c}",
|
||||
"modelURL": "https://hifi-content.s3.amazonaws.com/jimi/gameTable/domino/23.fbx",
|
||||
"modelURL": "assets/dominoes/23.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.12253325432538986,
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"dynamic": 1,
|
||||
"description":"hifi:gameTable:piece:dominoes",
|
||||
"id": "{e25e3ece-6b84-4c0d-925c-aacebf9ebc6c}",
|
||||
"modelURL": "https://hifi-content.s3.amazonaws.com/jimi/gameTable/domino/24.fbx",
|
||||
"modelURL": "assets/dominoes/24.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.12253325432538986,
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"dynamic": 1,
|
||||
"description":"hifi:gameTable:piece:dominoes",
|
||||
"id": "{e25e3ece-6b84-4c0d-925c-aacebf9ebc6c}",
|
||||
"modelURL": "https://hifi-content.s3.amazonaws.com/jimi/gameTable/domino/25.fbx",
|
||||
"modelURL": "assets/dominoes/25.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.12253325432538986,
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"dynamic": 1,
|
||||
"description":"hifi:gameTable:piece:dominoes",
|
||||
"id": "{e25e3ece-6b84-4c0d-925c-aacebf9ebc6c}",
|
||||
"modelURL": "https://hifi-content.s3.amazonaws.com/jimi/gameTable/domino/26.fbx",
|
||||
"modelURL": "assets/dominoes/26.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.12253325432538986,
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"dynamic": 1,
|
||||
"description":"hifi:gameTable:piece:dominoes",
|
||||
"id": "{e25e3ece-6b84-4c0d-925c-aacebf9ebc6c}",
|
||||
"modelURL": "https://hifi-content.s3.amazonaws.com/jimi/gameTable/domino/30.fbx",
|
||||
"modelURL": "assets/dominoes/30.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.12253325432538986,
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"dynamic": 1,
|
||||
"description":"hifi:gameTable:piece:dominoes",
|
||||
"id": "{e25e3ece-6b84-4c0d-925c-aacebf9ebc6c}",
|
||||
"modelURL": "https://hifi-content.s3.amazonaws.com/jimi/gameTable/domino/33.fbx",
|
||||
"modelURL": "assets/dominoes/33.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.12253325432538986,
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"dynamic": 1,
|
||||
"description":"hifi:gameTable:piece:dominoes",
|
||||
"id": "{e25e3ece-6b84-4c0d-925c-aacebf9ebc6c}",
|
||||
"modelURL": "https://hifi-content.s3.amazonaws.com/jimi/gameTable/domino/34.fbx",
|
||||
"modelURL": "assets/dominoes/34.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.12253325432538986,
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"dynamic": 1,
|
||||
"description":"hifi:gameTable:piece:dominoes",
|
||||
"id": "{e25e3ece-6b84-4c0d-925c-aacebf9ebc6c}",
|
||||
"modelURL": "https://hifi-content.s3.amazonaws.com/jimi/gameTable/domino/35.fbx",
|
||||
"modelURL": "assets/dominoes/35.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.12253325432538986,
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"dynamic": 1,
|
||||
"description":"hifi:gameTable:piece:dominoes",
|
||||
"id": "{e25e3ece-6b84-4c0d-925c-aacebf9ebc6c}",
|
||||
"modelURL": "https://hifi-content.s3.amazonaws.com/jimi/gameTable/domino/36.fbx",
|
||||
"modelURL": "assets/dominoes/36.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.12253325432538986,
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"dynamic": 1,
|
||||
"description":"hifi:gameTable:piece:dominoes",
|
||||
"id": "{e25e3ece-6b84-4c0d-925c-aacebf9ebc6c}",
|
||||
"modelURL": "https://hifi-content.s3.amazonaws.com/jimi/gameTable/domino/40.fbx",
|
||||
"modelURL": "assets/dominoes/40.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.12253325432538986,
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"dynamic": 1,
|
||||
"description":"hifi:gameTable:piece:dominoes",
|
||||
"id": "{e25e3ece-6b84-4c0d-925c-aacebf9ebc6c}",
|
||||
"modelURL": "https://hifi-content.s3.amazonaws.com/jimi/gameTable/domino/11.fbx",
|
||||
"modelURL": "assets/dominoes/11.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.12253325432538986,
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"dynamic": 1,
|
||||
"description":"hifi:gameTable:piece:dominoes",
|
||||
"id": "{e25e3ece-6b84-4c0d-925c-aacebf9ebc6c}",
|
||||
"modelURL": "https://hifi-content.s3.amazonaws.com/jimi/gameTable/domino/44.fbx",
|
||||
"modelURL": "assets/dominoes/44.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.12253325432538986,
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"dynamic": 1,
|
||||
"description":"hifi:gameTable:piece:dominoes",
|
||||
"id": "{e25e3ece-6b84-4c0d-925c-aacebf9ebc6c}",
|
||||
"modelURL": "https://hifi-content.s3.amazonaws.com/jimi/gameTable/domino/45.fbx",
|
||||
"modelURL": "assets/dominoes/45.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.12253325432538986,
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"dynamic": 1,
|
||||
"description":"hifi:gameTable:piece:dominoes",
|
||||
"id": "{e25e3ece-6b84-4c0d-925c-aacebf9ebc6c}",
|
||||
"modelURL": "https://hifi-content.s3.amazonaws.com/jimi/gameTable/domino/46.fbx",
|
||||
"modelURL": "assets/dominoes/46.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.12253325432538986,
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"dynamic": 1,
|
||||
"description":"hifi:gameTable:piece:dominoes",
|
||||
"id": "{e25e3ece-6b84-4c0d-925c-aacebf9ebc6c}",
|
||||
"modelURL": "https://hifi-content.s3.amazonaws.com/jimi/gameTable/domino/50.fbx",
|
||||
"modelURL": "assets/dominoes/50.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.12253325432538986,
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"dynamic": 1,
|
||||
"description":"hifi:gameTable:piece:dominoes",
|
||||
"id": "{e25e3ece-6b84-4c0d-925c-aacebf9ebc6c}",
|
||||
"modelURL": "https://hifi-content.s3.amazonaws.com/jimi/gameTable/domino/55.fbx",
|
||||
"modelURL": "assets/dominoes/55.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.12253325432538986,
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"dynamic": 1,
|
||||
"description":"hifi:gameTable:piece:dominoes",
|
||||
"id": "{e25e3ece-6b84-4c0d-925c-aacebf9ebc6c}",
|
||||
"modelURL": "https://hifi-content.s3.amazonaws.com/jimi/gameTable/domino/56.fbx",
|
||||
"modelURL": "assets/dominoes/56.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.12253325432538986,
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"dynamic": 1,
|
||||
"description":"hifi:gameTable:piece:dominoes",
|
||||
"id": "{e25e3ece-6b84-4c0d-925c-aacebf9ebc6c}",
|
||||
"modelURL": "https://hifi-content.s3.amazonaws.com/jimi/gameTable/domino/60.fbx",
|
||||
"modelURL": "assets/dominoes/60.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.12253325432538986,
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"dynamic": 1,
|
||||
"description":"hifi:gameTable:piece:dominoes",
|
||||
"id": "{e25e3ece-6b84-4c0d-925c-aacebf9ebc6c}",
|
||||
"modelURL": "https://hifi-content.s3.amazonaws.com/jimi/gameTable/domino/66.fbx",
|
||||
"modelURL": "assets/dominoes/66.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.12253325432538986,
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"dynamic": 1,
|
||||
"description":"hifi:gameTable:piece:dominoes",
|
||||
"id": "{e25e3ece-6b84-4c0d-925c-aacebf9ebc6c}",
|
||||
"modelURL": "https://hifi-content.s3.amazonaws.com/jimi/gameTable/domino/12.fbx",
|
||||
"modelURL": "assets/dominoes/12.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.12253325432538986,
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"dynamic": 1,
|
||||
"description":"hifi:gameTable:piece:dominoes",
|
||||
"id": "{e25e3ece-6b84-4c0d-925c-aacebf9ebc6c}",
|
||||
"modelURL": "https://hifi-content.s3.amazonaws.com/jimi/gameTable/domino/13.fbx",
|
||||
"modelURL": "assets/dominoes/13.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.12253325432538986,
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"dynamic": 1,
|
||||
"description":"hifi:gameTable:piece:dominoes",
|
||||
"id": "{e25e3ece-6b84-4c0d-925c-aacebf9ebc6c}",
|
||||
"modelURL": "https://hifi-content.s3.amazonaws.com/jimi/gameTable/domino/14.fbx",
|
||||
"modelURL": "assets/dominoes/14.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.12253325432538986,
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"dynamic": 1,
|
||||
"description":"hifi:gameTable:piece:dominoes",
|
||||
"id": "{e25e3ece-6b84-4c0d-925c-aacebf9ebc6c}",
|
||||
"modelURL": "https://hifi-content.s3.amazonaws.com/jimi/gameTable/domino/15.fbx",
|
||||
"modelURL": "assets/dominoes/15.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.12253325432538986,
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"dynamic": 1,
|
||||
"description":"hifi:gameTable:piece:dominoes",
|
||||
"id": "{e25e3ece-6b84-4c0d-925c-aacebf9ebc6c}",
|
||||
"modelURL": "https://hifi-content.s3.amazonaws.com/jimi/gameTable/domino/16.fbx",
|
||||
"modelURL": "assets/dominoes/16.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.12253325432538986,
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"dynamic": 1,
|
||||
"description":"hifi:gameTable:piece:dominoes",
|
||||
"id": "{e25e3ece-6b84-4c0d-925c-aacebf9ebc6c}",
|
||||
"modelURL": "https://hifi-content.s3.amazonaws.com/jimi/gameTable/domino/20.fbx",
|
||||
"modelURL": "assets/dominoes/20.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.12253325432538986,
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"dynamic": 1,
|
||||
"description":"hifi:gameTable:piece:dominoes",
|
||||
"id": "{e25e3ece-6b84-4c0d-925c-aacebf9ebc6c}",
|
||||
"modelURL": "https://hifi-content.s3.amazonaws.com/jimi/gameTable/domino/22.fbx",
|
||||
"modelURL": "assets/dominoes/22.fbx",
|
||||
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
||||
"queryAACube": {
|
||||
"scale": 0.12253325432538986,
|
||||
|
|
|
@ -54,6 +54,13 @@
|
|||
return null;
|
||||
}
|
||||
|
||||
function fixLocalPath(link) {
|
||||
if (link.indexOf('://') === -1) {
|
||||
return Script.resolvePath(link);
|
||||
}
|
||||
return link;
|
||||
}
|
||||
|
||||
//Creates an entity and returns a mixed object of the creation properties and the assigned entityID
|
||||
var createEntity = function(entityProperties, parent, overrideProperties) {
|
||||
// JSON.stringify -> JSON.parse trick to create a fresh copy of JSON data
|
||||
|
@ -78,6 +85,13 @@
|
|||
if (parent.id !== undefined) {
|
||||
newEntityProperties.parentID = parent.id;
|
||||
}
|
||||
// Fix up paths
|
||||
if (entityProperties.modelURL !== undefined) {
|
||||
newEntityProperties.modelURL = fixLocalPath(newEntityProperties.modelURL);
|
||||
}
|
||||
if (entityProperties.script !== undefined) {
|
||||
newEntityProperties.script = fixLocalPath(newEntityProperties.script);
|
||||
}
|
||||
newEntityProperties.id = Entities.addEntity(newEntityProperties);
|
||||
return newEntityProperties;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue