Author Topic: LoadScreen  (Read 1536 times)

Elmo loves cookies

  • Jr. Member
  • **
  • Thank You
  • -Given: 60
  • -Receive: 1
  • Posts: 62
    • View Profile
LoadScreen
« on: August 04, 2016, 12:59:45 AM »
If I use "TNManager.JoinChannel()";
There have function loadLevel on join to channel. Can I add there LoadScene(for Loading screen)?
Or what the best way for this?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: LoadScreen
« Reply #1 on: August 05, 2016, 11:15:07 AM »
You can pass an empty string to JoinChannel as the scene name, and TNet won't be loading any levels, leaving it up to you.

In Windward my game scene had a loading screen UI shown right away, and the scene itself didn't have anything in it. All the content for the scene would get added when the scene started up.