Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Should I use a MIT license for my code?

A topic by CyberRobotnix created Jul 16, 2022 Views: 740 Replies: 3
Viewing posts 1 to 4

For context: I downloaded someone else's code which was licensed MIT because I'm not all that great at programming, would've preferred CC but whatever.

Since MIT states that anyone is allowed to resell or redistribute the software, wouldn't that also permit piracy?

I've never given my games (which are all free right now) that license before, so I need an expert's opinion on this. It's probably good for small coding projects, but I'm not sure whether it's good for commercial projects.

The MIT license just requires that you retain the original license and copyright in the source code if you make it available or redistribute it. It has no effect on any other code you're using or whatever project you're including it (otherwise I'm sure it would be problematic for every significant graphics engine and tool). I don't believe you need to display the license in your built (binary) project but I think as a courtesy it's good form to provide attribution.

https://fossa.com/blog/open-source-licenses-101-mit-license/

(+1)

Someone can resell your game and be compliant with your mit license.

You can use other people's MIT libraries without any issues in your commercial game. You don't need to use mit yourself. Just keep their license files in your game folder root, or any other easily findable location ex. move them to a folder named licenses.

(+1)

Odds of someone copying your game and trying to make money off of it is low. Someone interested in doing that probably won't even care if it is legal so it doesn't matter if you make the source available. For example the rpg maker community has had people upload games onto itch and other sites when the games are available for free elsewhere.

Some commercial games have been open source. Marvellous Inc released their source code. I don't know if it was done on day one or not.

In most cases I suspect it won't matter as people won't bother to build it themselves. I do distribute open source games on this site but also provide them for free on my website.