To run the project
-
Download project & type
cd server->npm iin terminal %project -
Create app in discord developer portal, get CLIENTID and SECRET, write them in the .env file (follow the example .env.example) + .discordshell
-
Import godot project to Export to html5 with discord_shell.html as Custom Export shell (export all files and rename to 'index') put them into "public" folder (all files, including index.html) (! godot version 4.4.1)
-
Setting up cloudflare tunnel, URL Mapping root in Discord developer portal Terminal
cloudflared tunnel --url http://localhost:{portNumber} -
run
node server.js -
run Discord Activity and see result (idk if it will work or not lol)
CREDIT Art assets - https://cupnooble.itch.io/sprout-lands-asset-pack