eLunateJoin Date: 2014-07-29 Post Count: 13268 |
Do you have any public creations that you're proud of? Builds and such aren't included because they're not scripting-related as a standard, so bad luck scripter-builders. Share your public scripts and why they're neat here.
Now for the real reason this exists. Who uses your scripts? In most cases, it's very few. Your neat scripts that you worked hard on are lost in a mess of poorly configured uses and fire scripts taking more votes than yours. It's a shame, really. That aside, a few months ago I came here to talk about the implications of putting a package manager in Roblox, which was met with mixed responses. Today I'm here to ask people to support Freya by updating modules to be defined as Freya packages. Freya packages let people manage your scripts in their game with ease, and allow you to as a developer to define automatic configuration for your scripts. If you're interested, you can get started by creating a ModuleScript which returns a table, and parenting your scripts to it. The ModuleScript defines your package. Then, set the ModuleScript up:
return {
Package = script.YourMainScript;
Type = "SharedComponent"
}
There are other types, and other configuration variables, but I don't trust you guys not to shoot me down for posting some documentation, so you'll have to make do with asking about it. |
|
|
I'm making a module right now so bear with me :'D |
|
|
The queen is still alive? |
|
eLunateJoin Date: 2014-07-29 Post Count: 13268 |
Still alive, but I don't trust anyone to still have as much respect for me after so long. Anyway, I gotta get people to adopt Freya so that people adopt Freya. Snowballing magic and what-not. |
|
|
Why wouldn't people trust you? |
|
badfitz67Join Date: 2010-06-03 Post Count: 13165 |
https://www.roblox.com/games/585690412/Vacuum-simulator-uncopylocked
It's uncopylocked so you can have a look at the code. Ported from p5.js
Another victim of the star-spangled banner of street. |
|
|
I'm just setting up a copylocked demonstration. Sadly, I will not be releasing the module until the third modulescript. Currently only 1 works and the other is half-way complete xD |
|
eLunateJoin Date: 2014-07-29 Post Count: 13268 |
I've not been on the Scripters forum for a while, and I know that Roblox have been a lot more sensitive about their censoring, so I'm a bit uneasy about putting the link to the Freya package docs |
|
badfitz67Join Date: 2010-06-03 Post Count: 13165 |
I think github is fine.
Another victim of the star-spangled banner of street. |
|
eLunateJoin Date: 2014-07-29 Post Count: 13268 |
Well, I've been given 2 warnings for this and I guess I'm going to try and dodge this one. It's not Github, because that would mean linking in Enchiridion
docs crescentcode net
/Freya/Examples/Package
/Freya/Core/Vulcan
Alternatively, the whole source for Freya is on github under CrescentCode/Freya. On that note, did you know Freya can now also load in and install packages from Github? More ways soon. |
|
|
It's a little dumb at the moment because I didn't give it enough examples and iterations, but:
https://www.roblox.com/games/613584526/Machine-Learning
Enjoy c: |
|
|
cars37Join Date: 2013-11-27 Post Count: 189 |
|
|
|
KutoruJoin Date: 2016-05-22 Post Count: 312 |
I like intents and the extended events but that's about it |
|
eLunateJoin Date: 2014-07-29 Post Count: 13268 |
It's chill because the deal with the Freya core is that nobody is really going to use all of it. That's why it's small, and everything else is provided through packages. On the note of packages, if you've set your thing up for a package, try it out. Require Freya in to the Studio command bar, and try installing your module. ############################ Install(yourModuleId) Alternatively, try installing the example Freya package I provide. ############################ Install "github:eLunate/FreyaPackage" |
|
eLunateJoin Date: 2014-07-29 Post Count: 13268 |
That's interesting. Roblox filtering never fails to amaze me.
require(480740831); Install(yourModule)
require(480740831); Install "github:eLunate/FreyaPackage" |
|
TimeTicksJoin Date: 2011-04-27 Post Count: 27115 |
@eLunate
it was the lazy functions module ou helped me with.
https://www.roblox.com/library/417304673/LazyFunctions
Just a small library of useful functions that make coding much less tedius, well making you lazy xD
|
|
eLunateJoin Date: 2014-07-29 Post Count: 13268 |
Good old lazy functions. |
|
eLunateJoin Date: 2014-07-29 Post Count: 13268 |
Oh look my code was bad I never fail to amaze myself sometimes
require(480740831); _G.Install "github:eLunate/FreyaPackage" |
|
|
I feel as if this entire thread is an advert. |
|
KutoruJoin Date: 2016-05-22 Post Count: 312 |
well freya is nice and its better than most things I see around here |
|
VilgOJoin Date: 2011-02-15 Post Count: 518 |
So how do I use it to install packages? Is there a short guide? |
|
eLunateJoin Date: 2014-07-29 Post Count: 13268 |
This entire thread absolutely is an advert, and I insist you try out Freya to see that it is cool, and then make your public modules into Freya packages so that people use Freya.
To install a package, just get Freya into your game with require(480740831), and then just install stuff from the command bar with _G.Install
_G.Install(PackageId);
_G.Install(ReferenceToPackageInGame);
_G.Install {RawPackageTable};
_G.Install "github:user/repo"
Any of those will do. I'm also looking to add more ways to resolve packages from strings. |
|
|
I may have used it, but the fact that you're doing this is making me want to not use it. It's like 30-second unskippable YouTube adverts. You end up wanting to not use the company's products. |
|