Skip to content

6erun/godot-3d-chatbots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Godot Multiplayer Template

This is a template for a 3D multiplayer game developed in Godot Engine 4.3. It provides a basic structure for a multiplayer setup, where each player has a nickname displayed above their character and the option to choose from four different skins: red, green, blue, or yellow.
This template is also available in the Godot Asset Library.

Game Server

Create image with dedicated server

docker build --platform linux/x86_64 -t godot-server-demo:latest -f docker/Dockerfile .

Push docker images to Docker Hub

Tag your image

docker tag godot-server-demo:latest my-namespace/godot-server-demo:latest
docker push my-namespace/godot-server-demo:latest

Use Rift CLI to run the container

You need to login once to GitHub repository

rift docker login --username <your_username> --password <your_password>

You launch your container with similar syntax to docker command. You can bypass host port to use the same port as container (8080:8080 equals 8080)

rift docker run -d -p 8080/udp my-namespace/godot-server-demo:latest

You can list running containers with rift docker ps command. It will also display ip address that can be used to connect to the server.

How to run the project

  1. Download or clone this GitHub repository.
  2. Open the project in Godot Engine.
  3. Press F5 or Run Project.

Note: To test multiplayer locally, follow these steps: Go to Debug > Customize Run Instances, then enable Enable Multiple Instances and set the number of instances to run simultaneously. In this template, the host is not treated as a player.

Controls

  • W A S D to move.
  • Shift to run.
  • Space to jump.
  • ` to show/hide chat
  • Esc to quit.

Credits

About

Godot 3D chat room with bots

Resources

Stars

Watchers

Forks

Packages

No packages published