GithubHelp home page GithubHelp logo

zfscgy / panzerwar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 11one/panzerwar

0.0 0.0 0.0 233.94 MB

An open source tank game

License: MIT License

C# 94.08% Perl 0.01% ShaderLab 2.55% Objective-C 0.90% Smalltalk 2.00% JavaScript 0.01% HLSL 0.46%

panzerwar's Introduction

license AppVeyor

Synopsis

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.


GameScreenShot

Installation

Clone

  1. Install git large file storage Download git-lfs
  2. Use git command: git clone https://github.com/Doreamonsky/PanzerWar.git

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 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 2.videos for beginner. Videos on YouTube

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

panzerwar's People

Contributors

doreamonsky avatar zfscgy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.