Author Topic: Video Tutorial #2  (Read 3643 times)

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Video Tutorial #2
« on: February 23, 2013, 10:03:02 AM »
This is a second video tutorial showing how to use TNet. In this tutorial I create a networked game from scratch and write all the supporting code for you to see.

http://youtu.be/cTjy-L8C6WM

danreid70

  • Newbie
  • *
  • Thank You
  • -Given: 4
  • -Receive: 0
  • Posts: 24
    • View Profile
Re: Video Tutorial #2
« Reply #1 on: February 23, 2013, 08:36:39 PM »
VERY informative vid! I just watched it and it already cleared up a couple things I've been fuzzy on. I like the new auto instantiate function! And I saw where you mentioned using "@TNet.RFC" -- you just helped me with that one a few posts ago. ;)

Also using INTs instead of strings for RFC calls: good idea there! Code-wise, using enumerators makes good sense.

Looking forward to the next tutorials! Starting and joining channels would be another good choice (not that you haven't been bombarded with requests for that one enough already ;))...

Maybe a tutorial for combining a menu created with NGUI for selecting a channel and starting game, with a chat using NGUI and TNet - kill 2 birds with one stone and generate some really good reasons for customers to get both if they don't already have both (fat chance of that, I know - who here doesn't already enjoy NGUI? ;))...

Great job as always, Aren! Now I gotta dig in and start putting this new knowledge to use in my game this weekend!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Video Tutorial #2
« Reply #2 on: February 24, 2013, 07:51:10 PM »
Starting and joining channels is the same thing -- TNManager.JoinChannel. If a channel is not present, it will be created. IRC-style.

Next tutorial covers custom packets: http://www.youtube.com/watch?v=cmc_oIWmroI