Last change
on this file since 12411 was
11783,
checked in by landauf, 7 years ago
|
merged Presentation_HS17_merge back to trunk
|
-
Property svn:eol-style set to
native
|
File size:
1.5 KB
|
Line | |
---|
1 | <LevelInfo |
---|
2 | name = "Flappy Orx" |
---|
3 | description = "A clone of the iconic Flappy Bird" |
---|
4 | tags = "minigame" |
---|
5 | screenshot = "FlappyOrx.png" |
---|
6 | /> |
---|
7 | |
---|
8 | <?lua |
---|
9 | include("templates/lodInformation.oxt") |
---|
10 | include("templates/spaceshipFlappyOrx.oxt") |
---|
11 | include("overlays/FlappyOrxHUD.oxo") |
---|
12 | |
---|
13 | ?> |
---|
14 | |
---|
15 | <Level |
---|
16 | plugins = flappyorx |
---|
17 | gametype = FlappyOrx |
---|
18 | > |
---|
19 | <templates> |
---|
20 | <Template link=lodtemplate_default /> |
---|
21 | </templates> |
---|
22 | |
---|
23 | <Scene |
---|
24 | ambientlight = "0.8, 0.7, 0.4" |
---|
25 | skybox = "Orxonox/skyBoxBasic" |
---|
26 | > |
---|
27 | <WorldAmbientSound |
---|
28 | source="Earth.ogg" |
---|
29 | looping="true" |
---|
30 | playOnLoad="true" |
---|
31 | /> |
---|
32 | |
---|
33 | <Light type=directional position="11000, 11000, -7000" lookat="0, 0, 0" diffuse="1, 1, 1, 1" specular="1.0, 0.9, 0.9, 1.0" /> |
---|
34 | <SpawnPoint team=0 position="0,0,0" lookat="0,0,0" spawnclass=FlappyOrxShip pawndesign=spaceshipFlappyOrx /> |
---|
35 | |
---|
36 | <?lua |
---|
37 | for i = 1, 5, 1 do |
---|
38 | for j = 3, 12,3 do |
---|
39 | ?> |
---|
40 | |
---|
41 | <Template name=Asteroid<?lua print(j) ?>_<?lua print(i) ?>> |
---|
42 | <MovableEntity |
---|
43 | collisionType = dynamic |
---|
44 | linearDamping = 0.8 |
---|
45 | angularDamping = 1 |
---|
46 | scale = "<?lua print(j) ?>" |
---|
47 | collisiondamage = 10000 |
---|
48 | enablecollisiondamage = true |
---|
49 | > |
---|
50 | |
---|
51 | <attached> |
---|
52 | <Model mass="1000" mesh="ast<?lua print(i) ?>.mesh" /> |
---|
53 | </attached> |
---|
54 | <collisionShapes> |
---|
55 | <SphereCollisionShape radius="<?lua print(j + 8) ?>" /> |
---|
56 | </collisionShapes> |
---|
57 | </MovableEntity> |
---|
58 | </Template> |
---|
59 | |
---|
60 | <?lua |
---|
61 | end |
---|
62 | end |
---|
63 | ?> |
---|
64 | </Scene> |
---|
65 | </Level> |
---|
Note: See
TracBrowser
for help on using the repository browser.