16
Support / Re: Normalized View Port Rect multiple devices
« on: November 05, 2014, 09:52:17 pm »
Sure thing
I used a normalised view port to contain the game elements - it acts as a frame for the game. Therefore nemies enter the game "screen" (frame) and exit without having to go off-screen.... erm... am I making sense? Just woke up.
So for example, take Tetris. You have blocks falling from the top of the "game screen". You don't want these blocks appearing until they enter the "game screen", rather than having them fall from "device screen" at top.... as you may have scores and other stuff going on around the 'game screen'. OK, I'm babbling. Hope this makes sense.
I used a normalised view port to contain the game elements - it acts as a frame for the game. Therefore nemies enter the game "screen" (frame) and exit without having to go off-screen.... erm... am I making sense? Just woke up.
So for example, take Tetris. You have blocks falling from the top of the "game screen". You don't want these blocks appearing until they enter the "game screen", rather than having them fall from "device screen" at top.... as you may have scores and other stuff going on around the 'game screen'. OK, I'm babbling. Hope this makes sense.