Skip to content

lispysnake/serpent-audio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serpent Audio Support

License

This package contains basic audio support for the Serpent Game Framework

Currently this is implemented using sdl-mixer - until such point as more work happens in this project to move to OpenAL.

The current scope is simply to help further the milestones and add audio support to serpent-demo-paddle.

THIS IS A HACK

Right now, we're only interesting in the MOST BASIC implementation to support the initial demos. As such, we'll use a simple OOPy wrapper around sdl-mixer.

Eventually we're planning something like a full openal integration with SoundComponent per entity, Listeners attached to cameras, etc. For now, let's go hacky.

The Working TODO List

  • Remove SoundProcessor completely, it's not friendly to our needs yet
  • Add basic SoundManager object
  • Add basic SoundEffect object (audio.Clip)
  • Add basic SoundMusic object (audio.Track)
  • Allow playing ONE Track, multiple Clips
  • Add crossfades
  • Add impact sounds & menu sound
  • Add volume settings to manager (0.0 to 1.0)

About

Audio Support for Serpent Framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published