Skip to content

This repo is deprecated and is no longer maintained. Experimental Heroku buildpack for continuous deployment of Godot Mono Server Exports

Notifications You must be signed in to change notification settings

DreCorp/Heroku-Godot-Server-Mono-Buildpack-Deprecated

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Heroku buildpack for Godot Engine Mono Server exports - DEPRECATED

🚫 This repo is no longer maintained or supported! 🚫

Maintenance

Heroku buildpack for continuous deployment of Godot Engine Mono Server exports that utilize Godot's WebSocketServer.


Features:


Required:

  • Ensure that project.godot and export_presets.cfg files are inclided in the source(Godot adds them to .gitignore automatically.)
  • Project will be exported using .Net SDK instead of Mono.
    • In Godot Editor Settings set Mono Build Tool to dotnetCLI.

Required Heroku config vars:

  • GODOT_VERSION such as 3.4.4.

Required Godot export template:


Handling of ports:

  • Heroku randomly assigns the port for the application.

  • Exported project needs to bind to $PORT passed as a first argument of OS.GetCmdlineArgs():

    string[] args = OS.GetCmdlineArgs();
    int port = args[0];
    
    Godot.Error err = server.Listen(port);
  • Connect websocket clients to your server with wss://your_app.herokuapp.com


Handling of other Heroku config vars:

  • Heroku config vars can be consumed by Godot with OS.GetEnvironment():
    string myConfigVar = OS.GetEnvironment("MY_CONFIG_VAR" as string);

Resources used:

About

This repo is deprecated and is no longer maintained. Experimental Heroku buildpack for continuous deployment of Godot Mono Server Exports

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages