Author Topic: Help with Two Players  (Read 6926 times)

GameDeveloper

  • Guest
Help with Two Players
« on: 2005-12-20, 10:48:35 PM »
  I was working on my new 2 player game and finally decided to test it.  When I did, I tried switching to the next map with player two.  this didn't work, so I tried agian with player 1 and agian, it didn't work.  Can somebody help me with this script?  maybe alter it, if you don't mind?  I really need to be able to switch to a new map with at least player1.  Now, I know in the previous thread about this new script, Bluemonkmn stated that he didn't finish it enough for the switch map function to work, and I understand.  I was just wondering if anyone out there who knows how to script could finish it for me [and others who want to use it]?

   It would be greatly appreciated.  I attached it to this post if anyone would like to help.

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: Help with Two Players
« Reply #1 on: 2005-12-21, 06:04:31 AM »
It looks like you've got the old 2-player script there.  Try the latest GD2Player.zip from http://gamedevprj.sf.net/files/ and make sure the zip is 7k after you've got it downloaded (at least 7,000 bytes).  If not, you might have to empty your internet cache and try downloading again.

GameDeveloper

  • Guest
Re: Help with Two Players
« Reply #2 on: 2005-12-21, 11:30:26 AM »
   I'm sorry I must have attached the wrong file.  The new two player script has it where neither the second or first player can switch to a new map.  Could you, or someone else, fix that script?

EDIT: I downloaded both, to make a comparison, and they seem like they are the same thing.  Maybe that's just me, but could you or someone else go into the new one and alter it so that player one may be able to switch to a new map?
« Last Edit: 2005-12-21, 12:21:08 PM by GameDeveloper »

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: Help with Two Players
« Reply #3 on: 2005-12-21, 10:15:19 PM »
Hmm... I'm part way there.  I got it so that when player 1 goes through the door, Player 2 shows up on map 2 with none of the previous error messages, but then I can't move anybody.  Not sure what's wrong yet and it's too late to figure it out tonight.  Maybe I'll come back at it later.

GameDeveloper

  • Guest
Re: Help with Two Players
« Reply #4 on: 2005-12-21, 10:42:05 PM »
Well, thank you for your help and I hope to see it fixed soon! :)  I really don't want my next game consisting of only one map, if you know what I mean.  that would be kind of a short game[considering the first map is supposed to be short].

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: Help with Two Players
« Reply #5 on: 2005-12-22, 07:01:24 AM »
OK, I got it working this morning and the updated file is posted.  Either player 1 or player 2 can cause the current map to switch (unless you prevent it with inventory).  Maybe someday I will figure out how to let player 1 continue to play on the old map while player 2 is playing on the new map, but for now, they are both being forced to play on the same map.

GameDeveloper

  • Guest
Re: Help with Two Players
« Reply #6 on: 2005-12-22, 11:15:12 AM »
That final comment would actually be really cool, it could be in like a town.  When one player goes in a door, they are in that house/shop/inn and the other player is still searching through the town.  It could be like they split up to search the whole town.  However, for now, the script is just fine.  Thanks for fixing it!  Now my new game is at least playable.  ;)

GameDeveloper

  • Guest
Re: Help with Two Players
« Reply #7 on: 2005-12-23, 01:11:00 AM »
I'm terribly sorry about being so bothersome, but if you could find the time at all could you make it so you can save and load a game with two players?  I was hoping to make this game long, and open-ended, and if you can't save or load, well...that kind of defeats the purpose.

Agian, please could you help sometime and implement saving and loading with two players?  I know i sound picky, but i just found it out when testing this evening.

Thank you, if you care to help.