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.

Newcomers DBPro Corner / Why isn't this code working?

Author
Message
PeeJayGee 2004
20
Years of Service
User Offline
Joined: 31st Jan 2004
Location: TN, USA
Posted: 27th Mar 2008 16:38 Edited at: 27th Mar 2008 16:42
Dear All,

I'm trying to draw boxes on the screen, working from the middle to the outside top and bottom, and rotate the colour through it, like if you were flying into space, if that makes sense, but it draws the boxes but doesn't scroll the colours? What am I doing wrong?

Regards
Paul



Don't jump, if you do you will only fall, and hurt yourself
PeeJayGee 2004
20
Years of Service
User Offline
Joined: 31st Jan 2004
Location: TN, USA
Posted: 27th Mar 2008 16:40 Edited at: 27th Mar 2008 17:21
Doh....

A simple Cls is what is missing.

Don't jump, if you do you will only fall, and hurt yourself
Ed222
17
Years of Service
User Offline
Joined: 3rd Nov 2007
Location: Calgary
Posted: 27th Mar 2008 18:41 Edited at: 27th Mar 2008 18:41
make sure you have sync on too it really helps


chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 27th Mar 2008 19:38
Hallo PeeJayGee... I had a look to your code...but just a black screen ...I try to mend it and was even worst...I made this short piece of code ... I think, that perhaps you should color object by:

color object( xxx) rgb(rnd(255),rnd(255),rnd(255))

Cheers.




oh my god

Login to post a reply

Server time is: 2024-11-25 05:32:32
Your offset time is: 2024-11-25 05:32:32