Torque3D - Game Engine
Find a file
marauder2k7 852ed8f225
Sfx playlist asset working (#1109)
* GroundWork

-Reverted SFXPlaylist since it is going to be made from an asset now instead.
-Added extra options to soundAssets description.
-SFXPlaylist may need an onAdd function

* Update sfxController.cpp

* SFXPlaylist data

-Added sfxPlaylist init persist fields for the slots to sound asset
-Added logic to fil sfxPlaylist if more than 1 slot is filled

* Update SoundAsset.cpp

to stop git ci complaining, assetImporter........

* Update SoundAsset.h

* sfxPlaylist

-Fix: incomplete type error
-Added onAdd and onRemove to playlist
-SoundAsset getProfile define now returns playlist if the asset is a playlist.

* Update SoundAsset.h

-updated asset array to return playlist or profile depending on what the asset is

* SFXPlaylist working

-SFXPlaylist works
AudioChannelDefault gets its volume set to 0 for some reason and was throwing off making sfxPlaylist inaudible.

Still an exception when closing if using a playlist trips on line 355 of sfxSound

* Update sfxSound.h

* setSoundFile index null fix

* Update SoundAsset.h

* Update SoundAsset.h

* netstream safety in case of a null asset assignment

* Update sfxController.cpp

added safeties around a null playlist trying to play.

* Update with Az's asset err code changes

---------

Co-authored-by: AzaezelX <quillus@hotmail.com>
2023-10-21 17:19:02 -05:00
.github UnitTest 2023-07-27 21:02:27 +01:00
Engine Sfx playlist asset working (#1109) 2023-10-21 17:19:02 -05:00
My Projects changed readme 2014-03-19 02:20:35 +01:00
Templates Fixes the handling of the temp editable asset definition in the asset properties inspector so it'll save sub-objects as expected 2023-10-18 11:37:27 -05:00
Tools remove bad example template 2023-10-17 11:04:06 -05:00
.editorconfig Fix GitHub Workflow 2023-04-08 00:57:03 +02:00
.gitattributes Update gitattributes with some text files for avoid EOF problems with Git. 2014-12-06 01:18:41 +01:00
.gitignore BloomWIP 1 2022-08-19 18:26:55 -05:00
.travis.yml travis test whether compilation works on mac and linux 2019-01-10 12:39:27 +01:00
CMakeLists.txt typofix 2023-10-14 23:02:55 -05:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2022-04-16 16:00:34 -05:00
CONTRIBUTING.md forgot to remove section 2020-06-13 09:20:14 -04:00
LICENSE.md Update LICENSE.md 2016-12-21 08:28:01 -06:00
README.md Update README.md 2023-07-27 08:48:26 +01:00

Torque3D

MIT Licensed Open Source version of Torque3D from GarageGames

GitHub tag GitHub release Github All Releases

Discord IRC

Build Status:

Windows Build

Linux Build

MacOSX Build

More Information

Extras: Torque3D Resources | Awesome Torque3D

Pre-compiled Version

In addition to GitHub we also have a couple of pre-packaged files for you to download if you would prefer to not compile the code yourself. They are available from the Torque3D Binaries repo.

License

All assets and code are under the license