Source Control / ALM

Discussion and feedback on Construct 2

Post » Wed Nov 07, 2012 4:59 am

Does anyone use Git, GitHub, TFS, CVS, Subversion, Bitbucket or others for Construct projects? Considering the project file is a single file, I don't see how to let others work on the project at the same time.

Any thoughts on this?

Right now I just Dropbox.
B
30
S
10
G
7
Posts: 416
Reputation: 7,239

Post » Wed Nov 07, 2012 9:08 am

I always wanted to test out using SVN with Construct 2 projects as I save mine as a whole project folder instead of a single file archive. I tried once to amend the project settings and event sheets in the xml format and ran it. I'm able to open the project but unable to export.
@Ashley: Is there some sort of hashing done to prevent amending the project files directly via xml?
If I can amend the files directly then source control would not be a problem as I can diff and merge.
B
7
Posts: 38
Reputation: 683

Post » Tue Nov 20, 2012 6:12 am

So far I have being doing the scheduled backups with Dropbox. But reading more is a good practice (an probably a must) to use Source Control in Game Development. I don't have much experience with it I will try SVN (tortoise) or GitHub to see what it's better. It would be cool if someone with more experience can do a tutorial about this.
B
4
Posts: 5
Reputation: 335

Post » Tue Nov 20, 2012 6:20 am

I could dig into it. I did ALM work for enterprises for a while. Mostly using TFS 2010 or Rational Clear tools. The concept is the same, but it might be more difficult given the single file nature of the beast.
B
30
S
10
G
7
Posts: 416
Reputation: 7,239

Post » Tue Nov 20, 2012 10:07 am

@firebelly - Not true, you can always save the project as a project folder. But I'm more concerned whether there are compatibility issues on the project files by Construct 2 when I amend the files by text editors, since that is how diff and merge for source control usually work.
B
7
Posts: 38
Reputation: 683

Post » Tue Nov 20, 2012 12:09 pm

Indeed, working on project as a folder does sound like the correct way to go with source control system and C2.

This very week end I participated in a jam with several persons over the internet and it's true that a good system and work flow would have helped us greatly.

A few years ago I've read the first chapters of subversion's documentation, but never went further more than installing and hardly toying with tortoise and never really setted up a server.

If anybody can provide feedback or resources on how to configure that kind of setup for working on C2 projects I'd be grateful and willing to try it.
Does github allows for "private" (as in non open-source and if possibly not publicly reachable) projects/accounts ?
Do you know of any service that would ?

And if paying services are the only solution what are the best in quality/price ratio in your experiences ?

Thank you in advance.Kyatric2012-11-20 12:10:23
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,805

Post » Tue Nov 20, 2012 7:11 pm

[QUOTE=Kyatric] Indeed, working on project as a folder does sound like the correct way to go with source control system and C2.

This very week end I participated in a jam with several persons over the internet and it's true that a good system and work flow would have helped us greatly.

A few years ago I've read the first chapters of subversion's documentation, but never went further more than installing and hardly toying with tortoise and never really setted up a server.

If anybody can provide feedback or resources on how to configure that kind of setup for working on C2 projects I'd be grateful and willing to try it.
Does github allows for "private" (as in non open-source and if possibly not publicly reachable) projects/accounts ?
Do you know of any service that would ?

And if paying services are the only solution what are the best in quality/price ratio in your experiences ?

Thank you in advance.[/QUOTE]

You can use GIT for free, locally. GitHub only allows free projects if they are OPEN. It costs $7 US for private repositories and a number of users. You aren't going to find a really good free one, because hosting is expensive, especially for source control because of all the diff changes you have to maintain forever, you don't grow linearly.

The best way to do it, is to share a local GIT repo, then when you are ready and have 7$ a month, just post it to to GITHub.

That said, I'm a huge fan of TFS (C# guy here) and that usually costs 10000-14000$ US because you have to use it with Visual Studio Ultimate (Plus MSDN). Now Microsoft allows for free versions too at http://tfs.visualstudio.com/en-us/pricing/information/. Using it with construct 2 would be interesting.

I say git is the best solution. just keep the git window open and save often.


Question: Does saying as a project as a folder vs single file have any impact on saving time or chance of corruption?
B
30
S
10
G
7
Posts: 416
Reputation: 7,239

Post » Tue Nov 20, 2012 7:44 pm

Saving as a folder-based project and using source control software should work well. The main problem to watch out for is as @msv0001 asked - if you edit the files wrong, Construct 2 might not understand the project any more. Some features require that if you change something, other things corresponding to it may also need to be updated. It's difficult to document all of these cases because it's a large and complex file format which also changes fairly regularly too.

Generally try to use C2 to edit projects wherever possible; if you resolve conflicts and merge everything correctly, it should always work. If you get a conflict and don't merge it properly it could break the project, but then I suppose the same is true of most source controlled things... you just have to be careful!
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,630

Post » Wed Nov 21, 2012 5:30 am

I am seeing this video tutorial from Lynda "Fundamentals of Software Version Control" (recently released, Google it since I cant post links) and have help me understand better the concepts. I have always just used Dropbox and changing stuff with different file names and folders, but seeing this has opened my eyes to use it for game development. I have seen an indie team using SVN with Tortoise and it worked good, so I suppose it could work good with Construct.
B
4
Posts: 5
Reputation: 335

Post » Wed Nov 21, 2012 9:49 pm

I've been trying GitHub with construct 2 and it seems to work really well as long as you use project folder.
B
30
S
10
G
7
Posts: 416
Reputation: 7,239

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 2 guests