Hello,
Im developing a 2d game for ios (ipad) and Im thinking on moving from Gamesalad to Unity (so im kind of evaluating unity/playmaker right now to see how hard it is to acheive what i want). The main scene is mainly made up of one big background image were the rest is put in front of it like layers in photoshop. I only want the camera (orthographic) to see a part of the scene, the rest is up to discover - as you swipe the camera moves around the scenes X and Y axis.
So long so fine. I took a look at the Swipe Gesture tutorial and used that without the dice function. However, and this is where im stuck. I want the camera to stay inside of the scene. So if you swipe to right and "hit" the scenes right border you wont be able to swipe to right again. Only up, down and left.
I believe there must be some kind of easy (or not that advanced) solution for this, im not just sure where to start.
Any help on this would be much appreciated!
Kindly
F