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

Request: Base64 loading like Parchment supports #2

Open
BroadcastGames opened this issue Oct 4, 2016 · 1 comment
Open

Request: Base64 loading like Parchment supports #2

BroadcastGames opened this issue Oct 4, 2016 · 1 comment

Comments

@BroadcastGames
Copy link

I've never worked with TypeScript, so this isn't really pull-request quality. However, I did hack a change in, you are welcome to the source code: BroadcastGames@9e67fdc

I was able to use

  parchment/game2js.py --giload CloakofDarkness.ulx

Paste the relevant output into a javascript var named gameDataBase64, and call

  manager.LoadStoryBase64(gameDataBase64);

Seems to work. This allowed me to run without a web server and now use file:/// references to the index.html

@ChicagoDave
Copy link
Owner

I added you as a collaborator. If you're comfortable making changes and pitching in, feel free.

TypeScript is not that hard to learn.

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