Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 27, 2017, 5:00:59 PM (6 years ago)
Author:
vyang
Message:

Asteroids2D erfolgreich als Minigame eingebunden, Dimensionen des Spielfeldes werden im CenterPoint gesetzt.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Asteroid_HS17/data/levels/MiniGameTest.oxw

    r11593 r11608  
    1515  include("templates/spaceshipMiniGameTest.oxt")
    1616  include("templates/enemyInvader.oxt")
    17   include("templates/DodgeRacePattern.oxt")
    18   include("overlays/DodgeRaceHUD.oxo")
     17  include("overlays/MiniGameTestHUD.oxo")
    1918?>
    2019
     
    3029  <Scene
    3130    ambientlight = "1.0, 1.0, 1.0"
    32     skybox       = "Orxonox/skyBoxClouds"
     31    skybox       = "Orxonox/Starbox"
    3332    negativeWorldRange = "-100000, -100000, -100000"
    3433    positiveWorldRange = " 100000,  100000,  100000"
     
    4342    <!-- <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"/> -->
    4443    <Light type=directional position="-100, 10000, -700" lookat="0.2, -1, 0" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" />
    45     <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass= MiniGameTestShip pawndesign=spaceshipdodgerace />
     44    <SpawnPoint team=0 position="0,0,0" lookat="0,0,0" spawnclass= MiniGameTestShip pawndesign=spaceshipminigametest />
     45
     46    <Model mesh="axes.mesh" scale=10 position="0,0,0" />
    4647
    4748    <DistanceTrigger name="start" position="-200,0,0" target="Pawn" distance=10 stayActive="true" delay=0 />
     
    5051    <MiniGameTestCenterPoint name=invadercenter />
    5152 
    52   <StaticEntity position="0,-50,0" direction="0,0,0"   scale="1" collisionType=static mass=1 friction=0.01 >
    53       <attached>
    54         <Model position="0,0,0" mesh="plane.mesh" scale3D="100000,0,100000" />
    55       </attached>
    5653
    57       <collisionShapes>
    58         <BoxCollisionShape position="0,0,0" halfExtents="1,1,1" />
    59       </collisionShapes>
    60 
    61   </StaticEntity>
    6254   
    6355 
Note: See TracChangeset for help on using the changeset viewer.