PR #1466 allowed "all" to be an option for the count parameter of FLIP, MOVE, MOVEXY, and ROTATE. And PR #2377 allowed "loop" for AUDIO. Neither of those PRs updated the JSON editor. This fixes that.
* Fix inherit id change for decks in dropTarget
Fixes#2429. I made a special case for this situation since we are treating "deck" like an "id" in a dropTarget.
* fixed that it would turn dropTarget into an array even if it was no array before
---------
Co-authored-by: Arnold Smith <arnold.smith.86@mail.ru>
The sidebar menu assets download/upload section is confusing. It was adjusted in #2164, but there is still confusion. Hopefully the text changes will fix that.
* Update main.js AudioContext
* Update widget.js
* export variables
* audioObj, -type, fix playerArray
* Cleaning up js
no functional changes
* Cleaning up addAudio
Making addAudio more condensed
* activeGameButton, routine in cardDefaults, get rid of null
block "activeGameButton" from trying to active AudioContext because that is an automated click and causes an error.
Adding the ability to find audio routines in cardDefaults.
Getting rid null because undefined is correct
* fix finding audio in cardDefaults routines
* load source not already set
This provides support for sources that are not already set when the page is open. This would only be important if the url for the source is stored in a property, or when creating a game so you can test your sound without refreshing the browser.
* Create audio.js
* Update widget.js to migrate code to audio.js
* main to audio.js & get rid of preloading
* add audio.js to minify.mjs
* fix minify.mjs mistake
* Update widget.js
* mapAssetURLs
* Update audio.js
* Update statemanaged.js
* Update widget.js
* Update player.mjs
* Update room.mjs
* Move/update volume controls
* Getting rid of vol controls in main
* remove variables from main.js
* Update broadcast in room.mjs
* mapAssetURLs only once
* Removed audio 'type' from JSON editor
* Get rid of import, comments, and spaces
* Simplifying if statement
* Update room.mjs
* Update room.mjs
* order is alphabetical - for the most part
* do not use broadcast for audio
* removed unused sources variable
* use dollar shortcut and added missing await for exception handling
* Get rid of JSON.stringify
* Getting rid of unneeded JSON.parse
* args.players is always an array (sometimes empty)
* Update audio tutorial
* Change song demo to .wav file
---------
Co-authored-by: Arnold Smith <arnold.smith.86@mail.ru>
Co-authored-by: 96LawDawg <76912527+96LawDawg@users.noreply.github.com>