| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Getting Set Up

Page history last edited by eofpi 11 years, 10 months ago Saved with comment

You will need some things.

 

A Windows Machine

If you are editing maps, you'll need a windows machine that can run .NET 4.0 apps as I will most likely be writing the map editor and potentially other UI-based tools in C#. If you are not editing maps, then it's not a big deal. 

 

Python + PyGame

Download the 32bit version of Python: http://python.org/download/ That's the one that says "Python 2.7.3 Windows Installer" or "Python 3.2.3 Windows x86 MSI Installer"

Do not get the 64 bit version. 

Install it.

It does not matter if you download 2.7 or 3.2. The game will work on both. Just remember which one you downloaded. 

Download PyGame: http://pygame.org/download.shtml But be sure to download the version that CORRESPONDS to the version of Python you downloaded. That would be either "pygame-1.9.1.win32-py2.7.msi" or "pygame-1.9.2a0.win32-py3.2.msi".

Install it.

 

Source Control

Download an SVN client if you don't already have one. The one I use (and you will too, if you follow this walkthrough) is TortoiseSVN. I assume you are using Windows. 

Download it

Install it.

Make a folder somewhere. In the place where you like to keep folders. 

Go into the folder and then right click in it. 

 

 

Then add the information for this week's PyWeek. 

The repository URL is https://pyweek14.googlecode.com/svn/trunk/

The Checkout directory should automatically list the folder that you clicked in to. Leave it.

Press OK.

Another dialog will come up and do things. Press OK when it's done doing it.

 

At some point you may be prompted for a username and password. 

This is your gmail username and the password that google code gave you. I'm not sure where it gives you this password or how it knows you have authentication, but I'll come back and edit this section once the first one of you braves through setting up SVN and we figure it out. 

Go to pyweek14.googlecode.com then Profile in the top-right, Settings.

 

Using SVN

When you right click in files and folders, you'll notice options.

Update will fetch all the new changes made by everyone else.

Commit will send all your changes to everyone else. That's basically all there is to it. 

There is a way to merge files when there are editing conflicts when you try to commit a file that's already been edited by someone else since the last time you updated. Try to not let this happen. It works okay for code, but most of you will be editing level files and it won't work nicely at all. Try to orchestrate your edits in IRC so we don't run in to this. 

Comments (0)

You don't have permission to comment on this page.