Johannes Wiese

Informatics & More

  • Blog
  • Photography

Tags

Asset Organistion Audio Cache Crossfade Dynamic Lighting Emulation Error ES6 Forward Lighting Game HTML5 JavaScript Light2D Phaser2 Phaser2 Prefab Phaser 3 Popup Scene Software Testing Webpack Windows
  • EnglishEnglish

Recent Posts

  • Phaser 3 – Realtime ligthing
  • Phaser 3 – Loading screen & asset organization
  • Phaser 3 – Game configuration
  • Phaser 3 – Download
  • Unity 3D – Testing Android builds with an emulator

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Tag: Audio

Unity 3D – Cross-fade two AudioClips with two AudioSources

22. June 2017 by J. Wiese·0 Comments

Cross-fading is a technique to stop one song and softly bend to another song. The following script is designed to cross-fade loop-able songs. The following script is designed to fade between two loop-able songs. Afterwards the song is played until it is replaced by another song. Just call the Play(AudioClip clip) function and the script organizes the rest.
Continue reading

  • Datenschutzerklärung
  • Impressum
By continuing to browse the site you are agreeing to our use of cookies.