Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Bug Reports / INK, use of background color broken, and speed killer

Author
Message
Rknight
22
Years of Service
User Offline
Joined: 25th Sep 2003
Location: NJ
Posted: 20th Sep 2009 10:40
The INK command no longer works with a background color. Even the example code does not work.

DO
INK RGB(255,255,255),0
TEXT 100,100,"Testing 1"
LOOP

Works zippily.

DO
INK 0,RGB(255,255,255)
TEXT 100,200,"Testing 2"
LOOP

Doesn't work. No background color and kills the FPS.

Bug fix request:

Please fix this ASAP.

Feature request:

Please speed up TEXT commands in general, if possible.
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 20th Sep 2009 14:22
The TEXT and PRINT commands do not write a background to the text they display by default - You need to enable it by using SET TEXT OPAQUE.



Rknight
22
Years of Service
User Offline
Joined: 25th Sep 2003
Location: NJ
Posted: 21st Sep 2009 01:17
Thank you, I had forgotten about the TEXT OPAQUE command. That works, though you have to be careful where you put the command for it to work.

However, the SET TEXT OPAQUE command does kill the FPS of the text commands to the point where I would say to use it at all is pretty impractical.

Go ahead and try printing out several lines of text with it, compared to without, it is a huge difference for something so simple.

So I think this is still a bug.

Login to post a reply

Server time is: 2026-06-11 11:38:45
Your offset time is: 2026-06-11 11:38:45