When people ask me for my code, I'm more than happy to give it to them, unless it's a system I'm trying to sell to them.
I imagine most folks who ask for code are beginners who need help... kids mainly... who are gonna learn from the code despite trying to simply plug it wholesale into their game.
They're also not likely to do much with it. IF they finish their game, it's not likely to be something that's gonna be competitive with my own projects.
When I was a kid people were pretty tight fisted with their sound libraries and back then if you didn't have a sound library you didn't have sound in your game and it was only something pros could develop with expensive books. So I know how some kid might feel when they see games with cool ragdoll physics and they want to emulate that in their own simple projects, but there's no way they're capable of coding the math for something like that themselves.
I think you should give the kid the code and let him play at being a game developer. :-)
I imagine most folks who ask for code are beginners who need help... kids mainly... who are gonna learn from the code despite trying to simply plug it wholesale into their game.
They're also not likely to do much with it. IF they finish their game, it's not likely to be something that's gonna be competitive with my own projects.
When I was a kid people were pretty tight fisted with their sound libraries and back then if you didn't have a sound library you didn't have sound in your game and it was only something pros could develop with expensive books. So I know how some kid might feel when they see games with cool ragdoll physics and they want to emulate that in their own simple projects, but there's no way they're capable of coding the math for something like that themselves.
I think you should give the kid the code and let him play at being a game developer. :-)