Rev | Line | |
---|
[11481] | 1 | <LevelInfo |
---|
| 2 | name = "Flappy Orx" |
---|
[11596] | 3 | description = "A clone of the iconic Flappy Bird" |
---|
[11481] | 4 | tags = "minigame" |
---|
| 5 | screenshot = "orxonoxArcade.png" |
---|
| 6 | /> |
---|
[11600] | 7 | <FlappyOrx |
---|
| 8 | spawnDistance=50 |
---|
| 9 | Speed = 700 /> |
---|
[11481] | 10 | <?lua |
---|
[11600] | 11 | include("includes/notifications.oxi") |
---|
[11503] | 12 | include("templates/lodInformation.oxt") |
---|
| 13 | include("templates/spaceshipFlappyOrx.oxt") |
---|
| 14 | include("overlays/FlappyOrxHUD.oxo") |
---|
[11596] | 15 | |
---|
[11503] | 16 | ?> |
---|
| 17 | |
---|
[11481] | 18 | <Level |
---|
[11503] | 19 | plugins = flappyorx |
---|
| 20 | gametype = FlappyOrx |
---|
[11481] | 21 | > |
---|
[11503] | 22 | <templates> |
---|
| 23 | <Template link=lodtemplate_default /> |
---|
| 24 | </templates> |
---|
[11481] | 25 | |
---|
[11503] | 26 | <Scene |
---|
| 27 | ambientlight = "0.8, 0.7, 0.4" |
---|
[11572] | 28 | skybox = "Orxonox/skyBoxBasic" |
---|
[11503] | 29 | > |
---|
| 30 | <WorldAmbientSound |
---|
| 31 | source="Earth.ogg" |
---|
| 32 | looping="true" |
---|
| 33 | playOnLoad="true" |
---|
| 34 | /> |
---|
[11481] | 35 | |
---|
[11596] | 36 | <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" /> |
---|
[11509] | 37 | <SpawnPoint team=0 position="0,0,0" lookat="0,0,0" spawnclass=FlappyOrxShip pawndesign=spaceshipFlappyOrx /> |
---|
[11503] | 38 | |
---|
| 39 | |
---|
| 40 | <FlappyOrxCenterPoint name=flappyorxcenter /> |
---|
| 41 | |
---|
[11600] | 42 | |
---|
| 43 | |
---|
[11529] | 44 | <?lua |
---|
[11580] | 45 | for i = 1, 5, 1 do |
---|
[11529] | 46 | for j = 3, 12,3 do |
---|
| 47 | ?> |
---|
| 48 | |
---|
[11596] | 49 | <Template name=Asteroid<?lua print(j) ?>_<?lua print(i) ?>> |
---|
| 50 | <MovableEntity |
---|
| 51 | collisionType = dynamic |
---|
| 52 | linearDamping = 0.8 |
---|
| 53 | angularDamping = 0 |
---|
| 54 | scale = "<?lua print(j) ?>" |
---|
| 55 | collisiondamage = 10000 |
---|
| 56 | enablecollisiondamage = true |
---|
| 57 | > |
---|
| 58 | |
---|
| 59 | <attached> |
---|
| 60 | <Model mass="1000" mesh="ast<?lua print(i) ?>.mesh" /> |
---|
| 61 | </attached> |
---|
| 62 | <collisionShapes> |
---|
| 63 | <SphereCollisionShape radius="<?lua print(j + 5) ?>" /> |
---|
| 64 | </collisionShapes> |
---|
| 65 | </MovableEntity> |
---|
| 66 | </Template> |
---|
[11529] | 67 | |
---|
| 68 | <?lua |
---|
| 69 | end |
---|
| 70 | end |
---|
| 71 | ?> |
---|
[11503] | 72 | </Scene> |
---|
[11529] | 73 | </Level> |
---|
Note: See
TracBrowser
for help on using the repository browser.