The Daily Click ::. Downloads ::. Engine ::. True Split Screen Example
 

True Split Screen Example
Author: Joshtek Submitted: 6th May, 2006 Favourites:0
Genre: Engine Downloads: 470
Rated:


Edited By Joshtek on 16/05/2006

First I would like to note that this is "true" split screen in the sense that it does not require you to replicate all your objects, use subapps, etc. Just two events and the right application properties can allow for two "viewports" to be used to focus on different parts of the screen which can scroll independently. You can even put elements such as scores and messages in front of both viewports so that they don't move (see screenshots).

The three main premises of this MMF 1.5 split screen example:
1. The ViewPort object (beta) can be used to "copy" parts of the rendered playfield.
2. Setting the window size to the frame size, and then making the window smaller using the Window Control object means that the whole frame is rendered (LIJI's idea).
3. You must set aside the first few hundred pixels to the ViewPort objects so that they don't accidentally copy each other's output.

With that in mind, you can truly split the screen however you want. The only downside that I can see is that because the whole frame has to be drawn then slowdowns may occur on memory-intensive frames.

Note: If you want to create new objects then you will have to use the layer object to bring the viewports to the front of the screen.

You can get the ViewPort object (by Andos) from http://www.clickteam.com/CTforum/showflat.php3?Cat=&Board=study&Number=297583


Review This Download



    


http://www.clickteam.com/CTforum/showflat.php3?Cat=&Board=upload&Number=297887 (268kb )



Posted by DELETED!_by account owner 9th May, 2006

Um cant u just do all that like 10* easier by using sub apps?
 
Posted by DELETED!_by account owner 9th May, 2006

Cause then its not gonna slow down.. and you dont need some random non vitalized extension.
 
Posted by Joshtek 9th May, 2006

The problem with sub apps is that they are not synced.
 
Posted by DELETED!_by account owner 9th May, 2006

O yes it is lol. Then this is worthy of a thumbs up
 
Posted by Bo Fu 11th May, 2006

This is great stuff! Not only that, but EVERYTHING you've done with the Click prodcuts is darn impressive.
 
Posted by Joshtek 12th May, 2006

Thank you Bo Fu, although I must mention that my work on the MMORPG Smiley House was as part of a collaborative project, and so I can't claim all the credit (in fact, most of it should go to Code6226).
 
Posted by Reno 21st May, 2006

Cool. Looks good. are there any downsides though? This looks like it is too good to be true!
 
Posted by 21st May, 2006

kewl

 
Posted by DistantJ [FZ Games] 21st May, 2006

Does this cause slowdown? Because if not it's a very good method.
 
Posted by DistantJ [FZ Games] 21st May, 2006

Hm. Problem with this is the level size will be limited to the size of your desktop (unless an MMF application window can be made bigger than that).

You have to have the window the size of your actual frame, then use the window object to shrink it down to size. If you have different sized frames or the frames are larger than your desktop resolution, you could have problems...
 
Posted by DistantJ [FZ Games] 21st May, 2006

*Triple post*

Wait - I just checked, and making windows larger than the desktop is possible, so that's handy. Providing it doesn't cause MMF to chomp up all the memory or crash or freeze up on some people's PC's.

Very thoughtful method. Good job!

I never knew about this extension, it's cool. Seems handy for zooming and stuff.
 
Posted by Andos 1st June, 2006

You could check out the Clickteam forums once in a while to catch up on the newest extensions
Posted here: http://www.clickteam.com/CTforum/showflat.php3?Cat=&Board=study&Number=297583

I'm kinda surprised that nobody actually e-mails me requests for making the extension vitalized if people want to use it. If people request me to, I'll send the source code to Yves so he can get it vitalized and uploaded to the official servers.

You can find my other extensions here in case you wanted to check them out :
http://andos.stiaxies.net/extensions.php

 
Posted by Disthron 27th January, 2009

Wow, this looks pretty cool.
 

 



Author

Favourite



Advertisement

Worth A Click