diff --git a/POAP-booth/models/FloorBaseGrass_01/FloorBaseGrass_01.glb b/POAP-booth/models/FloorBaseGrass_01/FloorBaseGrass_01.glb new file mode 100755 index 0000000..f466307 Binary files /dev/null and b/POAP-booth/models/FloorBaseGrass_01/FloorBaseGrass_01.glb differ diff --git a/POAP-booth/models/FloorBaseGrass_01/Floor_Grass01.png.png b/POAP-booth/models/FloorBaseGrass_01/Floor_Grass01.png.png new file mode 100755 index 0000000..f104c14 Binary files /dev/null and b/POAP-booth/models/FloorBaseGrass_01/Floor_Grass01.png.png differ diff --git a/POAP-booth/models/FloorBaseGrass_01/thumbnail.png b/POAP-booth/models/FloorBaseGrass_01/thumbnail.png new file mode 100755 index 0000000..44c21a4 Binary files /dev/null and b/POAP-booth/models/FloorBaseGrass_01/thumbnail.png differ diff --git a/POAP-booth/src/game.ts b/POAP-booth/src/game.ts index 7363b90..29e0507 100644 --- a/POAP-booth/src/game.ts +++ b/POAP-booth/src/game.ts @@ -4,6 +4,17 @@ import { GuestBook } from './guestbook' export let sceneMessageBus = new MessageBus() +// GUESTBOOK + +let guestBook = new GuestBook( + { + position: new Vector3(10, 0, 6), + }, + 'test' +) + +// POAP BOOTH + let POAPBooth = new Dispenser( { position: new Vector3(8, 0, 8), @@ -15,6 +26,8 @@ sceneMessageBus.on('activatePoap', () => { POAPBooth.activate() }) +// POAP BANNER + let POAPBanner = new Entity() POAPBanner.addComponent(new Transform()).position = new Vector3(6, 0, 8) POAPBanner.addComponent(new GLTFShape('models/poap/POAP_Banner.glb')) @@ -29,9 +42,17 @@ POAPBanner.addComponent( ) ) -let guestBook = new GuestBook( - { - position: new Vector3(10, 0, 6), - }, - 'test' +// FLOOR + +const entity = new Entity('entity') +engine.addEntity(entity) +entity.addComponentOrReplace( + new GLTFShape('models/FloorBaseGrass_01/FloorBaseGrass_01.glb') +) +entity.addComponentOrReplace( + new Transform({ + position: new Vector3(8, 0, 8), + rotation: new Quaternion(0, 0, 0, 1), + scale: new Vector3(1, 1, 1), + }) )