Hi all,
I've been toying with the idea of making a streets of rage sort of clone of sorts. What sprang to mind was the progression through the stages. First off you walk forward then at certain points hit a 'choke point' in which you need to defeat a bunch of enemies before moving on.
I wondered how this might be achieved with something like C2. So my thinking was that you restrict the player to the visible area (so they can't go past those boundaries), until of course they've met certain conditions, then you re-enable it again.
So far I've just thought of dropping some solid objects just out of view, but that seems a bit messy. Or doing some sort of x coordinate comparison, if they're heading off-screen then prevent movement in that direction, etc.
Is there a simpler solution, or do you think the coord check might do the job smoothly enough?
Cheers!