An open source tank game made by Unity3D game engine.
查看中文版ReadMe: 点击查看
Panzer War used to be a commercial mobile tank combat game. However,the developer won't have much time to work on it.So the online servers are stopped,and the game become an open source one.
- Install git large file storage Download git-lfs
- Use git command: git clone https://github.com/Doreamonsky/PanzerWar.git
Then open the project with Unity3D (Unity 2017.x)
- Open menu Tools/ShanghaiWindy/Build/SceneBuilder .
- Switch platform to your building target.
- Click Build Sub-Assets.
Then you can run the game from scene "StartUp"
WIKI Page on GitHub : View it
1.Vehicle Configures in Unity3D Videos on YouTube or Bilibili 2.videos for beginner. Videos on YouTube
using UnityEngine;
public class illustration : MonoBehaviour {
void Start () {
GameDataManager.OfflineMode = true; // Use offline
GameObject newVehicle = new GameObject("Vehicle");
TankInitSystem initSystem = newVehicle.AddComponent<TankInitSystem>(); // Add vehicle init system
initSystem.VehicleName = "T-44"; //Set vehicle name
initSystem._InstanceNetType = InstanceNetType.GameNetWorkOffline; // Switch vehicle to offline mode
initSystem.BulletCountList = new int[3]{ //Set Bullet counts
35,15,5
};
initSystem.InitTankInitSystem(); // Load all data
}
}