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.

DarkBASIC Professional Discussion / Possibly strange animation and INK problem

Author
Message
MrTAToad
17
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 19th Sep 2002 12:55
I'm not sure about this yet (as I've lost the code & will have to re-write it), but :

After finishing and deleting an animation, I set the INK colours to 0,0 ready to draw some lines. However, the colour used was, instead of being black was actually a bluey colour.

Anyone had this problem ?
Yes, I really am THAT good...
MrTAToad
17
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 20th Sep 2002 12:12
Yes, there does seem to be a problem with animation, INK command and LINE command.

In the following code :

load animation "C:\Program Files\Dark Basic Software\Dark Basic Professional\Help\examples\animation\avi\demo1.avi",1
play animation 1

repeat
sync
until animation playing(1)=0 or mouseclick()>0
stop animation 1
delete animation 1

ink rgb(255,255,255),rgb(0,0,0)
line 0,0,300,300:wait key
circle 100,100,100:wait key
box 0,0,300,300
wait key

The LINE colour is black, but the circle and box are white.
Has anyone else come across this ?

Yes, I really am THAT good...
xtom
17
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Ireland
Posted: 20th Sep 2002 21:10
I've expereinced the line command blending the color of the line in to the matrix color below it. It's really strange.
Washington Irving
17
Years of Service
User Offline
Joined: 7th Sep 2002
Location:
Posted: 21st Sep 2002 10:52
I have experienced:

Ink rgb(0,0,200),0
box 0,0,30,12
ink rgb(255,255,255),0
text 2,0,"test"

You expect a blue box with white text

What you get is a white box

MrTAToad
17
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 22nd Sep 2002 18:00
At least its not me having this trouble. I cant remember whether I've e-mailed them about it now...

Yes, I really am THAT good...

Login to post a reply

Server time is: 2019-11-12 18:29:18
Your offset time is: 2019-11-12 18:29:18