Problem with scrolling background with moving actor
Here is the setup. I have a scrolling endless background that moves left based on the accelleramator. My actor can move left/right and up/down within the screen area (again based on the accelleramator) but only between X=0 and X=900. I did that by putting in a nonscrollable collidable wall at X=0 and X=900. Now the problem. When I hit the X=900 with the actor it stops as expected but the background scroll speed instantly doubles or triples for about .5 seconds then starts scrolling normally again. Any idea how to fix this.
My other issue (Just a personal comment not a GS issue). When I know there is a glitch in a portion of the game I am working on I obsess with getting it fixed before I do anything else in the game even though there are plenty of things I know how to do that also need to be done. I guess that is good in the sense that at the end I won't have as many bugs but boy does it slow overall game progress down. I just have to let the perfect get in the way of the good. Anyone else have that problem?
My other issue (Just a personal comment not a GS issue). When I know there is a glitch in a portion of the game I am working on I obsess with getting it fixed before I do anything else in the game even though there are plenty of things I know how to do that also need to be done. I guess that is good in the sense that at the end I won't have as many bugs but boy does it slow overall game progress down. I just have to let the perfect get in the way of the good. Anyone else have that problem?
Comments
second point = i do to an extent i have some bugs that i just get tired of and push to the back but i always prefer to attempt to solve it a couple times before adding anything else so that i dont have to work with a mix of bugs..