Documentation
Ask or search…
K
Links

Survival

Overview

The following documentation provides an example Unity project called “Survival” which has been partially converted to benefit from the Tashi Network Transport (TNT) solution.
It is not a complete migration of the full game but this example shows you the necessary steps required to convert your survival game to Tashi TNT.
The samples provide two network options
  • Local network
  • Relay server

Preview

  • A video tutorial will be available soon

Pre-built binaries for Windows

Survival Build-20231006T132131Z-001.zip
42MB
Binary

Prerequisites

  • Unity version 2021.3.26f1 or higher.
  • TNT version 0.3.2 (download here).

Key components

Service
Description
Sign in
Get started by signing in to your account, ensuring a personalized gaming experience.
Lobby
Serves as the main game hub, and provides a continuous connection between players.
Network player
Network player is your character prefab. When assigned, the Prefab will be instantiated as the player object and assigned to the newly connected and authorized client.
Tashi Network Transport
Tashi Network Transport (TNT) seamlessly integrates with Unity's Netcode for GameObjects. There's very little you need to alter in your game, apart from importing the plugin.
Game manager
Build and debug
Peer to peer
Enables players to host game sessions locally that others can connect to through matchmaking.
Gameplay
Players collaborates to gather resources and construct structures.