Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 9, 2017, 1:29:44 PM (7 years ago)
Author:
vyang
Message:

Asteroids2DShip ist 3s immun, nachdem es von einem Asteroiden getroffen wurde. Das Raumschiff hat nun eine Waffe → Richtung der Projektile muss noch angepasst werden

Location:
code/branches/Asteroid_HS17/data
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Asteroid_HS17/data/levels/templates/spaceshipAsteroids2D.oxt

    r11637 r11645  
    4343  >
    4444    <engines>
    45       <MultiStateEngine position=" 7.6, 0, 6" template=spaceshipinvaderengine />
    46       <MultiStateEngine position="-7.6, 0, 0" template=spaceshipinvaderengine />
     45      <MultiStateEngine position=" 7.6, 0, 6" template=spaceshipasteroids2dengine />
     46      <MultiStateEngine position="-7.6, 0, 0" template=spaceshipasteroids2dengine />
    4747    </engines>
    4848    <attached>
     
    7272    </explosion>
    7373<?lua
    74   include("../includes/invaderWeapon.oxi")
     74  include("../includes/asteroids2DWeapon.oxi")
    7575?>
    7676  </Asteroids2DShip>
     
    9393</Template>
    9494
    95 <Template name=spaceshipinvaderengine baseclass=MultiStateEngine>
     95<Template name=spaceshipasteroids2dengine baseclass=MultiStateEngine>
    9696  <MultiStateEngine
    9797   boostfactor    = 2.2
     
    111111   accelerationupdown    =  500
    112112  >
     113
     114  <!-- backlight error if you fly over the edge
    113115    <EffectContainer condition="idle">
    114116      <WorldSound mainstate="activity" source="sounds/Engine_idle.ogg" looping=1 active=false/>
     
    130132    </EffectContainer>
    131133
     134  -->
     135
    132136  </MultiStateEngine>
    133137</Template>
  • code/branches/Asteroid_HS17/data/overlays/Asteroids2DHUD.oxo

    r11608 r11645  
    66<Template name="Asteroids2DHUD">
    77  <OverlayGroup name="Asteroids2DHUD" scale = "1, 1">
     8
     9    <OverlayText
     10     position  = "0.02, 0.1"
     11     pickpoint = "0.0, 0.0"
     12     font      = "ShareTechMono"
     13     textsize  = 0.04
     14     colour    = "1.0, 1.0, 1.0, 1.0"
     15     align     = "left"
     16     caption   = "Lives:   "
     17    />
     18
     19    <Asteroids2DHUDinfo
     20     position  = "0.14, 0.1"
     21     pickpoint = "0.0, 0.0"
     22     font      = "ShareTechMono"
     23     textsize  = 0.04
     24     colour    = "1.0, 1.0, 1.0, 1.0"
     25     align     = "left"
     26
     27     showlives     = true
     28     showlevel     = false
     29     showpoints     = false
     30    />
    831
    932    <OverlayText
     
    2851    />
    2952
     53    <OverlayText
     54     position  = "0.02, 0.055"
     55     pickpoint = "0.0, 0.0"
     56     font      = "ShareTechMono"
     57     textsize  = 0.04
     58     colour    = "1.0, 1.0, 1.0, 1.0"
     59     align     = "left"
     60     caption   = "Level: "
     61    />
     62
     63    <Asteroids2DHUDinfo
     64     position  = "0.14, 0.055"
     65     pickpoint = "0.0, 0.0"
     66     font      = "ShareTechMono"
     67     textsize  = 0.04
     68     colour    = "1.0, 1.0, 1.0, 1.0"
     69     align     = "left"
     70
     71     showlives     = false
     72     showlevel     = true
     73     showpoints     = false
     74    />
     75
    3076   
    3177  </OverlayGroup>
Note: See TracChangeset for help on using the changeset viewer.