This is a "Ronseal" bug report. Cos its exactly what it says on the tin ... er I mean subject line.
Heres some example code:
sync on
sync rate 60
make object cube 1, 10
instance object 2, 1
clone object 3, 2
do
sync
loop
or how about:
sync
sync on
autocam off
make matrix 1, 1000, 1000, 100, 100
make object cube 1, 10
position object 1, 0, 5, 0
position camera 0, 80, 10, 80
point camera 0, 0, 5, 0
instance object 2, 1
position object 2, 30, 5, 0
scale object 2, 50, 50, 50
temp_x = 30
for i = 3 to 6
clone object i, i - 1
temp_x = temp_x + 20
position object i, temp_x, 5, 0
next i
repeat
control camera using arrowkeys 0, 1, 1
sync
until spacekey() > 0
delete object 3
delete object 2
delete object 1
delete matrix 1
On a similar note, am I going crazy (everyone choruses: YES) but I've got the distinct feeling that before v5.8 you could instance an instance. Nowadays trying to do this doesn't crash the compiler - all you get is nothing - nothing happens at all. Personally I think there should be an error message.
Example code:
sync
sync on
autocam off
make matrix 1, 1000, 1000, 100, 100
make object cube 1, 10
position object 1, 0, 5, 0
position camera 0, 80, 10, 80
point camera 0, 0, 5, 0
instance object 2, 1
position object 2, 30, 5, 0
scale object 2, 50, 50, 50
temp_x = 30
for i = 3 to 6
instance object i, i - 1
temp_x = temp_x + 20
position object i, temp_x, 5, 0
next i
repeat
control camera using arrowkeys 0, 1, 1
sync
until spacekey() > 0
delete object 3
delete object 2
delete object 1
delete matrix 1
Ladies and gentlemen, I must away, for I have the forces of darkness to continue fighting.
Philip
Cheer if you like bears! Cheer if you like jam sandwiches!
P3.2ghz / 1 gig / GeForce FX 5900 128meg / WinXP home