Author Topic: 2 player game  (Read 8292 times)

bat

  • Fanatic
  • ***
  • Posts: 234
  • Cheak out the B*t project
    • MSN Messenger - ethanbatmay@hotmail.com
    • Yahoo Instant Messenger - ethanbatmay
    • View Profile
    • The B*t project
    • Email
2 player game
« on: 2006-06-30, 03:55:33 PM »
is there ANY possible way to make a 2 player game in sgdk?  not splitscreen, not internet/lan, but 2 controllable players and only one moves the map? (like in the old sonic the hedgehog games sonic moves the map, tails can be controlled separately)
~bat

durnurd

  • Lead Lemming
  • Expert
  • Fanatic
  • *****
  • Posts: 1234
  • Games completed so far: 0
    • MSN Messenger - durnurd@hotmail.com
    • View Profile
    • Find My Ed
Re: 2 player game
« Reply #1 on: 2006-06-30, 05:05:52 PM »
That's much easier than two different players.  You just need a player sprite and another sprite controlled by script using keyboard input.
Edward Dassmesser

billybob884

  • Contributor
  • Fanatic
  • **
  • Posts: 355
    • AOL Instant Messenger - billybob884
    • View Profile
Re: 2 player game
« Reply #2 on: 2006-07-20, 06:39:54 PM »
if you understand hte basics of.. well. visual basics.. you can download my game and root through the script file and extract the left over 2player code left in the script.vbs file (i believe i left it in). or, if you have more ambition, you could look through some old posts, because most, if not all, of my game's script is somewhere on the forum.
"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move." :: Hitchhiker's Guide to the Galaxy

bat

  • Fanatic
  • ***
  • Posts: 234
  • Cheak out the B*t project
    • MSN Messenger - ethanbatmay@hotmail.com
    • Yahoo Instant Messenger - ethanbatmay
    • View Profile
    • The B*t project
    • Email
Re: 2 player game
« Reply #3 on: 2006-07-28, 12:55:53 PM »
is splitscreen possible then?
~bat

durnurd

  • Lead Lemming
  • Expert
  • Fanatic
  • *****
  • Posts: 1234
  • Games completed so far: 0
    • MSN Messenger - durnurd@hotmail.com
    • View Profile
    • Find My Ed
Re: 2 player game
« Reply #4 on: 2006-07-28, 01:06:16 PM »
That was the intent of the 2-player demo.  See: http://gamedevprj.sourceforge.net/files/GD2Player.zip
Edward Dassmesser

bat

  • Fanatic
  • ***
  • Posts: 234
  • Cheak out the B*t project
    • MSN Messenger - ethanbatmay@hotmail.com
    • Yahoo Instant Messenger - ethanbatmay
    • View Profile
    • The B*t project
    • Email
Re: 2 player game
« Reply #5 on: 2006-07-28, 01:18:57 PM »
sweet! thanks  ;D
~bat