Imgur Slideshow

Unity Webplayer

Development News: We are using Subversion Hosting for ProD!

The other day I had the chance to upload the latest ProD project on a SVN host for other programmers. We are members at https://www.assembla.com/ and we are using http://tortoisesvn.net/ to access our files. If you are using Unity3D or any other project for that matter I highly recommend you guys take a look at how this works. Also here's a small tutorial I received from a former colleague and modified for those who are interested in using.

What is SVN: SVN is a version control system, it keeps track of the changes being made on a project in a central location; the users can update from or commit changes to this central location. If files are edited simultaneously by multiple users they will either have to be (in case of text/code etc) merged or (when it comes to binary files such as images) replaced by the most recent version. In case of uncertainty, make a local backup of the file and commit using theirs; don't break the code base.

1. Download TortoiseSVN from http://tortoisesvn.net/downloads.html 
2. Install it.
3. Make a folder in a proper location on your pc with a name such as 'SVN Folder' or any other name.
4. Right click on 'SVN Folder' and select the SVN Checkout option.
5. Adjust the settings you should put in:
- 'Checkout Depth' as Fully recursive
Revision as HEAD revision
- Click OK
6. You are now the happy owner of a copy of the repository. Now we want Unity3D to keep the prefab references when we commit updates. Go ahead to Edit>Project Settings>Editor and change Version Control mode to Meta Files. This will make things easier for SVN.
7.If you open your SVN folder with Unity3D it will create a 'Library' folder, then you need to right click on the library folder in the explorer and select Unversion And Add To Ignore List
8. When you changed something in the project, right click on the 'trunk' folder, located inside your  'SVN Folder,' and select 'commit.'
9. if you want to have the latest version, right click on the 'trunk' folder and select 'update'. If you only want to update a specific file, right click on that file. etc. you can figure out the rest.
PS: Always use the Ctrl + S shortcut to save your scene and metadata in Unity before committing.

No comments:

Post a Comment