- Timestamp:
- Dec 21, 2009, 1:28:10 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.