The Daily Click ::. Forums ::. Klik Coding Help ::. Split-screen in the games factory
 

Post Reply  Post Oekaki 
 

Posted By Message

kjarom



Registered
  08/06/2004
Points
  805
28th July, 2004 at 22:54:54 -

Hey guys, does anyone know any ways for 2-player or 4-player split screen multiplayer games to be coded? I've tried and tried, but nothing comes close to working. Thanks a bunch!

 
You now rockin wit a pro

:JULI@N:



Registered
  14/07/2002
Points
  641
29th July, 2004 at 00:04:27 -

You make two different "games".
In each one, the window centers in a different player.
Just in one of the windows things actually happen.
In the other, the sprites are just positioned where their counterparts in the main window are via x and y coordinates saved in an INI

 
n/a

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
29th July, 2004 at 01:13:43 -

You forgot to tell him to use subapps. You can also use the sharedata object to send information. If you know how to program online games then splitscreen is easy.

http://www.create-games.com/article.asp?id=564

http://www.create-games.com/article.asp?id=561

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

:JULI@N:



Registered
  14/07/2002
Points
  641
29th July, 2004 at 01:31:15 -

are there subapps in TGF?

 
n/a

Crystal Clear (H.E.S)

Possibly Insane

Registered
  06/10/2002
Points
  2548
29th July, 2004 at 03:35:16 -

cant you just use Global Values? or the Global function object to send co-ordinates?

 
HES homepage:
http://www.distinctiv-efair.com/heretic/studios
Crystal Clear Productions: http://www.distinctiv-efair.com/heretic/crystalclear

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
29th July, 2004 at 07:45:37 -

Good luck if you're trying to do it in TGF, it's a lot harder than it's worth

 
n/a

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14560

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
29th July, 2004 at 13:25:02 -

basically its impossible to split the screen in tgf

but you can still do two players where one half of the level scrolls independantly from the other, that is done with active objects, lots of active objects

 
.

Retired Kliker Lazarus

The Ed Wood JR of TDC

Registered
  18/07/2003
Points
  7363
30th July, 2004 at 15:04:01 -

I suggest that you buy MMF. It's almost impossible to do a split screen in TGF. I tried it in TGF (when I used it) and it took me forever. I finally settled with splitting the screen in half. Then I added the two players (player one and two on the bottom and two and one on the top). But the screen has to be identicle to the bottom/top, and that could take awhile. Again, get MMF, it makes everything easier. Good luck...

 
Fine Garbage since 2003.
CURRENT PROJECT:
-Paying off a massive amount of debt in college loans.
-Working in television.

DistantJ [FZ Games]



Registered
  02/08/2004
Points
  855
2nd August, 2004 at 19:44:44 -

I achieved it before by creating an artificial level out of active objects, and moving the level around the player rather than moving the player, but it's very artificial and jam packed with limitations. You can't have vertical scrolling and such. It kinda ruined the gameplay, seemed more of a 'show off what you can do, regardless of how awfully robotic it plays' than a fun game, something common especially in Sonic fangames.

I guess the only substitude for MMF's Sub-applications would be, as JULI@N sad. amd to create two different 'game' files and copy the events over via an INI file, but that's extremely complex, time consuming and unless you got a supercomputer it eats the RAM like PacMan eats dots, and slows down real bad.

If you really badly want to do so, get MMF and learn to use Sub-Applications, and it'll be a breeze.

 
http://www.fzgames.com
   

Post Reply



 



Advertisement

Worth A Click