Welcome Guest [Log In] [Register]

Add Reply
Tidying things up.
Topic Started: Jan 5 2012, 12:53 AM (494 Views)
elite

Hello there.

GrrMan refused to give me anything to do tonight, so my first contribution to this project ended up being cleaning things up for the eventual first release.

Firstly, I created a sourceforge repository for the project, because sourceforge is way cooler is easier to manage than google docs, being made for these kinds of things and all. Moreover, sourceforge already provides a website and downloads so that's now covered.

Secondly, I created a demo project and made a folder structure to sort out images, sound, and scripts. Everything is now neatly arranged and naming conventions are used for everything.

Lastly, the code, which is what I was asked to do in the first place:


  • scripts with text (actual vn-ey stuff) go inside scripts/<route_name>
  • characters, images and sound are loaded in separate scripts, these go inside scripts/load
  • game modifications, such as the tips feature go inside scripts/gameplay
  • script.rpy now does nothing but load the first vn script of the vn, which right now is common_route_intro


This way it will be easier to make changes and it will be harder to break things.

As for the repository, it's a little trickier than google docs. Firstly you need to create an sourceforge account and post it here so that I can grant you permission to make changes, otherwise it's readonly.

An SVN is like dropbox designed for collaboration with many files. The entire project is backed up in the sourceforge servers and everyone can seamlessly get the most updated version automatically. On your computer you have a normal folder with files, and when you make changes and commit them, you also change the files on the servers (thus everyone else).

For that, though, you need an svn client. I use tortoisesvn (free) which is painless to use and has tons of features. Once you install it all you have to do is right-click the folder you want to put the project files on and click "svn-checkout".

A new window will appear asking for the svn url and the path. Leave the path as is and use https://svn.code.sf.net/p/otvn/code/trunk for the server (that's our svn server). After that it will ask for username and password, use the sourceforge ones and then it will download everything to your computer.

Once that's done you will have a full working copy of the entire project, including documents, tools, images, renpy, and everything else. To update it you just need to right click that folder and click update.

It's up to you what you do with it from that point onwards. After you are done making changes, you can commit them back to the repository by right clicking the folder and clicking commit. You'll have to manually select the things you want to change, type a simple description of what you did and then it will upload the changes for everyone to use.
Offline Profile Quote Post Goto Top
 
Neon Vanguard

Excellent. Thanks, Elite. This is a big help.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Coder's Corner · Next Topic »
Add Reply

Theme by Lewis of the ZetaBoard Theme Zone and ZetaBoards Support