Jump to content

- - - - -

Dynamic Co-op Screens

  • Please log in to reply
2 replies to this topic

#1 Ventwig


    GMC Member

  • New Member
  • 279 posts

Posted 26 January 2012 - 09:43 PM

  • Title: Dynamic Co-op Screens
  • Description: A co-op viewing engine that dynamically involves split screen, single screen, and a minimap!
  • GM Version: :GM81:
  • Registered: Minimap only, but it can be avoided by replacing "draw_self"
  • File Type: .zip with a .gm81 - Needed for minimap's draw_self()
  • File Size: almost 1MB
  • File Link: http://www.mediafire...cs9sv3wttpss3cu
  • Video: http://www.youtube.c...h?v=jUp-m3ckn-Y
  • Credit: Required
This little code package will give you a dynamic split screen!
The dynamic split screen is for two player co-op games, but can be used
in versus games. It takes a view to follow player1, then when player2 is far
enough, it will separate them into two different screens by a zooming effect!
And when they go back, it zooms back into the single view!
There is also a minimap that will slide to a new position if it's in normal, or split view!

Setup Information
  • You will need 3 (four if you want a minimap) views
  • Set the first view (one with least priority) to however - this is the main view
  • Set up the next two to split the screen directly in half horizontally. Make sure the total up in both dimensions to the size of the main view
  • Set up a smaller view that sees the whole room (or how much you want) This will be the minimap.
  • Make argument 4 of this script a near half of the room's smallest dimension
  • Only the main script in player 1's step event
  • Set the origin of your map range sprite to map the player for exact range.
  • Make sure you don't have a split_done local variable for player 1
  • Please make an option to disable the dynamics. It may get some dizzy.

Script Placements
There are 3 scripts, and their arguments and explanations are explained
below, but you should name them and place them where they're indicated.
view_splitter - goes in player1's step event
view_start - goes in player1's create event
view_map - if you want the minimap, this goes into both player's draw events. draw_self is packed with this script.

view_splitter has 12 arguments:

Update Info

Update Plans

Known Bugs
None Yet :biggrin:

Edited by Ventwig, 27 January 2012 - 02:10 PM.

  • 0

#2 tautvydas15


    GMC Member

  • New Member
  • 12 posts
  • Version:GM8

Posted 19 March 2012 - 04:02 PM

please please please can you give me 8 pro gmk file i cant open 8,1
  • 0

#3 Ventwig


    GMC Member

  • New Member
  • 279 posts

Posted 27 March 2012 - 08:03 PM

please please please can you give me 8 pro gmk file i cant open 8,1

I'm so sorry (especially for replying really late), but I don't have GM8 pro.
I do think I still have the lite, but it won't be compatible to open :(

Oh, I know!
I'll copy the scripts and stuff, and then the sprites manually, and then make the file!
I'll try that soon!

Sorry, I think I deleted the lite actually.
If any wants, they could do that :)

Edited by Ventwig, 05 April 2012 - 09:20 PM.

  • 0

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users