Page 1 of 1

Pixel by Pixel Scrolling Engine

Posted: Sun May 18, 2003 11:59 am
by Shopro
Hello,

I have completed half of my pixel by pixel engine. It doesn't support collision and a hanful of other features yet.

Can anyone please have a look at it, and tell me why it's so slow?

http://warehouse26.tripod.com/spartan.zip

I can speed it up by changing "#AnimationSmoothness = 1" to 4, which makes the movement slightly more choppy, but it's painfully slow as it is.

using the same techniques, I was able to make a much faster engine in QuickBASIC, so I figure something is wrong here.

Any advice is greatly appreciated, thanks

-Shopro

Posted: Sun May 18, 2003 12:27 pm
by Fred
I can't get the file..

sorry

Posted: Sun May 18, 2003 1:15 pm
by Shopro
I've uploaded it again:

http://fukuoka.cool.ne.jp/greyphantom/Spartan.zip

sorry for the trouble

Posted: Sun May 18, 2003 2:04 pm
by freak
Don't just click on the Link, this gives you a "Forbidden" page in japanese :)
Rightclick->Save Target as should work better.

Timo

Posted: Sun May 18, 2003 2:14 pm
by Fred
Your code is ok and works perfectly here.

Posted: Mon May 19, 2003 5:30 am
by Shopro
thanks for taking a look.

After having a few people in #purebasic look at it, it seems that it's slow because my monitor has a low refresh rate, and I can do nothing about it.

I'll try to find a way to make it run at the same speed on all PCs:)

thanks

-Shopro