Well ive got sick of white is there a simple function to turn the text printed to the screen with kos to new colours as if i change the background screen colour
the text allways has black colour around it and thats just annoying
(around the text the screen colour does not change)
thanks ive not seen the colour of the text changed in kos yet
COLOURED TEXT in KOS HOW?
-
- DC Developer
- Posts: 2648
- https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
- Joined: Sun Mar 24, 2002 7:48 pm
- Has thanked: 0
- Been thanked: 0
- Contact:
COLOURED TEXT in KOS HOW?
http://homebrew.dcemulation.com/dcgames/ *homebrew webbrowser games *
http://r2k2gate.topcities.com *dev site and my releases*
Im' a Commodorian are you?
http://r2k2gate.topcities.com *dev site and my releases*
Im' a Commodorian are you?
-
- DC Developer
- Posts: 2648
- Joined: Sun Mar 24, 2002 7:48 pm
- Has thanked: 0
- Been thanked: 0
- Contact:
OK thanks toastman give it more of a look!
http://homebrew.dcemulation.com/dcgames/ *homebrew webbrowser games *
http://r2k2gate.topcities.com *dev site and my releases*
Im' a Commodorian are you?
http://r2k2gate.topcities.com *dev site and my releases*
Im' a Commodorian are you?
-
- DC Developer
- Posts: 9951
- Joined: Sun Dec 30, 2001 9:02 am
- Has thanked: 0
- Been thanked: 1 time
If you're rendering to the framebuffer, it's harder to change the colours. It's much, much easier to load the font as a texture, and draw each letter as a quad. If you load the texture as something that has an alpha channel (ARGB4444, ARGB1555), loading the font data into the alpha map and having the colours as all white, you can draw each letter as a transparent quad, and change colours.
I think KOS has some functions to do all that somewhere, but I never use them.
I think KOS has some functions to do all that somewhere, but I never use them.
-
- DC Developer
- Posts: 2648
- Joined: Sun Mar 24, 2002 7:48 pm
- Has thanked: 0
- Been thanked: 0
- Contact:
Interesting have to have a go at this . Im rendering to the framebuffer so that prolly why ive this much trouble ...
any one got a example bit code rendering to the framebuffer as a new colour
print one letter on the screen would be fine in the meantime im going to try write one thanks guys for the reply's
any one got a example bit code rendering to the framebuffer as a new colour
print one letter on the screen would be fine in the meantime im going to try write one thanks guys for the reply's
http://homebrew.dcemulation.com/dcgames/ *homebrew webbrowser games *
http://r2k2gate.topcities.com *dev site and my releases*
Im' a Commodorian are you?
http://r2k2gate.topcities.com *dev site and my releases*
Im' a Commodorian are you?