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 Discussion / Flashing sprites

Author
Message
KingBru
23
Years of Service
User Offline
Joined: 14th Jan 2003
Location:
Posted: 15th Jan 2003 12:53
This may be a daft question, but when I try to run my program the sprites start flashing during the loop phase.

It doesnt happen to all the sprites on the screen, only the same selected ones every time. I have attached the code, although it is abitty long.

Any suggestions how to overcome this.

Attreid
23
Years of Service
User Offline
Joined: 27th Nov 2002
Location:
Posted: 15th Jan 2003 21:33
hmm your code is very large, and I donnot have enough time to help you, but i have an advice :
when your code don't work and you don't know why, rewrite it
yes, I know, it's hard, boring and long, but :
1. the most of the time the programm work when you rewrite it without copy-past
2. you will write a better code
3. you like doing it, no ?

I'm following John, but I'm not john.
Lol, it is funnier in french
KingBru
23
Years of Service
User Offline
Joined: 14th Jan 2003
Location:
Posted: 15th Jan 2003 23:09
Believe it or not this is my second re-write. However this problem occurs even on some of the sources provided with the Darkbasic discs. I thought it may be computer/video incompatabilities. I've heard others having similar problems. Ive has problems even with codes as small 10 lines.

Who.. knows..just have to keep working on it.

Cheers

Login to post a reply

Server time is: 2026-06-10 07:56:05
Your offset time is: 2026-06-10 07:56:05