WiseRock Posted December 12, 2014 Author Share Posted December 12, 2014 Hey y'all, I would like to request some help for this wierd bug. I am currently using the Eclipse Worlds Engine and I recently implemented [http://www.eclipseorigins.com/community/index.php?/topic/136047-eclipse-worlds-chat-drawn-to-screen/](http://www.eclipseorigins.com/community/index.php?/topic/136047-eclipse-worlds-chat-drawn-to-screen/) which makes the the screen into the chatbox. Currently is it showing only White Text. It is not showing any other colours, just white.I would like to request some aide for this problem. Anyone got any ideas?Regards, Basketball Link to comment Share on other sites More sharing options...
Slasheree Posted December 12, 2014 Share Posted December 12, 2014 as Sherwin said:> replace "Colour" to "Color"in> 'Evilbunnie's DrawChat system> Public Sub ReOrderChat(ByVal nText As String, nColor As Long)> Dim i As Integer> > For i = 19 To 1 Step -1> Chat(i + 1).text = Chat(i).text> Chat(i + 1).Color = Chat(i).Color> Next> > Chat(1).text = nText> Chat(1).colour> = nColor> End SubI'm only guessing this could be your error Link to comment Share on other sites More sharing options...
Jumbofile Posted December 13, 2014 Share Posted December 13, 2014 Im not sure what made the color go away. First try to replace all of the " color " in the code with " colour " and try messing with this line:```RenderText Font_Default, Chat(i).text, frmMain.picForm.Left + 5, (frmMain.picForm.Top + 555) - (i * 20), White``` Link to comment Share on other sites More sharing options...
WiseRock Posted December 15, 2014 Author Share Posted December 15, 2014 > ,…,<>" data-cid="931364" data-time="1418424411">> > as Sherwin said:> > > > > > in> > > > I'm only guessing this could be your errorI've Had that fixed Thanks for the suggestion.> Im not sure what made the color go away. First try to replace all of the " color " in the code with " colour " and try messing with this line:> > ```> > RenderText Font_Default, Chat(i).text, frmMain.picForm.Left + 5, (frmMain.picForm.Top + 555) - (i * 20), White> > ```I've tried playing around with it but I cant get it to be multicolored like it did in the original. Link to comment Share on other sites More sharing options...
WiseRock Posted December 28, 2014 Author Share Posted December 28, 2014 Can anybody solve this weird problem? Link to comment Share on other sites More sharing options...
Helladen Posted December 30, 2014 Share Posted December 30, 2014 Are you using RGB colors? I believe my draw text function only supports Windows API colors aka VB constant colors.And hehe, sorry about changing all instances of colour to color, I am nuts about stuff like that. I am American English, so I wanted the engine to be American not English. Link to comment Share on other sites More sharing options...
Officer Johnson Posted December 30, 2014 Share Posted December 30, 2014 I didn't even know American was a language O.o Link to comment Share on other sites More sharing options...
Helladen Posted December 30, 2014 Share Posted December 30, 2014 > I didn't even know American was a language O.oAmerican English is like 99% the same as English standard. There's some slight differences such as adding ou instead of just o for color. Canada and England use the English standard. Link to comment Share on other sites More sharing options...
Officer Johnson Posted December 30, 2014 Share Posted December 30, 2014 Oh ok got it lol 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