would it be posible for a split screen extension?I tryed to check on the click team wiki but the links wouldent work for me.
Printable View
would it be posible for a split screen extension?I tryed to check on the click team wiki but the links wouldent work for me.
I think it's already under development by LIJI
whats the site for that?
It has not yet been released, but it will be soon.
I asked a similar question in the tech support forums months ago. If you need this to be done immedietly you should use the sub application object. There was an example of this file archives. It is probably on page 2-4.
I think you can use the "viewport object" to do that with ease. :)
Viewport object can only use what is being displayed by MMF2. If you tell it to look at something off screen, you won't see anything. At least that's what I've heard.
I think the split-screen object will work in a similar way but easier to use for that purpose. They have the same limitations though.
I've seen a split screen example using ViewPort done using maths. I think thats what the Split Screen object is going to take care of for you.
About going around the limitations: You have to make the window size much bigger and then resize the window smaller again at the start of the frame. That makes MMF2 draw more than what is visible in the window and allows either ViewPort object or SplitScreen object to use that "offscreen" image. Just note that this can slow down your game since MMF2 has to draw everything = more processing expensive and uses more RAM.
I've seen a tutorial for one on the Sonic FanGame HQ:
http://sfghq.emulationzone.org/view_info.php?sec=4&id=108
Might be worth looking into.
the one problem is im not realy that good at the sup applacation thing. i might be able to open it up and find out how it works but that will take a wile.
I think using Viewport object is better than using subapplication because you'll code only one game for all players.
i dont know how to use the viewporint split screen eaither.
you can use 2 subapps that are directed to the same frame, you just have to tell the subbapp which player it has to handle(with a global value for exemple)
in the directed frame you have to code an engine that can handle both players (i don't think it's a big deal)
The only problem with viewport object is that you lose the parallax scrolling feature and repeat mode of layers but you'll be able to program only one game without the necessity of synchronized all elements involved in the game between each screen. ;)
I'll release an example soon.
well thx for all the help i found out how to use the sub apps. it still would be cool for an exstenchen. i dont need it now but id still be lazy enuf to use it.
Here is an example of a split screen made with viewport.