Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I found an open source game called Warmux but I don't know how to get the code. I downloaded the file from here, but I don't know where to go from there. I didn't find any instructions on how to use the source. While I was looking for it, I came across something called git and repo. Do I use that?

share|improve this question
1  
The apk and datafiles are binaries, not source code. So they wont help much. Git is a source repository system. It's a program they use to store all the source-code and to store all changes. You need to install Git and pull the source code from their servers. This can be a bit cumbersome since GIT isn't the easiest to use especially if you haven't heard of source control systems before. Try looking up a good tutorial :). –  Roy T. Mar 20 '12 at 17:44
add comment

1 Answer

up vote 4 down vote accepted

The source code is available as a compressed file here. You'll have to use an unzip tool to extract the files, something like 7zip would work, since I assume you're on a Windows machine.

Keep in mind it looks like this code and its associated files were created on linux, so some of the files won't have extensions and it'll probably be somewhat confusing if you haven't see that before. Good luck.

Check out the src folder, it's where you'll find all the code.

share|improve this answer
    
Thanks i've done that already but I noticed that the files inside the src folder are CPP and H files. Wouldn't i need java files to see the source code? I only ask this because I've been using Eclipse in programming. –  Blue Mar 20 '12 at 18:16
1  
Java is just one programming language. There are many. Files ending with .cpp are typically C++ files. –  Josh Petrie Mar 20 '12 at 18:26
    
Can I still use the code for C++ in Java, with a couple changes? Or is it completely different, I don't want to waste my time trying to change the code to java if it would be very difficult and tedious. –  Blue Mar 20 '12 at 18:50
    
As far as you're concerned, they are completely different. They'll share underlying patterns and structure, but you won't be able to easily convert from one to the other. –  Byte56 Mar 20 '12 at 19:05
1  
@BluFire Remember to accept answers that helped you. Even if it turned out to be bad news in the end :) –  Byte56 Mar 20 '12 at 23:33
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.