flibitijibibo / RogueLegacy1

Rogue Legacy Source Code
https://cellardoorgames.com/roguelegacy/
Other
1.67k stars 147 forks source link

The License is unclear about individual pieces of code #1

Closed pakoito closed 6 days ago

pakoito commented 1 week ago

After reading through the license it is unclear to me whether I can take some pieces of code from, say, the Input Manager, and use them to create a classic 2D platformer about a hungry purple demigod ball. Even if the source is available for learning purposes, if the license is not clear enough it can be constructed that any code I write that is inspired by it is not a clean room implementation, and thus breaching the license.

flibitijibibo commented 1 week ago

I can clear this up: you're definitely welcome to write your own stuff that takes inspiration from RL1, just don't directly copypaste anything - peeking at the source from time to time while you're writing something else is totally okay.

a2937 commented 6 days ago

So like if someone totally wanted to, they could totally take inspiration from this code and try to recreate the logic in a free open source game engine that is named for a famous play and release the result for free on Github?

pakoito commented 6 days ago

I can clear this up: you're definitely welcome to write your own stuff that takes inspiration from RL1, just don't directly copypaste anything - peeking at the source from time to time while you're writing something else is totally okay.

Makes sense. At fintech companies I've been stopped by legal before I read through copyrighted code due to those "clean room" nuances. I believe it'll be okay as inspiration for personal projects and such :D

flibitijibibo commented 6 days ago

So like if someone totally wanted to, they could totally take inspiration from this code and try to recreate the logic in a free open source game engine that is named for a famous play and release the result for free on Github?

Definitely - the important part of the release is the sharing of ideas; we can hold a copyright on the code but we won't/can't assert ownership of the ideas the code implements.