Gamasutra: The Art & Business of Making Gamesspacer
View All     RSS
November 1, 2014
arrowPress Releases
November 1, 2014
PR Newswire
View All
View All     Submit Event

If you enjoy reading this site, you might also want to check out these UBM Tech sites:

Reveal your source code from inside the game
by Curtis Turner - IceIYIaN on 12/27/13 04:18:00 am

The following blog post, unless otherwise noted, was written by a member of Gamasutra’s community.
The thoughts and opinions expressed are those of the writer and not Gamasutra or its parent company.


After a decade of modding for Valve and Epic Games and playing mods for over a decade (Counter-Strike, Kingdoms Collide, Age of Chivalry), I finally decided to make my own video game. As an indie developer, I knew that adding the ability to mod my game was super important. What I could create in an entire year, a person or people who's passion and skills far exceed my own, could blow up my little world in a single day or month. You can make money by making a game or games. But you can make millions if you share it...

1. Developers
By revealing your source code, other developers may buy your game to look at the code. They may even make a mod or suggest simple code changes.

2. n00bieZ
Playing games to making games is a giant leap. Most don't even know where to begin. If they see your source code, they can have an idea of where to start.
A lot of people laugh at first games, mobile games. But after a year, two years, three years... The n00biE will move up in the world. Imagine if they kept modding your game the whole time.

3. Yourself
Any computer / cell / console that has your game installed, you could glance at the code anytime, anywhere.

4. Specific Developers
Using a framework or game engine, others who follow those may be more interested in your game.

5. Employees
If they've already been viewing the code, a lot less training is needed and they won't bug you to know where to go for certain code.

6. Modz...
Did I mention mods can make you millions?

Add your source code to not only the download of the game, but inside the game itself.

Related Jobs

Twisted Pixel Games
Twisted Pixel Games — Austin, Texas, United States

Senior Graphics and Systems Engineer
Twisted Pixel Games
Twisted Pixel Games — Austin, Texas, United States

Mid-level Tools and Systems Engineer
Sega Networks Inc.
Sega Networks Inc. — Madison, Wisconsin, United States

Mobile Game Engineer
Forio — San Francisco, California, United States

Web Application Developer Team Lead


Javier Degirolmo
profile image
How can you add the source code to the game itself? I really can't imagine any closer than bundling the source code in the same download as the game itself, and that alone should already cover all of the points listed here while guaranteeing it's easy to access (everybody will have it!).

The only alternative I can see is with scripted languages that get interpreted, but looking at the source code from within the game can be a mess, and it will still lock you out of the non-interpreted parts.

Curtis Turner - IceIYIaN
profile image
Depends on your frameworks/engines I guess. I use XNA, so, it was a simple as making a font(Trivial, pre-made), add a string in the code, and then retrieve the text from the cSharp file. The last part was annoying, cause I did have to copy/paste my code from the Project_SourceCode to Project_Assets, then manually set every file to, "Don't Compile, Copy Always"

My game is only on Windows Phone and not on PC yet. So, if my computer died and my E-MaiL was hacked and my extra hard drive got water damaged or burned to death, I could lose all my work. I have multiple back up copies and in-game is one of them.