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 Discussion / Proj. Help

Author
Message
Disturbed 13
18
Years of Service
User Offline
Joined: 9th Feb 2007
Location:
Posted: 9th Feb 2007 15:36
Hello everyone. I am learning DarkBASIC in my programming high school class so, yeah that means i don't know a whole lot about it, and i am trying to figure out how to draw an ellipse tilted about 45 degrees. If anyone could tell me how, or give me some tips, then that would be awesome.

Thanks!
Lucifer
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 9th Feb 2007 17:56 Edited at: 9th Feb 2007 18:04
i dont know, maybe this will help you.. or not..

if you need to do something special with it just play around with the numbers..
The first two numbers in the ellipse command is the x position on the screen and y position. the default for dbc is 640 480 screen resolution so if you want the ellipse to be in the middle you could write ELLIPSE 320, 240, 100, 45 or something..

the next two are just the x size and y size values for the ellipse


i like pancakes..
Disturbed 13
18
Years of Service
User Offline
Joined: 9th Feb 2007
Location:
Posted: 9th Feb 2007 18:07
yeah i know that much, but im wondering how to rotate it so that the ellipse is at a 45 degree angle as opposed to how it is now. I know that an ellipse has 2 foci, but it seems as if this program only deals with one of them.

Login to post a reply

Server time is: 2025-05-26 03:47:14
Your offset time is: 2025-05-26 03:47:14