Page 1 of 1

Creating sprites offscreen

PostPosted: Mar 22, 2005 @ 8:02am
by mmtbb

PostPosted: Mar 22, 2005 @ 2:37pm
by sponge

PostPosted: Mar 22, 2005 @ 3:07pm
by mmtbb

PostPosted: Mar 22, 2005 @ 3:19pm
by kornalius

PostPosted: Mar 22, 2005 @ 3:45pm
by kornalius

PostPosted: Mar 22, 2005 @ 8:15pm
by mmtbb
If I make a sprite onscreen, then it moves off screen then back on again, will it turn invisible and stop being processed?

PostPosted: Mar 22, 2005 @ 8:30pm
by kornalius
Not really. The sprite state won't change, the sprite won't be drawn that's it. G_RENDERSCENE, only draw sprites that are in view but the calculation to know if the sprite is in view or not is done only when the origins changes.

I will try to come up with some way of preventing this behavior without having to call ProcessSprites() and keep the speed.

PostPosted: Mar 23, 2005 @ 3:44pm
by kornalius