Comments (7)
@shradee are you connecting via the hosted client site (https://www.ogreforge.me/Dungeoneer/client) or simply by opening the html file? If you are not connecting to the hosted site it might be blocked by CORS (browser security thing), so you'd have to use a local web server to host the client.
I just tested the online client and the default sounds work. There's no support yet for custom sounds unfortunately.
from dungeoneer.
To see if CORS is blocking it open the dev console in the client, you should see a cors error there
from dungeoneer.
CORS hasn't blocked anything. Also, I am using ogreforge site
from dungeoneer.
I feel like my issue is related to this one.
If you join a room with already spawned sounds everything works just fine:
Object { path: "./client/sounds/blizzard.mp3", name: "blizzard" }
with a successful load.
But attempting to add a sound while somebody is connected will generate an object with a wrong path for that client
Object { name: "slime", path: "slime.wav" }
Which results in 404 GET https://www.ogreforge.me/Dungeoneer/slime.wav
UPD: I was wrong about the cause. The only sounds that work are blizzard
and beach ocean
, while slime
and etc create an object with an incorrect path (???)
UPD2: docs/client/soundManager.client.js#L180 well this does explain something
from dungeoneer.
@0x07C0 yes that is correct, seems that the soundlibrary isn't correctly defined, or half implemented in the client
from dungeoneer.
This should be resolved once the client site deploys in a few mins
from dungeoneer.
So it seems that there was a problem with the javascript sound library used, as sounds were not playing if they were added after client connected. But it should be fixed now. @shradee feel free to reopen if this is still a problem.
from dungeoneer.
Related Issues (20)
- Chat feature[Feature]
- [BUG] java script error in the main process HOT 3
- [Question] Giant Icons appearing on map HOT 1
- [BUG] can't change the radius of bright and dim light
- [BUG] Linux unable to load "./Util"
- [BUG] Broken thumbnails in default map library HOT 6
- [Feature] Add support for imported sounds HOT 3
- [Feature] Plugin/mod support
- [Feature] Generator settings UI fixes
- [Feature] Generator replacement holders insertion
- [BUG] Context isolation refactoring
- [BUG] HOT 1
- [BUG] HOT 2
- [BUG] Link to DnDBeyond does nothing HOT 3
- [Feature] Sounds from an external library
- [BUG] Hosting Playerside Map and UI Problem HOT 2
- Portable version[Feature] HOT 2
- [Feature] Allow usage of Gifs as tokens HOT 3
- [BUG] Blank Screen on the Map Editor HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dungeoneer.