Home » Archimedes archive » Acorn User » AU 1994-02.adf » !FEMS_App_FEMS_App » sims/RollBall2

sims/RollBall2

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Acorn User » AU 1994-02.adf » !FEMS_App_FEMS_App
Filename: sims/RollBall2
Read OK:
File size: 01D3 bytes
Load address: 0000
Exec address: 0000
File contents
FEMS2  
/* Ball rolled along the floor, with backspin */

rendering {
 type dots
 resolution 320,256
 view 0,24          /* x-y rotation, elevation */
}
frame_aim 280
gravity 0,0,-600
time_div 1

solid {
 create {
  type solid_sphere
  points 12,99
  size 3.3in
 }
 nearbonds { spring_const 40: range 2.25 }
 solid_damp 4
 velocity 6ips,0,0
 spin 0,300,0
 translate -8in,0,0
}


background {
 create {
  type sheet
  points 12
  size 24in
 }
 translate 0,0,-3.3in
}

00000000  46 45 4d 53 32 20 20 0a  2f 2a 20 42 61 6c 6c 20  |FEMS2  ./* Ball |
00000010  72 6f 6c 6c 65 64 20 61  6c 6f 6e 67 20 74 68 65  |rolled along the|
00000020  20 66 6c 6f 6f 72 2c 20  77 69 74 68 20 62 61 63  | floor, with bac|
00000030  6b 73 70 69 6e 20 2a 2f  0a 0a 72 65 6e 64 65 72  |kspin */..render|
00000040  69 6e 67 20 7b 0a 20 74  79 70 65 20 64 6f 74 73  |ing {. type dots|
00000050  0a 20 72 65 73 6f 6c 75  74 69 6f 6e 20 33 32 30  |. resolution 320|
00000060  2c 32 35 36 0a 20 76 69  65 77 20 30 2c 32 34 20  |,256. view 0,24 |
00000070  20 20 20 20 20 20 20 20  20 2f 2a 20 78 2d 79 20  |         /* x-y |
00000080  72 6f 74 61 74 69 6f 6e  2c 20 65 6c 65 76 61 74  |rotation, elevat|
00000090  69 6f 6e 20 2a 2f 0a 7d  0a 66 72 61 6d 65 5f 61  |ion */.}.frame_a|
000000a0  69 6d 20 32 38 30 0a 67  72 61 76 69 74 79 20 30  |im 280.gravity 0|
000000b0  2c 30 2c 2d 36 30 30 0a  74 69 6d 65 5f 64 69 76  |,0,-600.time_div|
000000c0  20 31 0a 0a 73 6f 6c 69  64 20 7b 0a 20 63 72 65  | 1..solid {. cre|
000000d0  61 74 65 20 7b 0a 20 20  74 79 70 65 20 73 6f 6c  |ate {.  type sol|
000000e0  69 64 5f 73 70 68 65 72  65 0a 20 20 70 6f 69 6e  |id_sphere.  poin|
000000f0  74 73 20 31 32 2c 39 39  0a 20 20 73 69 7a 65 20  |ts 12,99.  size |
00000100  33 2e 33 69 6e 0a 20 7d  0a 20 6e 65 61 72 62 6f  |3.3in. }. nearbo|
00000110  6e 64 73 20 7b 20 73 70  72 69 6e 67 5f 63 6f 6e  |nds { spring_con|
00000120  73 74 20 34 30 3a 20 72  61 6e 67 65 20 32 2e 32  |st 40: range 2.2|
00000130  35 20 7d 0a 20 73 6f 6c  69 64 5f 64 61 6d 70 20  |5 }. solid_damp |
00000140  34 0a 20 76 65 6c 6f 63  69 74 79 20 36 69 70 73  |4. velocity 6ips|
00000150  2c 30 2c 30 0a 20 73 70  69 6e 20 30 2c 33 30 30  |,0,0. spin 0,300|
00000160  2c 30 0a 20 74 72 61 6e  73 6c 61 74 65 20 2d 38  |,0. translate -8|
00000170  69 6e 2c 30 2c 30 0a 7d  0a 0a 0a 62 61 63 6b 67  |in,0,0.}...backg|
00000180  72 6f 75 6e 64 20 7b 0a  20 63 72 65 61 74 65 20  |round {. create |
00000190  7b 0a 20 20 74 79 70 65  20 73 68 65 65 74 0a 20  |{.  type sheet. |
000001a0  20 70 6f 69 6e 74 73 20  31 32 0a 20 20 73 69 7a  | points 12.  siz|
000001b0  65 20 32 34 69 6e 0a 20  7d 0a 20 74 72 61 6e 73  |e 24in. }. trans|
000001c0  6c 61 74 65 20 30 2c 30  2c 2d 33 2e 33 69 6e 0a  |late 0,0,-3.3in.|
000001d0  7d 0a 0a                                          |}..|
000001d3