PDA

View Full Version : TBackgroundSprite



fitzbean
08-04-2003, 05:50 PM
I'm building a game of sorts, with a scrolling background, and even with just a dozen sprites, I experienced a slowdown at high res (1024x768+) -- I wasn't sure why, so I tried removing the TBackgroundSprite, and it definately helped the problem a lot. Anyone experience this, and have an idea for fixing it? Perhaps another method of presenting a background? - Perhaps no background, and all sprites?

Any knowledge or info on this would be helpful.

Fitz

mitch
08-04-2003, 07:03 PM
i had also that problem i made from the scrolling background a sprite and
it worked good.

fitzbean
08-04-2003, 08:04 PM
How did you do that exactly?

Useless Hacker
09-04-2003, 11:15 AM
I think the TBackgroundSprite is much more efficient than using lots of TImageSprites. What size tiles are you using for the background?

fitzbean
09-04-2003, 04:12 PM
I tried different sized ones, from 50x50 to 1000x1000 and larger, and the effect seemed very similar.