🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Game dev team sharing code

Started by
4 comments, last by Glass_Knife 9 years, 7 months ago

hey! i have recently started making a game with a friend on unity, but its really hard to share the code. right now we just send the project file back and forth thru skype. but this means only one of us can code or test something at a time. is there any better ways other devs know so we can both code and work on the same file or something better.

Advertisement
Its called version control. Something like git or svn will do you wonders

Also, most free version control hosts are limited to open source projects. If you want to keep your stuff private you'll need a private hosting provider. One of the site's partners, Assembla, offers 1GB of private hosting for free. Scroll to the bottom of any page and pick the Assembla link for more info.

if you decide for SVN, and you are working under Windows, check out tortoise SVN. It is one, if not the best SVN Client for Windows, and is neatly integrated into the Windows Explorer (I know, some people don't like that, so might be just me that likes that a lot).

Make sure you read into how to use it, and make sure you and your pal both agree on guidelines. Merging back file changes done synchronously can be a HUGE pain (depending on where in the file the changes are... if both changed different lines, the merge might be completly automatic (though the tool will of course not be able to check if the file still compiles, for example)).

A good practice, if you don't want to access the same files at the same time, is to activate file locking, which makes SVN prevent others from commiting changes to files you have locked to work on them.

But I am going to far now, guess this is getting to advanced :)

If you are on Windows using Visual Studio there is a free version of the Team Foundation Server for up to 5 developers.

With the recent release of VS Community 2013 this is an even morning viable option with the exposure of VS addons for free. There are addons for SVN, and git for full integration with the IDE as well.

https://bitbucket.org/plans

BitBucket from Atlassian (the guys who make JIRA), has free public and private hosting of Git repositories for 5 people or less. I've been using it for a while now and I have not had any problems.

Also, their GIT applications takes some of the sting out of learning. The Git GUI is called SourceTree.

http://www.sourcetreeapp.com/?utm_source=bitbucket&utm_medium=link&utm_campaign=bitbucket_footer

I think, therefore I am. I think? - "George Carlin"
My Website: Indie Game Programming

My Twitter: https://twitter.com/indieprogram

My Book: http://amzn.com/1305076532

This topic is closed to new replies.

Advertisement