1. bk_color()in pixel graphics mode
- Posted by Gwena=?ISO-8859-1?Q?=EBl?= Joret <mb11363 at TVD.BE> Mar 29, 2000
- 518 views
Hello Everyone ! Just a little question : I'm coding a little game in graphics_mode 256 and I need to display a lot of characters very quickly, but each with a background color. I tried Putsxy, a great library, but it's too slow. I tried also to do that with puts() but bk_color() in pixel graphic mode affect the whole screen ! So I don't how to put a char with a background color on the screen in pixel graphic mode without using putsxy. Can you help me please ??? Ciao ! Gwen
2. Re: bk_color()in pixel graphics mode
- Posted by Caballero Rojo <pampeano at ROCKETMAIL.COM> Mar 29, 2000
- 498 views
- Last edited Mar 30, 2000
Hello Gwenaƫl, Look on the Archive or on the recent contributions page at RDS's site. Or to get a lot of libraries to display fonts, just go to the recent contributions page and in the search sle put Font, I'm sure you're going to get a lot of different libraries. -- Best regards, ICQ Number: 3198249 Caballero Rojo mailto:pampeano at rocketmail.com Wednesday, March 29, 2000, 5:32:43 PM, you wrote: GJ> Hello Everyone ! GJ> Just a little question : I'm coding a little game in graphics_mode 256 and I GJ> need to display a lot of characters very quickly, but each with a GJ> background color. I tried Putsxy, a great library, but it's too slow. I GJ> tried also to do that with puts() but bk_color() in pixel graphic mode GJ> affect the whole screen ! So I don't how to put a char with a GJ> background color on the screen in pixel graphic mode without using putsxy. GJ> Can you help me please ??? GJ> Ciao ! GJ> Gwen __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com
3. Re: bk_color()in pixel graphics mode
- Posted by Jiri Babor <J.Babor at GNS.CRI.NZ> Mar 30, 2000
- 528 views
>Hello Gwena=EBl, > Look on the Archive or on the recent contributions page at RDS's= > site. Or to get a lot of libraries to display fonts, just go to > the recent contributions page and in the search sle put Font, > I'm sure you're going to get a lot of different libraries. > >-- >Best regards, ICQ Number: 3198249 > Caballero Rojo mailto:pampeano at rocketmail.co= m > >Wednesday, March 29, 2000, 5:32:43 PM, you wrote: > >GJ> Hello Everyone ! > >GJ> Just a little question : I'm coding a little game in graphics_mode= 256 >and I >GJ> need to display a lot of characters very quickly, but each with a= >GJ> background color. I tried Putsxy, a great library, but it's too sl= ow. I >GJ> tried also to do that with puts() but bk_color() in pixel graphic = mode >GJ> affect the whole screen ! So I don't how to put a char with a >GJ> background color on the screen in pixel graphic mode without using= >putsxy. >GJ> Can you help me please ??? > >GJ> Ciao ! > >GJ> Gwen Unfortunately, guys, putsxy is as fast as they get. If you need to change just the *foreground* color, you could use rfont, that allows you to change it 'on-the-fly'. In other words, it makes it possible to write a whole lot of differently colored characters in one go, which is much faster than printing individual characters. But I am sorry, it did not seem important enough to me to provide 'on-the-fly' change of the background as well... Btw, 256 color modes, apart from mode 19, are often VERY SLOW anywhere away from the first few lines. So if you can live with just 16 colors, mode 18 would be much better choice. jiri =
4. Re: bk_color()in pixel graphics mode
- Posted by Gwena=?ISO-8859-1?Q?=EBl?= Joret <mb11363 at TVD.BE> Apr 03, 2000
- 474 views
Thank you for your help ! I like very much Rfont, and I added back color changing on-the-fly (unfortunately, It's still slow in mode 257). I have an another problem : Neil is very fine concerning virtual screen, but I don't know how to use Rfont with it ! So, how can I "simulate" an virtual screen with Rfont in mode 257 ? I explain : When I move the whole text on the screen, it flickers, and I would like to avoid that, but I don't know how to do that without a virtual screen. Help me please ! Thanks in advance ! Gwen