Using Git with Stencyl

Benk10

  • Posts: 21
Hi everybody,

Is it possible to use Git or any other version control system with Stencyl projects?

mebloo

  • Posts: 128
You can versioned the .stencyl file with Git and the other version control systems (at least SVN would work too but you should go with Git anyway) but it is a binary file so you will not see the differences inside the file and you will never be able to make diffs and merge and so on. So you will only use the versioning for history and backup purpose.

SadiQ

  • Posts: 1795
You could probably use git or svn if you use code mode behaviors, however I never tried any of them.
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

yoplalala

  • *
  • Posts: 1632
You can versioned the .stencyl file with Git and the other version control systems (at least SVN would work too but you should go with Git anyway) but it is a binary file so you will not see the differences inside the file and you will never be able to make diffs and merge and so on. So you will only use the versioning for history and backup purpose.

why not put it directly on the game folder instead of the .stencyl ?

mebloo

  • Posts: 128
Yep, my bad. I was wondering where my workspace was saved on my computer @ work and as I could not find, I just made an export and check the .stencyl file.

So yeah, yoplala is right. You can versioned the whole directory of a project. As it is a set of text files (XML mainly) and images, you can versioned them and use the great stuff Git does :)