- Timestamp:
- Dec 21, 2009, 1:28:10 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/data/levels/presentation09b.oxw
r6387 r6388 121 121 122 122 <?lua 123 for i = 1, 10, 1 123 for i = 1, 10, 1 124 124 do 125 125 ?> … … 136 136 </controller> 137 137 </SpaceShip> 138 <?lua 139 end 140 ?> 141 142 <?lua 143 for i = 1, 12, 1 138 <?lua 139 end 140 ?> 141 142 <?lua 143 for i = 1, 12, 1 144 144 do 145 145 ?> … … 156 156 </controller> 157 157 </SpaceShip> 158 <?lua 158 <?lua 159 159 end 160 160 ?> … … 173 173 174 174 <?lua 175 for i = 1, 12, 1 175 for i = 1, 12, 1 176 176 do 177 177 ?> … … 190 190 </controller> 191 191 </SpaceShip> 192 <?lua 192 <?lua 193 193 end 194 194 ?> … … 320 320 321 321 <?lua 322 for i = 1, 10, 1 322 for i = 1, 10, 1 323 323 do 324 324 ?> … … 335 335 </controller> 336 336 </SpaceShip> 337 <?lua 338 end 339 ?> 340 341 <?lua 342 for i = 1, 200, 1 337 <?lua 338 end 339 ?> 340 341 <?lua 342 for i = 1, 200, 1 343 343 do 344 344 x = math.random() * 100 + (i-70) * 100 … … 348 348 ?> 349 349 350 <MovableEntity position="<?lua print(x) ?>,<?lua print(y) ?>,<?lua print(z) ?>" linearDamping=0.8 angularDamping=0.8 rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 - 15) ?>"> 350 <MovableEntity position="<?lua print(x) ?>,<?lua print(y) ?>,<?lua print(z) ?>" linearDamping=0.8 angularDamping=0.8 rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 - 15) ?>"> 351 351 <attached> 352 352 <Model position="0,0,0" scale=<?lua print(s) ?> mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> 353 353 </attached> 354 354 </MovableEntity> 355 <?lua 355 <?lua 356 356 end 357 357 ?> … … 363 363 return table.getn(elements) 364 364 end 365 for i = 1, 150, 1 365 for i = 1, 150, 1 366 366 do 367 367 x = math.random() * 750 - 4500 … … 371 371 ?> 372 372 373 <MovableEntity position="<?lua print(x) ?>,<?lua print(y) ?>,<?lua print(z) ?>" linearDamping=0.8 angularDamping=0.8 rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 - 15) ?>"> 373 <MovableEntity position="<?lua print(x) ?>,<?lua print(y) ?>,<?lua print(z) ?>" linearDamping=0.8 angularDamping=0.8 rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 - 15) ?>"> 374 374 <attached> 375 375 <Model position="0,0,0" scale="<?lua print(sizes[e]) ?>" mesh="<?lua print( elements[e]) ?>" /> 376 376 </attached> 377 377 </MovableEntity> 378 <?lua 378 <?lua 379 379 end 380 380 ?>
Note: See TracChangeset
for help on using the changeset viewer.