Skip to content

wangzeshen/PanzerWar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

请注意:这个仓库使用Git-lfs 请先Fork 然后在 Clone 不然我的lfs 流量会被用完的!!!

Note:This repository is using Git-lfs. Please fork the repository before cloning.Otherwise,my persional bandwidth will be used up!

About-storage-and-bandwidth-usage on GitHub

license AppVeyor

Synopsis

An open source tank game made by Unity3D game engine.

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.


GameScreenShot

Installation

Clone

  1. Install git large file storage Download git-lfs
  2. Fork to your repository and clone from your repository!

Then open the project with Unity3D (Unity 2017.x)

Build AssetBundles

  1. Open menu Tools/ShanghaiWindy/Build/SceneBuilder .
  2. Switch platform to your building target.
  3. Click Relaod Cooked Scene Data.
  4. Click Label Assets .
  5. Click Build Sub-Assets.

Then you can run the game from scene "StartUp"

Reference

Wiki

WIKI Page on GitHub : View it

Tutorials

1.Vehicle Configures in Unity3D Videos on YouTube or Bilibili

Demo Codes

Instantiate existing vehicle.

GameScreenShot

Code

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 
	}

}

Contributors

Wang [Doreamonsky]

Kovalenko Vlad

About

An open source tank game

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 97.6%
  • ShaderLab 1.4%
  • Other 1.0%