Author Topic: Multiple Scene Networking  (Read 3432 times)

Noonchi

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
Multiple Scene Networking
« on: March 05, 2014, 07:11:58 PM »
Is it possible? If so can I get a bit of an example? I'd like to be running two different scene on two different devices and have a networked object in each that can communicate between them. My reason for this is because first off I can keep clean separate scenes for different game types. For example, could I get a player in a FPS scene moving around then in a completely different device play a different scene in the same game that sends messages to the FPS and vice-versa? Thanks. Loving the software so far.

-Noonchi

Noi14

  • Jr. Member
  • **
  • Thank You
  • -Given: 10
  • -Receive: 0
  • Posts: 57
    • View Profile
Re: Multiple Scene Networking
« Reply #1 on: March 06, 2014, 05:25:37 AM »
You can use same channel on different scene

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Multiple Scene Networking
« Reply #2 on: March 06, 2014, 12:30:33 PM »
If you are in different scenes, then you should also be in different channels. You can still communicate, just not via channel-based communication. Instead you will need to use broadcasts -- tno.Send("abc", Target.Broadcast), or direct private messages -- tno.Send("abc", targetPlayer).