principia
principia copied to clipboard
Shareable components
The game needs a simple way for players to share and update reusable game components (be it a some sort of mechanism, or a programmed device with IO).
Or make the lua object able to define its own properties something along those lines
?? On Mar 22, 2019 1:12 AM, "aaronGoldberg02" [email protected] wrote:
Or make the lua object able to define its own properties something along those lines
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Bithack/principia/issues/3#issuecomment-475375167, or mute the thread https://github.com/notifications/unsubscribe-auth/AGQ8o84ISwziwVUvd6x6-o37Zt8S0cmzks5vY-CjgaJpZM4cBFJZ .
There was a way to reuse any parts though. You had to open a level, enter multi-select mode, select parts as group and press a save button. Then open your level, enter multi-select mode again, and paste the group.
But... Too many actions!
The easiest way i could think of, is the ability to paste any level uploaded in community (and allowed for reuse) as a part for your own level. This way you won't need to make an another layer of abstraction, while maintaining the flexibility of what a reusable component could be.
Such levels could be tagged as reusable components, for better organization and quicker search.
So, Lua modding?
Bringing up this issue again, one thing I wanted to implement in principia-web but could not reasonably implement back then was the ability to upload and share multi-select files. My idea back then was that since the .pobj format is derived from the level format, it would act as one, I could screenshot it like a level, and make it available as a different level type on the site for download and people would put it in their USER/lvl/local/
folder for use in the sandbox. That did not actually end up working and it would have been a bit complicated for the user, so I scrapped the idea.
Now though, with the source code available, anything would be possible. Sorting out some kind of screenshotter that can programmatically open an empty level, import the multi-select and take a screenshot is possible now. And something can be done to make the game itself download the multi-selects and plop them down in the proper folder, making the whole system more simple for the player. My idea for something like a multi-select section on principia-web would be like Roblox' free model marketplace except without all the malware and blocky people with big boobs. Cool vehicles and whatnot could be components one could download and then put into their level to play with however they choose (should the level file record some attribution of components used maybe?), LuaScript objects with reusable code snippets could also be shared and since you're able to call functions between LuaScripts they could even act as code libraries for people to use in their levels.