From a624e80339655b076f59f134770b48430bd5605a Mon Sep 17 00:00:00 2001 From: moliva Date: Mon, 11 Nov 2019 12:35:58 -0300 Subject: [PATCH] chore: adding jumping test scene by @MadRex --- public/test-scenes/0.10.jumping/game.ts | 12 ++++++++ .../test-scenes/0.10.jumping/models/jumps.glb | 3 ++ public/test-scenes/0.10.jumping/scene.json | 30 +++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 public/test-scenes/0.10.jumping/game.ts create mode 100644 public/test-scenes/0.10.jumping/models/jumps.glb create mode 100644 public/test-scenes/0.10.jumping/scene.json diff --git a/public/test-scenes/0.10.jumping/game.ts b/public/test-scenes/0.10.jumping/game.ts new file mode 100644 index 000000000..08b6ff78d --- /dev/null +++ b/public/test-scenes/0.10.jumping/game.ts @@ -0,0 +1,12 @@ +import { Entity, engine, Vector3, Transform, GLTFShape } from 'decentraland-ecs/src' + +let jump = new Entity() + +jump.addComponent(new GLTFShape('models/jumps.glb')) +jump.addComponent( + new Transform({ + position: new Vector3(8, 0, 8) + }) +) + +engine.addEntity(jump) diff --git a/public/test-scenes/0.10.jumping/models/jumps.glb b/public/test-scenes/0.10.jumping/models/jumps.glb new file mode 100644 index 000000000..398329ecf --- /dev/null +++ b/public/test-scenes/0.10.jumping/models/jumps.glb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fdb359af272564625e00436381eedd8105c3976664c5b88e36c12489c23cc59c +size 245268 diff --git a/public/test-scenes/0.10.jumping/scene.json b/public/test-scenes/0.10.jumping/scene.json new file mode 100644 index 000000000..b41f1dafc --- /dev/null +++ b/public/test-scenes/0.10.jumping/scene.json @@ -0,0 +1,30 @@ +{ + "display": { + "title": "interactive-text", + "favicon": "favicon_asset" + }, + "contact": { + "name": "author-name", + "email": "" + }, + "owner": "", + "scene": { + "parcels": [ + "0,10" + ], + "base": "0,10" + }, + "communications": { + "type": "webrtc", + "signalling": "https://signalling-01.decentraland.org" + }, + "policy": { + "contentRating": "E", + "fly": true, + "voiceEnabled": true, + "blacklist": [], + "teleportPosition": "" + }, + "main": "game.js", + "tags": [] +} \ No newline at end of file