Skip to content
This repository has been archived by the owner on Jul 27, 2021. It is now read-only.

chore: adding jumping test scene by @MadRex #645

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions public/test-scenes/0.10.jumping/game.ts
Original file line number Diff line number Diff line change
@@ -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)
3 changes: 3 additions & 0 deletions public/test-scenes/0.10.jumping/models/jumps.glb
Git LFS file not shown
30 changes: 30 additions & 0 deletions public/test-scenes/0.10.jumping/scene.json
Original file line number Diff line number Diff line change
@@ -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": []
}