Scripts/Networking

From Unify Community Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "{| align="right" | __TOC__ |} = Networking = *NetworkView_Position_Sync - Network position interpolation, extrapolation, packet timestamp preservation and more in non-...")
 
m
Line 1: Line 1:
 +
 +
{| style="width:100%; margin:auto; background:transparent;" cellspacing="0" cellpadding="0" valign="top" border="0" |
 +
| style="padding:0 .3em; background-color:#CEE0F2; font-size:90%; border:solid 2px #A3B1BF; text-align:center" width="8%" | {{{1|[[Scripts/General| General]]}}}
 +
 +
| style="border-bottom:2px solid #A3B1BF" width="1%" |  
 +
 +
| style="padding:0.3em; font-size:90%; background-color:#CEE0F2; border:solid 2px #A3B1BF; text-align:center" width="8%" | {{{2|[[Scripts/Controllers| Controllers]]}}}
 +
 +
| style="border-bottom:2px solid #A3B1BF" width="1%" |  
 +
 +
| style="padding:0 .3em; background-color:#CEE0F2; font-size:90%; border:solid 2px #A3B1BF; text-align:center" width="8%" | {{{2|[[Scripts/GUI|GUI]]}}}
 +
 +
| style="border-bottom:2px solid #A3B1BF" width="1%" |  
 +
 +
| style="padding:0.3em; font-size:90%; background-color:#CEE0F2; border:solid 2px #A3B1BF; text-align:center" width="8%" | {{{2|[[Scripts/Effects| Effects]]}}}
 +
 +
| style="border-bottom:2px solid #A3B1BF" width="1%" |  
 +
 +
| style="padding:0.3em; font-size:90%; background-color:#CEE0F2; border:solid 2px #A3B1BF; text-align:center" width="8%" | {{{2|[[Scripts/Physics| Physics / Simulation]]}}}
 +
 +
| style="border-bottom:2px solid #A3B1BF" width="1%" |  
 +
 +
| style="padding:0 .3em; background-color:#CEE0F2; font-size:90%; border:solid 2px #A3B1BF; text-align:center" width="8%" | {{{2|[[Scripts/Networking| Networking]]}}}
 +
 +
| style="border-bottom:2px solid #A3B1BF" width="1%" |  
 +
 +
| style="padding:0.3em; font-size:90%; background-color:#CEE0F2; border:solid 2px #A3B1BF; text-align:center" width="8%" | {{{2|[[Scripts/Sound| Sound]]}}}
 +
 +
| style="border-bottom:2px solid #A3B1BF" width="1%" |  
 +
 +
| style="padding:0 .3em; background-color:#CEE0F2; font-size:90%; border:solid 2px #A3B1BF; text-align:center" width="8%" | {{{2|[[Scripts/Development| Development]]}}}
 +
|-
 +
{|cellspacing="10px" valign="top" style="background:white; border-left:2px solid #A3B1BF; border-right:2px solid #A3B1BF"
 +
|-
 +
| valign="top"|
 +
 
{| align="right"
 
{| align="right"
 
   | __TOC__
 
   | __TOC__
Line 33: Line 69:
 
*[[Server]] - TCP network host, based on NetworkCursor, but expanded to do more.
 
*[[Server]] - TCP network host, based on NetworkCursor, but expanded to do more.
 
*[[Simple TCP/IP Client - Server]] - This contains source code for C# that you can use to create a server for Windows and a DLL in C# that you can use with Unity
 
*[[Simple TCP/IP Client - Server]] - This contains source code for C# that you can use to create a server for Windows and a DLL in C# that you can use with Unity
 +
 +
|}
 +
<div style="border:2px solid #A3B1BF;padding:.5em 1em 1em 1em; border-top:none; border-bottom:2px solid #A3B1BF;  border-right:2px solid #A3B1BF; background-color:#ffffff; color:#000;">
 +
 +
</div>

Revision as of 20:09, 10 October 2011

General   Controllers   GUI   Effects   Physics / Simulation   Networking   Sound   Development

Contents


Networking

  • NetworkView_Position_Sync - Network position interpolation, extrapolation, packet timestamp preservation and more in non-authoritative applications

WWW Scripts

  • CookieCutter - Access browser cookies from Unity web players.
  • CSVReader - Simple script to read CSV and TSV text files and output a 2D String array.
  • FeedMe - A simple XML "feed" displayer which uses TinyXmlReader
  • GetXMLHack - Get XML data into the web player using browser script instead of WWW() (which has been buggy for me!)
  • Json - Another JSON script
  • JSONParse - A robust, simple JSON Parser written in UnityJS.
  • MeshSerializer2 - Save Unity meshes to files for the Web, load them with WWW interface.
    • MeshSerializer - an old version of the same (simpler format, but larger file sizes)
  • MoreJSONScripts - Yet another JSON Script
  • PlayerPrefsx - ( Now obsolete in Unity 2.1) An extension to CookieCutter which allows you to save data in both standalones and cookies for the web without having to think about it.
  • Server Side Highscores - A complete tutorial for implementing a server side php script for storing high scores and how to post the scores to the server.
  • TextureBogusExtensions - lets you test a WWW texture to see if it is the "default error texture" Unity returns when the WWW result is not a valid texture.
  • UnityJsonFx - A fork of JsonFx that's been stripped down to work well in all Unity platforms.
  • UnityLitJSON - A fork of LitJSON that's been edited to work with Unity.
  • UnityObject - A nice & clean way to embed .unityweb in your web browser. Plugin Detection, Communication, Clean HTML
  • VersionCheck - A very basic version checker. This can be used to check if the version of the game the user is running is the latest, and if not, send them to a URL to download the latest.

Unity 1.x Networking Scripts

  • NetworkCursor - Serverless realtime networking. An example where one Unity instance controls another via a TCP/IP socket. Could be expanded to do many types of realtime networking.
  • Sender - Uses a Server to send data from the parent object to whatever is on the other end of the connection.
  • Server - TCP network host, based on NetworkCursor, but expanded to do more.
  • Simple TCP/IP Client - Server - This contains source code for C# that you can use to create a server for Windows and a DLL in C# that you can use with Unity
Personal tools
Namespaces

Variants
Actions
Navigation
Extras
Toolbox