Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird feature idea: Imports #416

Open
TerryCavanagh opened this issue Oct 3, 2015 · 1 comment
Open

Weird feature idea: Imports #416

TerryCavanagh opened this issue Oct 3, 2015 · 1 comment

Comments

@TerryCavanagh
Copy link
Collaborator

Support importing multiple scripts! The web player would work by simply appending everything together as one scriptfile. Notation would be something like this:

import(6d0052de6ec12365acb7); //Or whatever the github url is for the script you want to include.

We've talked about this briefly in the past and I was basically against it - but I thought of a really good use case this evening that's changed my mind about it: Tools.

KLIK AND ZEEDONK!

You could make a game making tool in Zeedonk itself, which outputs a simple set of variables and strings. You could then use Zeedonk's sharing capabilities to share games with this tool!

Example cases:

  • Script one is a visual novel script file, the imported script is the engine which makes it run.
  • People could make Zeedonk libraries and assets packs.
@increpare
Copy link
Contributor

I'm not particularly in favour of an import command per se, but implicit above (based on a conversation I had with terry at least) is a function like

Editor.upload(dat):String

that returns a gist id (having uploaded the string and created a gist with one). Which would be interesting to have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants