Page 2 of 3
Re: 2 player / Split Screen Game

Posted:
Fri Feb 15, 2008 9:37 am
by Kalladdolf
well, then just replace the two canvas with one
and that should have a centerview which stays always in the middle point between the two players.
when they leave the
view, back to normal again!
Re: 2 player / Split Screen Game

Posted:
Fri Feb 15, 2008 9:39 am
by Bee-Ant
You just mouthfull
Show me that you can make it
Re: 2 player / Split Screen Game

Posted:
Fri Feb 15, 2008 10:36 am
by edh
I don't see what the difficulty is; anymore than the one actor game request.
Re: 2 player / Split Screen Game

Posted:
Fri Feb 15, 2008 10:43 am
by Bee-Ant
Ouu...so my request make you stress huh???
Re: 2 player / Split Screen Game

Posted:
Sat Feb 16, 2008 2:41 am
by speckford123
ok, sorry i havnt replied recently
as for having 2 screens becoming 1, well you could put a third canas for the ful screen
when the distance is so small disable the first 2 and activate the third and vice-versa
if im not too busy i might get around to making it, but if someone comes up with it, post it to benifit others
..............and me cause im lazy

Re: 2 player / Split Screen Game

Posted:
Sat Feb 16, 2008 2:58 am
by DilloDude
If you are just having one screen, why do you need a canvas? You could just move the view to the actual location. Of course, getting the transition to be smooth would be difficult.
Re: 2 player / Split Screen Game

Posted:
Sat Feb 16, 2008 4:18 am
by Bee-Ant
I meant...if both players are near each other (the distance of player 1 and 2 not more than original view size)...there's no split screen..
But, if far each other (the distance of player 1 and 2 more than original view size)..there will be splitscreen. Do you understand...
Re: 2 player / Split Screen Game

Posted:
Sat Feb 16, 2008 5:55 am
by DilloDude
Exactly. If the distance between the two players is small enough, move the view to centre hal-way between them. If not, move the view to where the canvas actors are, and draw each screen on them.
The only thing is, it could get confusing when it suddenly changes from split-screen to single-screen.
Re: 2 player / Split Screen Game

Posted:
Sat Feb 16, 2008 7:40 am
by Bee-Ant
It could get confusing when it suddenly changes from split-screen to single-screen.
That's why I asked for you...I'm still confused how to do it

Re: 2 player / Split Screen Game

Posted:
Sat Feb 16, 2008 9:18 am
by DilloDude
I've just thought of another brilliant idea! Each player has a 'virtual view' point, whether it is an actor, or just stored variables, doesn't matter, it just needs to have a coordinate. The player sets its virtual view point to either centred on itself or between itself and the other player, but moves between those two points smoothly with some sort of smooth move code. The canvas actors then draw everything as usual, but relative to the virtual view point. That should create some sort of smooth merging effect.
Re: 2 player / Split Screen Game

Posted:
Sat Feb 16, 2008 9:20 am
by Bee-Ant
Sound interesting...but wait...do you know how to remove "SHAKE" effect when you use canvas???
Re: 2 player / Split Screen Game

Posted:
Sat Feb 16, 2008 2:26 pm
by speckford123
yeah....the shake effect......i think that happens because of your gravity and collision
you might be able to remove it by if they are on the ground disable gravity,
that should make it so the canvas wont draw the shakes.........but that could cause more problems.......
Re: 2 player / Split Screen Game

Posted:
Sat Feb 16, 2008 11:03 pm
by Game A Gogo
I think it's because his gravity factor is like, 1.
Re: 2 player / Split Screen Game

Posted:
Sun Feb 17, 2008 4:08 am
by Bee-Ant
So...canvas has it's own weakness...but yeah i think make disable the gravity when collide with platform is the best way...
I hope makslane remove this shake effect later
Re: 2 player / Split Screen Game

Posted:
Sun Feb 17, 2008 5:33 am
by DilloDude
Try this:
You still get the 'shake' effect, and it dosn't always line up correctly, but apart from that, it's pretty nice.