Skip to content

Commit

Permalink
ft: add wonder coins
Browse files Browse the repository at this point in the history
  • Loading branch information
agustincarriso committed Jan 16, 2025
1 parent 229f94c commit 2762e9a
Show file tree
Hide file tree
Showing 7 changed files with 876 additions and 13 deletions.
370 changes: 370 additions & 0 deletions assets/scene/main.composite
Original file line number Diff line number Diff line change
@@ -0,0 +1,370 @@
{
"version": 1,
"components": [
{
"name": "inspector::SceneMetadata",
"jsonSchema": {
"type": "object",
"properties": {
"name": {
"type": "string",
"serializationType": "optional",
"optionalJsonSchema": {
"type": "string",
"serializationType": "utf8-string"
}
},
"description": {
"type": "string",
"serializationType": "optional",
"optionalJsonSchema": {
"type": "string",
"serializationType": "utf8-string"
}
},
"thumbnail": {
"type": "string",
"serializationType": "optional",
"optionalJsonSchema": {
"type": "string",
"serializationType": "utf8-string"
}
},
"ageRating": {
"type": "string",
"serializationType": "optional",
"optionalJsonSchema": {
"type": "string",
"enum": [
"T",
"A"
],
"default": "T",
"serializationType": "enum-string",
"enumObject": {
"Teen": "T",
"Adult": "A"
}
}
},
"categories": {
"type": "array",
"serializationType": "optional",
"optionalJsonSchema": {
"type": "array",
"items": {
"type": "string",
"enum": [
"art",
"game",
"casino",
"social",
"music",
"fashion",
"crypto",
"education",
"shop",
"business",
"sports"
],
"default": "game",
"serializationType": "enum-string",
"enumObject": {
"ART": "art",
"GAME": "game",
"CASINO": "casino",
"SOCIAL": "social",
"MUSIC": "music",
"FASHION": "fashion",
"CRYPTO": "crypto",
"EDUCATION": "education",
"SHOP": "shop",
"BUSINESS": "business",
"SPORTS": "sports"
}
},
"serializationType": "array"
}
},
"author": {
"type": "string",
"serializationType": "optional",
"optionalJsonSchema": {
"type": "string",
"serializationType": "utf8-string"
}
},
"email": {
"type": "string",
"serializationType": "optional",
"optionalJsonSchema": {
"type": "string",
"serializationType": "utf8-string"
}
},
"tags": {
"type": "array",
"serializationType": "optional",
"optionalJsonSchema": {
"type": "array",
"items": {
"type": "string",
"serializationType": "utf8-string"
},
"serializationType": "array"
}
},
"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"
},
"silenceVoiceChat": {
"type": "boolean",
"serializationType": "optional",
"optionalJsonSchema": {
"type": "boolean",
"serializationType": "boolean"
}
},
"disablePortableExperiences": {
"type": "boolean",
"serializationType": "optional",
"optionalJsonSchema": {
"type": "boolean",
"serializationType": "boolean"
}
},
"spawnPoints": {
"type": "array",
"serializationType": "optional",
"optionalJsonSchema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"serializationType": "utf8-string"
},
"default": {
"type": "boolean",
"serializationType": "optional",
"optionalJsonSchema": {
"type": "boolean",
"serializationType": "boolean"
}
},
"position": {
"type": "object",
"properties": {
"x": {
"type": "object",
"properties": {
"single": {
"type": "integer",
"serializationType": "int32"
},
"range": {
"type": "array",
"items": {
"type": "integer",
"serializationType": "int32"
},
"serializationType": "array"
}
},
"serializationType": "one-of"
},
"y": {
"type": "object",
"properties": {
"single": {
"type": "integer",
"serializationType": "int32"
},
"range": {
"type": "array",
"items": {
"type": "integer",
"serializationType": "int32"
},
"serializationType": "array"
}
},
"serializationType": "one-of"
},
"z": {
"type": "object",
"properties": {
"single": {
"type": "integer",
"serializationType": "int32"
},
"range": {
"type": "array",
"items": {
"type": "integer",
"serializationType": "int32"
},
"serializationType": "array"
}
},
"serializationType": "one-of"
}
},
"serializationType": "map"
},
"cameraTarget": {
"type": "object",
"serializationType": "optional",
"optionalJsonSchema": {
"type": "object",
"properties": {
"x": {
"type": "integer",
"serializationType": "int32"
},
"y": {
"type": "integer",
"serializationType": "int32"
},
"z": {
"type": "integer",
"serializationType": "int32"
}
},
"serializationType": "map"
}
}
},
"serializationType": "map"
},
"serializationType": "array"
}
}
},
"serializationType": "map"
},
"data": {
"0": {
"json": {
"name": "Test Scene",
"description": "This is a test scene",
"thumbnail": "assets/scene/thumbnail.png",
"ageRating": "T",
"categories": [],
"author": "",
"email": "",
"tags": [],
"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": [],
"open": true
},
{
"entity": 1,
"children": []
},
{
"entity": 2,
"children": []
}
]
}
}
}
}
]
}
Loading

0 comments on commit 2762e9a

Please sign in to comment.