The Daily Click ::. Forums ::. Klik Coding Help ::. split screen TGF
 

Post Reply  Post Oekaki 
 

Posted By Message

Robageejammin



Registered
  21/03/2005
Points
  17
22nd May, 2005 at 16:21:20 -

What's the best way to make a vertically split screen game given the following. The game itself involves lots of just jumping upward to get to the top which is why its virtically split. The two players will never interact with eachother or be on the same playfield but the trick is that I want the camera to move seperately for both players. So in other words, I want the camera to be centered on both of the players which have their own screens. Any suggestions?

 
This curse is more cursedly curse-worthy than any curse that's ever cursed you!

tdc052621



Registered
  20/12/2002
Points
  908
22nd May, 2005 at 17:52:53 -

hey im posting from my xbox. split screen has been tried before . its hard to get it right.

 
n/a

Hernan



Registered
  04/03/2003
Points
  707

VIP Member
23rd May, 2005 at 05:43:44 -

I've seen some examples in TGF. (look for it in the CT boards) And I think they're all crap. You center the window to two objects. It always involves with moving a lot of platforms as active objects. In your case, it's a lot easier because the players won't meet eachother. It really depends on what your making.

So I think it's best for you to look up one of those examples and start messing the active objects.

 
This space is for rent

Robageejammin



Registered
  21/03/2005
Points
  17
24th May, 2005 at 11:05:54 -

ah ok. Ill probably just end up making up my own simple one if its all about moving the background. Thanks for the help though.

 
This curse is more cursedly curse-worthy than any curse that's ever cursed you!

Hernan



Registered
  04/03/2003
Points
  707

VIP Member
24th May, 2005 at 11:24:54 -

BTW I misspelt something. "You center the window to two objects" --> "You CAN'T center the window to two objects." Sorry.

Image Edited by the Author.

 
This space is for rent

Zi-Xiao



Registered
  29/07/2002
Points
  537

VIP Member
25th May, 2005 at 09:50:28 -

u can use the sub-application object and resize the windows so that they take up half of the screen. Your images will be stretched thou...

 
n/a

Hernan



Registered
  04/03/2003
Points
  707

VIP Member
25th May, 2005 at 10:16:56 -

There's no sub application in TGF, remember?

 
This space is for rent

Brian Haase (FSP)



Registered
  22/01/2005
Points
  691
25th May, 2005 at 12:37:53 -

Jerry: If you design the game to be split screen it won't be - Just make your game window like 640x480 and the game engine frame (that the subapp is showing) be 640x240. Or 320x480. Something like that. It'll look just fine then.

 
Current Projects:
Bomb Squad (Total Progress - 3%)
:: Current Task Progress: 40%
:: Current Task - Level Editor Shell

Airflow

imafirinmahlazr

Registered
  24/09/2003
Points
  -197

VIP MemberSonic SpeedSnow Cloud!Computer
26th May, 2005 at 23:04:12 -

Actually, there could be a ( sort of ) sub application in TGF- It's just a bitch to make.

You can create a sepearte game file with the nessesary game
elements and have it's screen position relitive to the other.

One game might be able to access the other by simply opening it from the story board.(If that doesn't work, you may be able to do it by opening it with the 'File' object.

The interaction between the two can be achieved by storing the needed values(such as the screens current size or the second players X,Y position) in an INI file which both access.

Hey, I might make a game demo!

 
n/a

guri-n ha



Registered
  16/04/2005
Points
  245
27th May, 2005 at 04:24:42 -

I have 3 examples for Split screen, but there is no way at the moment for me to mail you them, sorry

 
n/a

Airflow

imafirinmahlazr

Registered
  24/09/2003
Points
  -197

VIP MemberSonic SpeedSnow Cloud!Computer
27th May, 2005 at 08:25:29 -

Uhhh... Scratch that. Only one .exe can have control input at a time.
Split screen needs two.

 
n/a

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
27th May, 2005 at 11:21:25 -

Apparently the only way is to make all active object scroll together manually and make different objects for each characters movements. If you dont let the objects scroll left and right then they will never cross the line.

The only other solution is to get MMF, that way you can have seperate scrolling windows for each character.

 
.
   

Post Reply



 



Advertisement

Worth A Click