Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 19, 2009, 12:18:41 AM (15 years ago)
Author:
rgrieder
Message:

Several small changes in sound:

  • Fixed a bug that caused a sound source to be initialised on pause() even it already existed
  • The XML parameter is now called "looping" instead of "loop" because looping was used really all over the code
  • The "play" XML parameter doesn't exist anymore, use "playOnLoad" for AmbientSound only.
  • Added "pitch" XML parameter
  • Changes in synchronisation policy: Ambient sound should not synchronise the state but instead th new playOnLoad parameter
Location:
code/branches/presentation2/data/levels/templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/data/levels/templates/spaceship_HXY.oxt

    r6363 r6382  
    6969  >
    7070    <EffectContainer condition="idle">
    71       <WorldSound mainstate="activity" source="sounds/Engine_idle.ogg" loop=1 active=false/>
     71      <WorldSound mainstate="activity" source="sounds/Engine_idle.ogg" looping=1 active=false/>
    7272    </EffectContainer>
    7373    <EffectContainer condition="not idle">
  • code/branches/presentation2/data/levels/templates/spaceship_Transporter.oxt

    r6363 r6382  
    6969  >
    7070    <EffectContainer condition="idle">
    71       <WorldSound mainstate="activity" source="sounds/Engine_idle.ogg" loop=1 active=false/>
     71      <WorldSound mainstate="activity" source="sounds/Engine_idle.ogg" looping=1 active=false/>
    7272    </EffectContainer>
    7373    <EffectContainer condition="not idle">
Note: See TracChangeset for help on using the changeset viewer.