Skip to content
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
20 changes: 20 additions & 0 deletions scenes/89,-12-audio-playback-position/.dclignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.*
bin/*.map
package-lock.json
yarn-lock.json
build.json
export
tsconfig.json
tslint.json
node_modules
*.ts
*.tsx
.vscode
Dockerfile
dist
README.md
*.blend
*.fbx
*.zip
*.rar
src
13 changes: 13 additions & 0 deletions scenes/89,-12-audio-playback-position/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package-lock.json
*.js
node_modules
bin/
.DS_Store
**/.DS_Store
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.editor
.idea
.vscode
dclcontext
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
24 changes: 24 additions & 0 deletions scenes/89,-12-audio-playback-position/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "audio-playback-position",
"version": "1.0.0",
"description": "Test scene for AudioEvent playback-position reports (tickNumber / currentOffset / clipLength) and audioEventsSystem.registerAudioPlaybackEntity / getAudioPlayback",
"scripts": {
"start": "sdk-commands start",
"deploy": "sdk-commands deploy",
"build": "sdk-commands build"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=6.0.0"
},
"prettier": {
"semi": false,
"singleQuote": true,
"printWidth": 120,
"trailingComma": "none"
},
"devDependencies": {
"@dcl/sdk": "https://sdk-team-cdn.decentraland.org/@dcl/js-sdk-toolchain/branch/feat/audio-event-playback-position/dcl-sdk-7.29.1-35640312842.commit-7ee164e.tgz",
"@dcl/js-runtime": "https://sdk-team-cdn.decentraland.org/@dcl/js-sdk-toolchain/branch/feat/audio-event-playback-position/@dcl/js-runtime/dcl-js-runtime-7.29.1-35640312842.commit-7ee164e.tgz"
}
}
42 changes: 42 additions & 0 deletions scenes/89,-12-audio-playback-position/scene.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"ecs7": true,
"runtimeVersion": "7",
"display": {
"title": "Audio Playback Position Reports Test",
"description": "Test scene for the AudioEvent playback-position reports (tickNumber, currentOffset, clipLength) written by the renderer while an AudioSource plays. Covers audioEventsSystem.registerAudioPlaybackEntity / removeAudioPlaybackEntity (push), getAudioPlayback (pull), the lag computation against a per-tick scene clock versus the naive processing-time clock, seek landing, loop wrap, and that registerAudioEventsEntity still fires only on media-state changes.",
"navmapThumbnail": "images/scene-thumbnail.png",
"favicon": "favicon_asset"
},
"owner": "",
"contact": {
"name": "Decentraland",
"email": "developer@decentraland.org"
},
"main": "bin/index.js",
"tags": ["audio", "test"],
"scene": {
"parcels": ["89,-12"],
"base": "89,-12"
},
"spawnPoints": [
{
"name": "spawn1",
"default": true,
"position": {
"x": [0, 3],
"y": [0, 0],
"z": [0, 3]
},
"cameraTarget": {
"x": 8,
"y": 1,
"z": 8
}
}
],
"requiredPermissions": [],
"featureToggles": {},
"worldConfiguration": {
"name": "sdk7testscenes.dcl.eth"
}
}
Loading
Loading