Sign in to follow this  
  • entries
    260
  • comments
    948
  • views
    175364

TTT source code

Sign in to follow this  
Pouya

660 views

Since some people had shown interest, I'm going to post source code to TTT. (If you still don't know what TTT is, look here)
The engine (LOL.Engine) I haven't decided to release yet, so I'll just put the dll here to link to it.

Step by step guide

  1. Download the C# source code here - You will need Visaul Studio 2005 (or C# express)

  2. If you don't have Tao's OpenGl/Al libraries already, download the dependencies. You don't need these for compiling, but you'll need them to run the project.

  3. I have included a csproj file, but if you don't like that for some reason (or are trying to do it with mono), you'll need to add the cs files in the "src" and "Properties" directories, and add the reference to LOL.Engine.dll which is placed at the root of TTT directory

  4. To modify game data, change the XML files in the "media" directory. The file ttt.xml is loaded first and decides how the screen looks like and everything, and then each stage has a separate resource file and some map files there

  5. If you run the game in release mode, it will automatically package the media directory into a ttt.pak file, so don't forget to delete that when you modify your media files. When distributing, you can just run your release .exe file from the root TTT dir and get the pak file, so you wouldn't have to release your media files with it

Sign in to follow this  


1 Comment


Recommended Comments

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now