-
Notifications
You must be signed in to change notification settings - Fork 0
/
scene.tsx
22 lines (21 loc) · 868 Bytes
/
scene.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { createElement, ScriptableScene } from "metaverse-api";
export default class Arcade extends ScriptableScene<any> {
async render() {
return (
<scene position={{ x: 5, y: 0, z: 5 }}>
<system src="../machine/scene.js" position={{ x: -1, y: 0, z: 0 }} />
<system src="../machine/scene.js" />
<system src="../machine/scene.js" position={{ x: 1, y: 0, z: 0 }} />
{/* <system
src="https://raw.githubusercontent.com/nachomazzara/arcade/master/machine/scene.js"
position={{ x: -1, y: 0, z: 0 }}
/>
<system src="https://raw.githubusercontent.com/nachomazzara/arcade/master/machine/scene.js" />
<system
src="https://raw.githubusercontent.com/nachomazzara/arcade/master/machine/scene.js"
position={{ x: 1, y: 0, z: 0 }}
/> */}
</scene>
);
}
}