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.

DarkBASIC Professional Discussion / Some DBPro code For fun

Author
Message
Hannibal
11
Years of Service
User Offline
Joined: 5th Mar 2007
Location:
Posted: 18th Nov 2017 00:21


Have fun ... hope you like

Hannibal



CSL
9
Years of Service
User Offline
Joined: 22nd Mar 2009
Location: USA
Posted: 18th Nov 2017 20:06 Edited at: 18th Nov 2017 20:17
I changed the line

ligne(x1#,y1#,x2#,y2#)

to

line x1#,y1#,x2#,y2#

and it worked as intended.

It also helped to add the line:

SET WINDOW LAYOUT 0,0,0 : MAXIMIZE WINDOW

after the set display mode
CSL
Hannibal
11
Years of Service
User Offline
Joined: 5th Mar 2007
Location:
Posted: 18th Nov 2017 23:56
Nice but DBP's line is slow and afaik we are unable to set stroke width.

Also the ligne function and calling subroutine can be stepped differently to speed things up and give different effects...
Sedit
User Offline
Joined: 3rd Sep 2017
Location: Ghetto of NJ
Posted: 21st Nov 2017 07:36
It looks like it could be cool, just sucks that I can't really view it because I have a terrible computer and am getting about 1 frame every 3 seconds or so.
Hannibal
11
Years of Service
User Offline
Joined: 5th Mar 2007
Location:
Posted: 22nd Nov 2017 20:56
This one's a bit faster...





Or the video...
https://www.youtube.com/watch?v=AecShPCsdzg

Sedit
User Offline
Joined: 3rd Sep 2017
Location: Ghetto of NJ
Posted: 23rd Nov 2017 02:31
Wow thats pretty cool, I did not run the code yet but is that Video Exactly what the code does?
Sphere sphere = new Sphere(0.5f);
InsanelyRedundantJava insanelyredundantjava = new InsanelyRedundantJava(Redundancy1, Redundancy2);
Hannibal
11
Years of Service
User Offline
Joined: 5th Mar 2007
Location:
Posted: 23rd Nov 2017 14:25
Not exactly , just the line patterns

Login to post a reply

Server time is: 2018-05-26 13:12:16
Your offset time is: 2018-05-26 13:12:16