You are not logged in.

#1 2010-12-04 00:00:41

Jaklub
Member

Drawing part of texture in negative coordinations

Welcome. I hoped I won't encounter any other problems after my previous one. But I did.
I'm trying to do scrolled background. I was surprised to find that the sprites that had x position smaller than their negative width did not appear. It would be ok, but the problem is that I had set the handle to the middle of texture. And so, they started to disappear before they should do (they were disappearing when their second half was going outside the screen). I checked how it would work without handle setting, it was fine.
Is there any way to fix it? I actually need the handle to be set to the middle.

Last edited by Jaklub (2010-12-04 00:01:43)

Offline

 

Board footer

Powered by FluxBB