Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

1. Basic extension Set up

Arthur Pacaud edited this page Dec 1, 2019 · 2 revisions

At this stage of development, the client is a JSON extension, because JS extension needs to restart the software often and is more difficult to test with. When the project becomes stable enough, I will create a JS version of the extension. So first, you will need to load the extension into your project. Dropping the json file in the correct folder should do the trick. The conditions actions and expressions should already appear in the editor. But the set up is not finished yet. Now, you need to create a new scene and make it the first scene to be opened when the game starts. Just make one event with the action to initialize the extension. This is required to set up the libraries and environments needed. Then If you have your own server connect to it. You can also do it the "Minecraft" way and let players host their server and connect to them. Then make that scene switch to the real first scene. I recommend to make multiplayer an option, because it is not always available. If the libraries failed to download, or internet connection is not detected, you will be able to see it through a condition to either display an error and shut down the game or disable the multiplayer option if it is optional. Before using the extension, you need to connect and authenticate to the server (using the both adequate actions). Then you can use the rest of the extension. REMEMBER! It is a WIP, almost everything is half or not functional.

Clone this wiki locally