Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8116


Ignore:
Timestamp:
Mar 26, 2011, 3:16:55 PM (14 years ago)
Author:
youngk
Message:

Modified planet level.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/mac_osx/data/levels/planets.oxw

    r8114 r8116  
    3939do
    4040    x = math.sin(i/max*6)*(1.5)*planetsize
    41     y = math.cos(i/max*6)*(1.5)*planetsize
    42     z = i*100
     41    y = i*100
     42    z = math.cos(i/max*6)*(1.5)*planetsize
    4343    ?>
    4444<?lua
     
    6060?>
    6161<?lua end ?>
    62     <Planet position="0,0,0" scale="<?lua print(planetsize) ?>" pitch=-90 mesh="jupiter.mesh" atmosphere="atmosphere1" rotationaxis="0,0,1" rotationrate="0.2" atmospheresize=300.0f imagesize=1024.0f />
    63     <Planet position="<?lua print(5*planetsize) ?>,0,0" scale=7000 pitch=30 mesh="iceplanet.mesh" atmosphere="atmosphere1" rotationaxis="1,0,1" rotationrate="1.5" atmospheresize=224.0f imagesize=1024.0f />
     62    <Planet position="0,0,0" scale="<?lua print(planetsize) ?>" pitch=-90 mesh="jupiter.mesh" atmosphere="atmosphere1" rotationaxis="0,1,0" rotationrate="0.2" atmospheresize=300.0f imagesize=1024.0f />
     63    <Planet position="<?lua print(5*planetsize) ?>,0,0" scale=10000 pitch=30 mesh="ganymede.mesh" atmosphere="atmosphere1" rotationaxis="1,0,1" rotationrate="1.5" atmospheresize=224.0f imagesize=1024.0f />
    6464  </Scene>
    6565</Level>
Note: See TracChangeset for help on using the changeset viewer.