Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

The 20 Line Challenge / 20 line - DBPRO > C U B E < DBPRO - 20 line

Author
Message
FrEaK Sk8
18
Years of Service
User Offline
Joined: 1st Feb 2006
Location: about:Blank
Posted: 20th Feb 2006 11:19
Some stuff mixed with matrix and cube
print "THIS IS A 3D OBJECT CUBE POSITIONED ON THE MATRIX"
wait 3500
cls
print "WHEN YOU WANT TO CONTINIUNE FROM THE CUBE PRESS ANY KEY YOU WANT !"
wait 3500 : print "Now..."
cls
wait 300
print "loading" : cls :wait 400 :print "loading." :cls :wait 400 :print "loading.."
cls :wait 400 :print "loading..." :wait 400 :cls :print "loading" :wait 400 :cls :print "loading." :wait 400
cls :print "loading.." :wait 400 :cls :print "loading..." :wait 1200 :cls :make object cube 1,8 : make matrix 1,30,30,20,20 : randomize matrix 1,10 : update matrix 1
position object 1,15,-5,15
position matrix 1,0,-5,0
color object 1,RGB(128,255,0)
wait key
delete matrix 1
delete object 1
color backdrop RGB(255,255,255) : wait 200 : color backdrop RGB(255,128,0) : wait 200 :color backdrop RGB(255,255,128) : wait 200:color backdrop RGB(0,255,0): wait 200:color backdrop RGB(128,255,255) : wait 200 : color backdrop RGB(255,0,0)
do
print "End of presentation.Press escape key and the program will exit::->PWN3D BY FrEaK-sK8"
loop
FrEaK Sk8
18
Years of Service
User Offline
Joined: 1st Feb 2006
Location: about:Blank
Posted: 20th Feb 2006 15:36
THIS IS A UPDATE OF THIS VERSION ---> I HAVE TO SAY IT'S MUCH BETTER. AND I STUFFED IT IN 17 LINES
here's the code

hide mouse :print "Press any key to start!" : wait key : print "THIS IS A 3D OBJECT CUBE POSITIONED ON THE MATRIX"
wait 4500
cls
print "WHEN YOU WANT TO CONTINIUNE FROM THE CUBE PRESS ANY KEY YOU WANT !"
wait 4500 : print "Now...": wait 500 :cls :wait 300
print "loading" : cls :wait 400 :print "loading." :cls :wait 400 :print "loading.."
cls :wait 400 :print "loading..." :wait 400 :cls :print "loading" :wait 400 :cls :print "loading." :wait 400
cls :print "loading.." :wait 400 :cls :print "loading..." :wait 1200 :cls :make object cube 1,4 : make matrix 1,30,30,20,20 : randomize matrix 1,10 : update matrix 1
position object 1,15,5,15 :position matrix 1,0,-5,0 :load image "land.bmp",1 : prepare matrix texture 1,1,1,1:load image "cube.bmp",2: texture object 1,1
wait key :delete matrix 1 :delete object 1
wait 100
make matrix 2,30,30,20,20 :make object cube 2,8 :load image "land2.bmp",3:prepare matrix texture 2,3,1,1 : load image "cube2.bmp",4: position object 2,0,2.5,10 :texture object 2,4:position matrix 2,-15,-5,-20 : do
randomize matrix 2,7 :update matrix 2
if returnkey()=1 :delete matrix 2: delete object 2
endif
color backdrop RGB(128,128,0) : wait 100 : color backdrop RGB(0,128,192): wait 100 :color backdrop RGB(255,0,0) : wait 100:color backdrop RGB(0,255,0): wait 100:color backdrop RGB(128,255,255) : wait 100 : color backdrop RGB(255,0,0)
loop

[quote]Weeeeee... are the nooooobssss ... Weee aree the noooooobsss... noooo timmeee forr winnersss cuz weeee aree the noooobbsss ....
FrEaK sK8 :
Drew the G
User Banned
Posted: 21st Feb 2006 20:05
Uhhhh....

Daemon
18
Years of Service
User Offline
Joined: 16th Dec 2005
Location: Everywhere
Posted: 23rd Feb 2006 19:02
We need your images for your second code.

P.S. Put your code between code things


Insanity is just a state of mind
FrEaK Sk8
18
Years of Service
User Offline
Joined: 1st Feb 2006
Location: about:Blank
Posted: 24th Feb 2006 14:25
Hmm...yeah... I HAVE attached the zip file but I dont know why didn't it show itself here ... Hmm... Yeah u're right about that code thing --- code snippet lol
This code ain't anything special or something... I'm working on something better now

Attachments

Login to view attachments
smallg
Valued Member
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location: steam
Posted: 26th Feb 2006 14:43
lovely loading there

life's one big game
spec= 1.6ghz, 512mb ram, 128mb gpu, directx 9.0c, dbpro and classic

Login to post a reply

Server time is: 2024-03-28 10:36:34
Your offset time is: 2024-03-28 10:36:34