0

I'm a little confused about the copyrights and etc. I'm working on an indie game by myself and I don't have the capacity to make everything myself, so I use open source libraries like LWJGL,dyn4j,nifty-gui. The license written in them says:

Copyright (c) 2012, Jens Hohmuth

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

I understand that I can use it in my program or even can sell it, but won't it mean others can use my program with it? Will my code become open source if I use these or is it separated? I want my own code to be copyrighted so others cant use it as they want. Like any other game out there. Is possible if I use the above listed other libraries?

It isn't really in my line, I don't know how these rights work if someone can explain this to me I would really appreciate it.

1

No, that is the text of the BSD 2 clause license. The license applies only to the library, not your code that links to the library.

You can find a short explaination at tldrlegal.com:

The BSD 2-clause license allows you almost unlimited freedom with the software so long as you include the BSD copyright notice in it (found in Fulltext). Many other licenses are influenced by this one.

1

The LWJGL license is a Modified, or "3-clause" BSD license. The license quote above seems to be a "FreeBSD License" also known as a "2-clause BSD license". I haven't checked the other libraries you list, but I suppose that they are all under some BSD-like license.

BSD is not a "copyleft" license. That is it does not require that derivative works that merge code under a BSD license with other code must use a BSD license, or indeed any sort of free or open-source license. The Modified and Free BSD licenses (aka "3-clause" and "2-clause" BSD) are both compatible with the GNU GPL and LGPL licenses, but do not require the use of throe license or of any particular license.

An author of a new work which uses a BSD-licensed library need not release source code, nor permit the creation of modified versions, nor permit others to redistribute the work at all.

Such an author may sell the work, and limit it with a traditional copyright statement. Such anh author should include the names and copyright statements of all BSD-licensed libraries, either in credits displayed by the new program, or in documentation, or preferably both.

Good practice would be to accompany the author's own copyright statement for the overall work, wherever that appears, with the names and copyright statements and disclaimers of each such library used by the new work.

Note that you must check the license of each library that you use. They may not all be under the same license. If any is under a license nwith 'copyleft" or "share alike" provisions, then that library may not be used if you intend to restrict the licesne on your new program more narrowly than the library license.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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