THE SCREEN MONSTER.....
vegasmike1
Member Posts: 192
I just wanted to state to all GS fellow banger of keys and draggers of behaviors, the screen can cause you a lot of problem. Here is the problem I encountered, ok maybe not a problem but the way it works. I have a game almost done, where a big robot chucks some junk at a puzzle of other junk, explosions and sound and all kinds of good stuff. But the screen is larger than the 480 size in landscape, so the junk can go further, hence the camera is tracked to the junk pile the robot is throwing. No problem all works as it should, BUT, if you want to move back to the starting place, a bit tricky but its doable. The problem is this, the object that you are re-tracking to, can be as far as the screen real estate is set can be short of going ALL THE WAY back to the starting point of the screen so if you are dragging things around, like the arm of the robot to throw the junk the numbers for the touch or the mouse will be thinking that they are on the beginning screen when in fact you might be 50 pixels to the right of where the scene started, so when you drag the arm back, it will try and go further than it should going to the main screen, (I dont know if that made any sense) never the less, you have to make sure that if you are tracking an object, and then tracking a new object, that the screen and the new object must reset the screen to the 0,0 value of when it began, 0,0 remains the same as do all the other co-ordinates, but if your screen stopped short of going all the way back objects will OVER REACT to any action you give them.
Probably this is one of those, oh yeah I knew that, but I did not know that and now I do. So if any of you are having a problem with this kinda of issue, there is a solution, I found one but there are probably many more.
La tee dahhh
Probably this is one of those, oh yeah I knew that, but I did not know that and now I do. So if any of you are having a problem with this kinda of issue, there is a solution, I found one but there are probably many more.
La tee dahhh
Comments
Plus it seems to help FPS as well.