WiseRock Posted July 23, 2014 Author Share Posted July 23, 2014 Greetings I am using [Eclipse Worlds](http://www.eclipseorigins.com/community/index.php?/topic/134183-eclipse-worlds-121a/) (great engine!) and I have come with a question that has stumped me for a whileHow do I make this chatbox here:![](http://i60.tinypic.com/2h5jmad.png)The red circle is to control the visibility of the Textbox because I couldn't figure out how to make it transparent.It is a RichTextbox And I have used Rob Janes's Tutorial Here:[http://www.eclipseorigins.com/community/index.php?/topic/115411-transparent-chat-box/?hl=transparent](http://www.eclipseorigins.com/community/index.php?/topic/115411-transparent-chat-box/?hl=transparent)Just cant seem to figure out how do it. Link to comment Share on other sites More sharing options...
hisherwin Posted July 23, 2014 Share Posted July 23, 2014 Nope. I don't think it's possible to make a stable transparency on a textbox/richtextbox..Why don't you just render them? it is possible that way, well even if there's a method to make a transparency picturebox/textbox/richtextbox/etc.. i don't think it will be a stable one Link to comment Share on other sites More sharing options...
deathtaker26 Posted July 23, 2014 Share Posted July 23, 2014 You would need to draw the chat onto the screen. and get rid of the current chatbox, it will also require you to make some functions for typing as well. Link to comment Share on other sites More sharing options...
WiseRock Posted July 23, 2014 Author Share Posted July 23, 2014 If i was rendering it wouldn't I have to rewrite almost all of the chat functionsP.S I am not good at Rendering its just not my thing could anyone help me with this? Link to comment Share on other sites More sharing options...
hisherwin Posted July 23, 2014 Share Posted July 23, 2014 Use CS:DE? xDAnyway, I know it is not quite easy on rewriting your current chatbox into transparent one.. just try it, rip CS:DE chatbox. Link to comment Share on other sites More sharing options...
WiseRock Posted July 23, 2014 Author Share Posted July 23, 2014 Okay I got it to work with [http://www.touchofdeathforums.com/community/index.php?/topic/117047-eochat-drawn-to-screen/page__hl__%2Bdraw+%2Bscreen](http://www.touchofdeathforums.com/community/index.php?/topic/117047-eochat-drawn-to-screen/page__hl__%2Bdraw+%2Bscreen) but I have another problem. The problem appears when the map is scrolling, then chat trying to scroll along with the map.Heres is the sub that causes the problem:```'Evilbunnie's DrawnChat systemPublic Sub DrawChat()Dim i As Integer For i = 1 To 6 RenderText Font_Default, Chat(i).text, frmMain.picChatbox.Left, (Camera.Bottom - 20) - (i * 20), White NextEnd Sub``` Link to comment Share on other sites More sharing options...
hisherwin Posted July 23, 2014 Share Posted July 23, 2014 Hmm.. I don't see any problem with the code you shown.. Or maybe the "Camera.Bottom" is the problem.Try giving them a fixed position and not using a formula position except for the (i * 20) because it is needed to wrap the next text Link to comment Share on other sites More sharing options...
WiseRock Posted July 23, 2014 Author Share Posted July 23, 2014 I have given up on this feature so I shall go back to my old Engine that I used Thanks for all the people who tried to appreciate it! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now