About Store Forum Documentation Contact
Donations:
327$/mo



Post Reply 
Draw lines and dots on Gui objects.
Author Message
Dynad Offline
Member

Post: #1
Draw lines and dots on Gui objects.
Hey,

Is it possible to draw lines and dots with D.dot/D.line on Gui objects? If thats possible how does it work? Cause it needs to keep 2D and not in 3D world mode.


Thnx,
~Dynad

There is always evil somewhere, you just have to look for it properly.
10-27-2010 10:09 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #2
RE: Draw lines and dots on Gui objects.
What do you mean?
There are functions which accept Vec2 pos, and they work in 2D mode (no depth buffer is used then)
10-27-2010 10:12 PM
Find all posts by this user Quote this message in a reply
Dynad Offline
Member

Post: #3
RE: Draw lines and dots on Gui objects.
Ok but when a Gui object is on focus/activated the dot or line wont be drawn on the Gui objects but beneath them..

There is always evil somewhere, you just have to look for it properly.
10-27-2010 10:14 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #4
RE: Draw lines and dots on Gui objects.
that depends on the order of drawing
first draw the gui object, then draw the dots/lines
10-27-2010 10:16 PM
Find all posts by this user Quote this message in a reply
Dynad Offline
Member

Post: #5
RE: Draw lines and dots on Gui objects.
Ah ok that will fix it smile

There is always evil somewhere, you just have to look for it properly.
10-27-2010 10:17 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply