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.

Newcomers DBPro Corner / Help with Tutorial 4

Author
Message
Rogue
20
Years of Service
User Offline
Joined: 26th Jan 2004
Location:
Posted: 26th Jan 2004 20:36
Can someone help me understand the code used in the beginning of tutorial 4? I understand x and y graphing but I am not sure what the second line of code is doing; BOX 10,10,630,20.
What do each of the included numbers mean? I assume one of them must be a starting point but what are the others, box demensions? Or is the combination of 10,10 the starting point (1 Corner) and 630,20 the end point - from which DarkBasic figures the size of the box to draw?
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 26th Jan 2004 21:25 Edited at: 26th Jan 2004 21:26
the last bit you said was basically right,
the top left hand corner of the box is determined by the first 2 numbers(eg.10,10) while the bottom right corner of the box is determined by the last 2 numbers(eg.630,20) from this db can draw a box very easyily



GO TO THE ETERNAL DESTINY FORUMS!!! http://forums.eternaldestinyonline.com
Do it now!!!

Login to post a reply

Server time is: 2024-09-21 18:51:30
Your offset time is: 2024-09-21 18:51:30