Changeset 6388 for code/branches/presentation2/data/levels/old
- Timestamp:
- Dec 21, 2009, 1:28:10 PM (15 years ago)
- Location:
- code/branches/presentation2/data/levels/old
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/data/levels/old/physicstest.oxw
r5781 r6388 12 12 13 13 <?lua 14 for i = 1, 226, 1 14 for i = 1, 226, 1 15 15 do ?> 16 16 <Model position="<?lua print(math.random() * 40000 - 20000)?>, <?lua print(math.random() * 40000 - 20000) ?>, <?lua print(math.random() * 40000 - 20000) ?>" scale="<?lua print(math.random() * 250 + 20) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" rotationAxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationRate="<?lua print(math.random() * 30 + 15) ?>" /> 17 <?lua 17 <?lua 18 18 end 19 19 ?> -
code/branches/presentation2/data/levels/old/tutorial_hs08.oxw
r5781 r6388 19 19 <!-- Embedded lua code (creates random asteroids) --> 20 20 <?lua 21 for i = 1, 226, 1 21 for i = 1, 226, 1 22 22 do ?> 23 23 <Model position="<?lua print(math.random() * 40000 - 20000)?>, <?lua print(math.random() * 40000 - 20000) ?>, <?lua print(math.random() * 40000 - 20000) ?>" scale="<?lua print(math.random() * 250 + 20) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" rotationAxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationRate="<?lua print(math.random() * 30 + 15) ?>" /> 24 <?lua 24 <?lua 25 25 end 26 26 ?>
Note: See TracChangeset
for help on using the changeset viewer.