Code Monkey home page Code Monkey logo

kbengine_unity3d_warring's Introduction

kbengine_unity3d_warring

##服务端引擎: http://www.kbengine.org

QQ交流群

群1: 16535321 
群2: 367555003

##GO!

##创建AssetBundles

unity3d(菜单上)->Publish->Build Pulish AssetBundles - autoAll

期间可能一直出现"Moving file failed", 需要点击"try again"让其继续, 
这可能是unity3d在移动文件时文件被占用造成的。
执行完毕后检查 Assets->StreamingAssets是否有内容。

生成服务端寻路数据:
选中: Assets->Nav_build->xinshoucun->NavmeshBuild->Build & Bake, 等待生成完成之后
选中: Assets->Nav_build->xinshoucun->CAIBakedNavmesh->Save, 将其中srv_xxx.navmesh放到服务端kbengine\demo\res\spaces\xinshoucun中

##Build:

unity3d File->Build Settings->Scenes In Build选择scenes/go.unity->Platform

选择Web Player->Build。 

Web服务器部署文件夹结构

->(服务器根目录)
	- StreamingAssets (创建AssetBundles生成的文件夹)
	- ui (Assets下的ui文件夹可以直接拷贝过来)
	- crossdomain.xml
	- initLogo.png
	- initProgressBar.PNG
	- initProgressFrame.PNG
	- index.html
	- Unity3d.unity3d (在unity3d编译时生成的文件)
	- Unity3d.html (在unity3d编译时生成的文件)

##运行:

1. 启动kbengine服务端

2. 浏览器访问localhost

如不清楚请下载发布版demo, 并按照其中的文件夹结构放置并看压缩包内文档教程如何启动:

https://sourceforge.net/projects/kbengine/files/

##日志:

Windows XP: C:\Documents and Settings\username\Local  Settings\Temp\UnityWebPlayer\log

Windows Vista/7: C:\Users\username\AppData\Local\Temp\UnityWebPlayer\log

##warring截图 warring项目运行效果 warring项目运行效果 warring项目运行效果 warring项目运行效果 warring项目运行效果 warring项目运行效果 warring项目运行效果

kbengine_unity3d_warring's People

Contributors

kbengine avatar

Watchers

James Cloos 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.