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

How to use the engine without the server ? #4

Open
court-jus opened this issue Nov 29, 2011 · 3 comments
Open

How to use the engine without the server ? #4

court-jus opened this issue Nov 29, 2011 · 3 comments

Comments

@court-jus
Copy link

Is it possible to use the engine without the server ?

@jhuckaby
Copy link
Owner

Alas, the engine was designed to work with the server-side code automatically generating game metadata (sprite / tile / level / audio / asset definitions) and transform images on-the-fly. It is possible to do all this on the client, but you'd have to write your own game metadata in JSON, and this has not yet been documented. I'll try to find some time to write up documentation for doing this. Thanks for the question!

@court-jus
Copy link
Author

Tonight I'm going to try the following way: install the server, launch my game via the server and "capture" the assets to serve them as static files later

@jhuckaby
Copy link
Owner

Oh, if you actually install the server, you can simply "export" your game using "Standalone Publish" (available on the Publish tab after you publish a revision). This will export all your assets, and create a standalone, packaged version of the engine + your game in a ZIP file, ready for hosting. Just keep in mind that this isn't meant for ongoing development, because if your game definition or metadata changes, you'll have to find it in the exported code and modify the JSON manually.

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