03-15-2005, 12:03 AM
ok..now i'm just wasting space..
but its a good example for the "absolute" beginner...
well there it is!! now, will somebody please show me a way to rotate it!?
8) :bounce: :rotfl: :o :barf: :oops:
but its a good example for the "absolute" beginner...
Code:
'screen mode
screen 13
'type, its kinda like sayin integer, its our own kindof type
type cubecorner
x as integer
y as integer
end type
'c1 - c8 is a type of cube corner
dim as cubecorner c1,c2,c3,c4,c5,c6,c7,c8
'coordinates for cube corners
c1.x = 160
c1.y = 50
c2.x = 190
c2.y = c1.y
c3.x = c1.x
c3.y = 80
c4.x = c2.x
c4.y = c3.y
c5.x = 175
c5.y = 65
c6.x = c5.x
c6.y = 95
c7.x = 145
c7.y = c6.y
c8.x = c7.x
c8.y = c5.y
'horizontal lines for cube (x)
line (c1.x,c1.y)-(c2.x,c2.y),4
line (c3.x,c3.y)-(c4.x,c4.y),4
line (c6.x,c6.y)-(c7.x,c7.y),4
line (c5.x,c5.y)-(c8.x,c8.y),4
'verticle lines for cube (y)
line (c1.x,c1.y)-(c3.x,c3.y),4
line (c2.x,c2.y)-(c4.x,c4.y),4
line (c5.x,c5.y)-(c6.x,c6.y),4
line (c8.x,c8.y)-(c7.x,c7.y),4
'slanted lines (z)
line (c1.x,c1.y)-(c8.x,c8.y),4
line (c2.x,c2.y)-(c5.x,c5.y),4
line (c3.x,c3.y)-(c7.x,c7.y),4
line (c4.x,c4.y)-(c6.x,c6.y),4
'waits for keypress to quit
sleep
well there it is!! now, will somebody please show me a way to rotate it!?
8) :bounce: :rotfl: :o :barf: :oops:
url=http://www.random-seed.net][/url]