Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

7.4 KB
Raw Blame
{
 "version": 4,
 "name": "GiRoomVoxel",
 "entities": [
  {
   "id": 0,
   "name": "Camera",
   "parent": null,
   "children": [],
   "visible": true,
   "components": [
    {
     "type": "Transform",
     "data": {
      "position": {
       "x": 0.0,
       "y": 160.0,
       "z": -235.0
      },
      "rotation": {
       "w": -0.0,
       "x": 0.0,
       "y": 0.9986811118055354,
       "z": 0.05134235018831678
      }
     }
    },
    {
     "type": "Camera",
     "data": {
      "projectionType": 0,
      "fov": 62.0,
      "nearPlane": 5.0,
      "farPlane": 5000.0,
      "isActive": true,
      "priority": 0,
      "clearFlags": 3
     }
    },
    {
     "type": "PostProcessVolume",
     "data": {
      "isGlobal": true,
      "weight": 1,
      "priority": 0,
      "effects": [
       {
        "type": "voxelGI",
        "enabled": true,
        "uniforms": {}
       }
      ]
     }
    }
   ]
  },
  {
   "id": 10,
   "name": "floor",
   "parent": null,
   "children": [],
   "visible": true,
   "components": [
    {
     "type": "Transform",
     "data": {
      "position": {
       "x": 0,
       "y": -5.0,
       "z": 0
      },
      "scale": {
       "x": 4.2,
       "y": 0.1,
       "z": 5.2
      }
     }
    },
    {
     "type": "MeshRenderer",
     "data": {
      "mesh": "builtin:cube",
      "lit": true,
      "opaque": true,
      "cullBackfaces": true,
      "color": {
       "r": 0.85,
       "g": 0.85,
       "b": 0.85,
       "a": 1
      }
     }
    }
   ]
  },
  {
   "id": 11,
   "name": "left",
   "parent": null,
   "children": [],
   "visible": true,
   "components": [
    {
     "type": "Transform",
     "data": {
      "position": {
       "x": 205.0,
       "y": 150.0,
       "z": 0
      },
      "scale": {
       "x": 0.1,
       "y": 3.0,
       "z": 5.0
      }
     }
    },
    {
     "type": "MeshRenderer",
     "data": {
      "mesh": "builtin:cube",
      "lit": true,
      "opaque": true,
      "cullBackfaces": true,
      "color": {
       "r": 0.8,
       "g": 0.18,
       "b": 0.15,
       "a": 1
      }
     }
    }
   ]
  },
  {
   "id": 12,
   "name": "right",
   "parent": null,
   "children": [],
   "visible": true,
   "components": [
    {
     "type": "Transform",
     "data": {
      "position": {
       "x": -205.0,
       "y": 150.0,
       "z": 0
      },
      "scale": {
       "x": 0.1,
       "y": 3.0,
       "z": 5.0
      }
     }
    },
    {
     "type": "MeshRenderer",
     "data": {
      "mesh": "builtin:cube",
      "lit": true,
      "opaque": true,
      "cullBackfaces": true,
      "color": {
       "r": 0.18,
       "g": 0.7,
       "b": 0.22,
       "a": 1
      }
     }
    }
   ]
  },
  {
   "id": 13,
   "name": "back",
   "parent": null,
   "children": [],
   "visible": true,
   "components": [
    {
     "type": "Transform",
     "data": {
      "position": {
       "x": 0,
       "y": 150.0,
       "z": 255.0
      },
      "scale": {
       "x": 4.2,
       "y": 3.0,
       "z": 0.1
      }
     }
    },
    {
     "type": "MeshRenderer",
     "data": {
      "mesh": "builtin:cube",
      "lit": true,
      "opaque": true,
      "cullBackfaces": true,
      "color": {
       "r": 0.85,
       "g": 0.85,
       "b": 0.85,
       "a": 1
      }
     }
    }
   ]
  },
  {
   "id": 14,
   "name": "front",
   "parent": null,
   "children": [],
   "visible": true,
   "components": [
    {
     "type": "Transform",
     "data": {
      "position": {
       "x": 0,
       "y": 150.0,
       "z": -255.0
      },
      "scale": {
       "x": 4.2,
       "y": 3.0,
       "z": 0.1
      }
     }
    },
    {
     "type": "MeshRenderer",
     "data": {
      "mesh": "builtin:cube",
      "lit": true,
      "opaque": true,
      "cullBackfaces": true,
      "color": {
       "r": 0.85,
       "g": 0.85,
       "b": 0.85,
       "a": 1
      }
     }
    }
   ]
  },
  {
   "id": 15,
   "name": "ceil_n",
   "parent": null,
   "children": [],
   "visible": true,
   "components": [
    {
     "type": "Transform",
     "data": {
      "position": {
       "x": 0,
       "y": 305.0,
       "z": -130.0
      },
      "scale": {
       "x": 4.2,
       "y": 0.1,
       "z": 2.6
      }
     }
    },
    {
     "type": "MeshRenderer",
     "data": {
      "mesh": "builtin:cube",
      "lit": true,
      "opaque": true,
      "cullBackfaces": true,
      "color": {
       "r": 0.85,
       "g": 0.85,
       "b": 0.85,
       "a": 1
      }
     }
    }
   ]
  },
  {
   "id": 16,
   "name": "ceil_s",
   "parent": null,
   "children": [],
   "visible": true,
   "components": [
    {
     "type": "Transform",
     "data": {
      "position": {
       "x": 0,
       "y": 305.0,
       "z": 190.0
      },
      "scale": {
       "x": 4.2,
       "y": 0.1,
       "z": 1.4
      }
     }
    },
    {
     "type": "MeshRenderer",
     "data": {
      "mesh": "builtin:cube",
      "lit": true,
      "opaque": true,
      "cullBackfaces": true,
      "color": {
       "r": 0.85,
       "g": 0.85,
       "b": 0.85,
       "a": 1
      }
     }
    }
   ]
  },
  {
   "id": 17,
   "name": "ceil_l",
   "parent": null,
   "children": [],
   "visible": true,
   "components": [
    {
     "type": "Transform",
     "data": {
      "position": {
       "x": 135.0,
       "y": 305.0,
       "z": 60.0
      },
      "scale": {
       "x": 1.5,
       "y": 0.1,
       "z": 1.2
      }
     }
    },
    {
     "type": "MeshRenderer",
     "data": {
      "mesh": "builtin:cube",
      "lit": true,
      "opaque": true,
      "cullBackfaces": true,
      "color": {
       "r": 0.85,
       "g": 0.85,
       "b": 0.85,
       "a": 1
      }
     }
    }
   ]
  },
  {
   "id": 18,
   "name": "ceil_r",
   "parent": null,
   "children": [],
   "visible": true,
   "components": [
    {
     "type": "Transform",
     "data": {
      "position": {
       "x": -135.0,
       "y": 305.0,
       "z": 60.0
      },
      "scale": {
       "x": 1.5,
       "y": 0.1,
       "z": 1.2
      }
     }
    },
    {
     "type": "MeshRenderer",
     "data": {
      "mesh": "builtin:cube",
      "lit": true,
      "opaque": true,
      "cullBackfaces": true,
      "color": {
       "r": 0.85,
       "g": 0.85,
       "b": 0.85,
       "a": 1
      }
     }
    }
   ]
  },
  {
   "id": 19,
   "name": "block",
   "parent": null,
   "children": [],
   "visible": true,
   "components": [
    {
     "type": "Transform",
     "data": {
      "position": {
       "x": -90,
       "y": 50,
       "z": 80
      },
      "scale": {
       "x": 1.0,
       "y": 1.0,
       "z": 1.0
      }
     }
    },
    {
     "type": "MeshRenderer",
     "data": {
      "mesh": "builtin:cube",
      "lit": true,
      "opaque": true,
      "cullBackfaces": true,
      "color": {
       "r": 0.85,
       "g": 0.85,
       "b": 0.85,
       "a": 1
      }
     }
    }
   ]
  },
  {
   "id": 5,
   "name": "Sun",
   "parent": null,
   "children": [],
   "visible": true,
   "components": [
    {
     "type": "Transform",
     "data": {
      "rotation": {
       "w": 0.5692033680809173,
       "x": -0.814457456297922,
       "y": -0.1125458912891015,
       "z": -0.0
      }
     }
    },
    {
     "type": "Light",
     "data": {
      "type": 1,
      "color": {
       "r": 1,
       "g": 1,
       "b": 1,
       "a": 1
      },
      "intensity": 1.0,
      "enabled": true,
      "meshShadows": true,
      "shadowExtent": 0.0,
      "shadowStrength": 1.0,
      "sourceAngle": 0.0
     }
    }
   ]
  }
 ]
}