
-----------------------------------
~[confuzzled]~
Sun Nov 27, 2005 2:39 pm

H E L P with creating border(s)
-----------------------------------
Hi guys,

I just wanted to know if i could obtain some help with creating a border or boxes around the shole screen. I want to try to ask for help and see if anyone should respond =D Anyways, i would like it to be 51 pixel [oh yeah, i'm using pixel graphics] so 51 pixels from the bottom up, the right side out, left side out, and top side down. ~(fifty-one pixels)~

-----------------------------------
~[confuzzled]~
Sun Nov 27, 2005 2:40 pm


-----------------------------------
/B\
/U\
/M\
/P\

-----------------------------------
Cervantes
Sun Nov 27, 2005 3:02 pm


-----------------------------------
~"]/B\
/U\
/M\
/P\
Bump?  You bumped it up after a single minute of waiting.  CompSci.ca is not that active.

~"]I just wanted to know if i could obtain some help with creating a border or boxes around the shole screen. I want to try to ask for help and see if anyone should respond =D Anyways, i would like it to be 51 pixel 

Of course someone will respond.  :)

The easiest way to do this would be to clear the screen to the colour you want your border to be, then draw a white box in the middle of the screen.  Or not white; make it whatever colour you want your main background to be.

colourback (blue)
cls
Draw.FillBox (50, 50, maxx - 50, maxy - 50, white)


Alternatively, you could draw four boxes.  One on each side of the screen.

-----------------------------------
MysticVegeta
Sun Nov 27, 2005 3:27 pm


-----------------------------------
I wonder if he took the minute to design the Bump design.

-----------------------------------
ZeroPaladn
Mon Nov 28, 2005 10:11 am


-----------------------------------
of yaknow, if you want your boarder to be thicker than one pixel (oh no!) you could just draw 4 Draw.ThickLines (look them up) or is there somesort of Draw.ThickBox thing thati dont know about  :roll:

-----------------------------------
[Gandalf]
Mon Nov 28, 2005 4:47 pm


-----------------------------------
Draw.ThickBox
There is if you search for the "Upgrading Turing" or "New commands for Turing" topics :).

Ooh...  Think it would be great if everyone centered their posts? hehe

-----------------------------------
ZeroPaladn
Tue Nov 29, 2005 9:41 am


-----------------------------------
you learn somehting new everyday now dontcha? thanks, this will shorten up some code for my pong game :)

-----------------------------------
WhatDotColourMaster
Sun Dec 04, 2005 8:07 pm


-----------------------------------
The best way to make a border is to use the drawbox command. create 1 around the outside of the screen and then a box 1 pixel inside that. This creates a good affect to the program.

Regards,
WhatDotColourMaster
