Hey guys, What are the rules of using code that you find on the internet on sites such as this or on tutorials? I am not talking about copy/pasting every single line but taking snippets from here and there, so to speak. Also, I am primarily referring to code regarding basic game development such as character movement, parallax scrolling, menus and game over screens, etc. Is it legal to use this code (especially for commercial purposes), or does it depend on whether or not the owner specifies the right to reuse said code? I don't want to use anything that I should not be using, but I am very new to coding and there are things that I have found easy solutions to online that I otherwise would not have known how to properly code entirely on my own at this point. I am imagining it depends entirely on the source and whether or not the owner allows this code to be reused, but I didn't know if there is more to this based on common law, public domain, or other laws. Thanks again guys.