Sharing Code / Libraries as Public
-
Hi, I was wondering if there's a way to share code in public, not just with your frinds but with anyone having F4NS. Using tagging we could search for the specific code - similar way to what scratch.mit.edu is doing.
Also being able to specify that particular shared code is a package we could build a repository of reusable code, something similar to what pip for python is or cpan for perl was.
-
CAPITAL IDEA MY FRIEND!! I might not want to befriend everyone if I don't even have any projects YET... as I am LEARNING the language on my own FIRST.. so a textual library of code would be tremendously of GREAT VALUE indeed!
-
Even when writing games myself, I don’t like repeating myself. When I write code to make sure input is registered once for example, I would like to reuse that within more projects. I don’t want to copy functions and variables around for the basic stuff. If I have an improvement on it, would be nice to only write that improvement once as well (probably breaking all other games that use the library that I shared publicly 💩)
So would be nice to be able to create and share libraries.
-
I agree that it would be nice to be able to reuse code. I think that the main reason for not doing so at the moment is that it means that everything required to run a program is in one place which makes it very easy to share. Maybe something could be done to pull in required libraries at the point of sharing? But I don't know as I am not one of the devs!