Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 19, 2009, 12:18:41 AM (14 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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/data/levels/presentationHS09b.oxw

    r6363 r6382  
    2525
    2626
    27 <AmbientSound ambientSource="Mars.ogg" loop="true" play="true" />
     27<AmbientSound ambientSource="Mars.ogg" looping="true" playOnLoad="true" />
    2828
    2929   <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" />
     
    258258
    259259
    260 <AmbientSound ambientSource="Earth.ogg" loop="true" play="false">
     260<AmbientSound ambientSource="Earth.ogg" looping="true" playOnLoad="false">
    261261       <events>
    262262          <activity>
Note: See TracChangeset for help on using the changeset viewer.