- Home /
How can I update my game client after release?
I want to make a MMO game,but I worry about game update function.I do not know how can I update my game client to add some new scripts,models,textures and so on.
I want to re-import Assets after game release.The update data can download, and import through update.exe.
On other project, I update client like this way : unpack resourse --->add new resoures---->pack resourse--->replace .exe file,but in unity3d, I can't unpack .assets file, does unity have a tools such like this?
And, does have any way to change unity3d build folder structure? I found unity pack all file into .assets files. Can any tools can change it?
Easiest way would be to simply send players whole new client downloads. Also look into using asset bundles for additional content.
@spinaljack, might mention that AssetBundles are a Pro-only feature.
there should be some script somewere that access the server. then check the last modifiyed date and if its above he current one it will auto download. well that is a thought anyway
http://unity3d.com/support/documentation/ScriptReference/AssetBundle.html I dont see "PRO requirement" ?
Answer by drawcode · Nov 30, 2010 at 06:48 AM
1) Asset Bundles are one way, bundles created from the same project as the one they will be loaded into can have script applied.
2) Loading textures dynamically is another.
// Get the latest webcam shot from outside "Friday's" in Times Square var url = "http://images.earthcam.com/ec_metros/ourcams/fridays.jpg"; function Start () { // Start a download of the given URL var www : WWW = new WWW (url);
// Wait for download to complete
yield www;
// assign texture
renderer.material.mainTexture = www.texture;
}
3) Mesh can also be added dynamically from text by serializing mesh
4) Another might be to create a dynamic unity scene that only has a 'Code' node and then attach a script that loads in configs from local or web (i.e. in a JSON or XML file). Based on those configs you dynamically create all objects in script/code by downloading asset bundles or objects such as textures, meshes, configs.
Certain areas could be managed with any one of the above options individually or combined.
But the best option is to probably do assetBundles and using them from the same project when you export them to use script across them.
Answer by Max Kaufmann · Aug 02, 2010 at 05:52 PM
Occam's razor -- host in the web player and cachebust?
Answer by pocikanec · Nov 23, 2010 at 04:02 PM
Simply, try to learn other programming language, such as VisualBasic (Visual Basic 2008 Studio), it is very simple and you can make your own updater. It can download files, unrar them to selected folders & etc... Very powerfull language, i have maked something like that (updater for my other program).
Or publish your game via Unity Web Player.
Answer by StrongGuy · Aug 01, 2015 at 02:27 AM
JavaScript Binding for Unity3D https://www.assetstore.unity3d.com/en/#!/content/25497
Your answer
