Effect-Games icon indicating copy to clipboard operation
Effect-Games copied to clipboard

How to use the engine without the server ?

Open court-jus opened this issue 14 years ago • 3 comments

Is it possible to use the engine without the server ?

court-jus avatar Nov 29 '11 12:11 court-jus

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!

jhuckaby avatar Nov 29 '11 19:11 jhuckaby

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

court-jus avatar Nov 30 '11 20:11 court-jus

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.

jhuckaby avatar Nov 30 '11 21:11 jhuckaby