Skip to content

thzero/PongIt

Repository files navigation

Extension of the multiplayer pong (https://github.com/godotengine/godot-demo-projects/tree/master/networking/multiplayer_pong) demo that covers the basics of high level networking in Godot Engine (3.1).

Features

  • A Main menu.
    • Includes the following sub-menus:
      • A Settings menu allowing the user to customize different game options.
      • An About menu showing information about the game.
        • An internal info script class contains the following about options:
          • copyright
          • game licensing
          • third party licenses
          • team members
            • project founders
            • lead developers
            • project managers
            • developers
            • backers
  • A Network host/join menu.
    • Host menu allows selection of adapter to for server to listen on, including the wildcard 'Any'.
  • A Lobby menu.
    • Players can connect to the server lobby
      • Number of players allowed per game is flexible via constant
    • Lobby user ready feature
      • Number of ready players is flexiblee via constant
      • Start is available after players are readied

Requirements

The updated repo requires the use of PR#27731 (godotengine/godot#27731). This PR request implements new network capabilities; see the Updated Network Capabilities section.

Updated Network Capabilities

  • IP.get_local_addresses_full()
    • Returns an array of addresses (both v4 and v6) for each network adapter on the device.
  • NetworkedMultiplayerEnet.get_host_address()
    • Returns the ip address of the server host.
  • NetworkedMultiplayerEnet.get_host_port()
    • Returns the ip port of the server host.

Open Source

List of open source

License

Distributed under the terms of the MIT license, as described in the LICENSE file.

About

PongIt - Multiplayer pong in Godot Engine

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published