Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 30, 2012, 2:39:35 PM (12 years ago)
Author:
jo
Message:

Fixing pong's error message. Firstly the WorldSound's path wasn't correctly set. Secondly the file that should be played doesn't fit in to the context when it is called. A score sound would be nice here.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2012merge/data/levels/pong.oxw

    r9343 r9344  
    5757  <?lua include("includes/notifications.oxi") ?>
    5858
    59   <!--WorldAmbientSound source="Ganymede.ogg" playOnLoad=true looping=true /-->
    6059  <WorldAmbientSound source="Ganymede.ogg" looping="true" playOnLoad="true"/>
    6160  <PongBot />
     
    9291            <ParticleSpawner name=scoreeffect_left position="-120,0,-45" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
    9392
    94             <WorldSound name="scoreSound" position="0,0,0" source="Earth.ogg" >
     93<!-- TODO: Create a Pong Score Sound and include it here.
     94This WorldSound works, but doesn't make sense, since it is played together with ambient/moodDependedDirectory/Ganymede.ogg -->
     95            <!--WorldSound name="scoreSound" position="0,0,0" source="ambient/default/Earth.ogg" >
    9596              <events>
    9697                <play>
     
    9899                </play>
    99100              </events>
    100             </WorldSound>
     101            </WorldSound-->
    101102
    102103            <?lua
Note: See TracChangeset for help on using the changeset viewer.