Jump to content


Photo

39DLL Passing variables bettwin players


  • Please log in to reply
3 replies to this topic

#1 nirorg1

nirorg1

    GMC Member

  • New Member
  • 10 posts
  • Version:GM8

Posted 10 July 2012 - 10:35 AM

hello, i got another problem in my game (as i said in my another problem's topic, my english is not the best, so try to understand me please)
okay, so i need to pass variable between players, i mean, i have 2 players in a room, if a player pressed on something, the turn changed to the second player.
my problem is that when i'm changing the variable global.gameturn from 0 to 1, it's not effective on the second window (i can see the change only in the first player).
sry if u didn't understood me,
Thank you :happy:
  • 0

#2 filulilus

filulilus

    GMC Member

  • GMC Member
  • 928 posts
  • Version:GM:Studio

Posted 10 July 2012 - 10:51 AM

Sadly, it's not that simple :tongue:

I think you need to take a look at the examples that are included with 39DLL.
They will teach you how to setup a connection between 2 computers (or 2 clients on the same computer).
and how you send/recive data between them :thumbsup:
  • 0

#3 nirorg1

nirorg1

    GMC Member

  • New Member
  • 10 posts
  • Version:GM8

Posted 11 July 2012 - 06:05 AM

i have downloaded the 39DLL from a tutorial (in youtube), so i have just the DLL and the scripts (gmres files)
i d'ont have those tutorials, where i can download them?
thannks :)
  • 0

#4 filulilus

filulilus

    GMC Member

  • GMC Member
  • 928 posts
  • Version:GM:Studio

Posted 11 July 2012 - 08:45 AM

Here
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users