Git Product home page Git Product logo

splitter's Introduction

splitter

version package Buy me a coffee

Small addon for multiplayer splitscreen

image

Usage

extends Splitscreen

func _ready() -> void:
  super()
  var cam := Camera3D.new()
  join().viewport.add_child(cam)
  await get_tree().create_timer(1).timeout
  cam = Camera3D.new()
  join().viewport.add_child(cam)

Installation

With the Godot Package Manager

Note The information here may not be up to date. For most up to date information, see gpm#using-packages

Warning This addon is not compatible with being used as a sub addon(a addon to another addon), as it uses classes.

This addon is installable via the gpm. To install, create a godot.package file. It should look something like this.

packages: {
  @bendn/splitter: 1.0.1 // this is the package version.
}

Then download the latest version of the cli, move the executable to your PATH as gpm (wget "https://github.com/godot-package-manager/cli/releases/latest/download/godot-package-manager.x86_64" -O /bin/gpm).

And finally, to download1:

gpm update # in the same dir as your godot.package
# or, if in a different dir,
# gpm update --config-file path-to-godot.package

Manually

  • Download the repo (wget https://github.com/bend-n/splitter/archive/refs/heads/main.zip && unzip main.zip).
  • Move the splitter-main/addons/splitter folder into your addons folder (mkdir addons && mv splitter-main/addons/splitter addons/)

Footnotes

  1. Usage instructions for the cli โ†ฉ

splitter's People

Contributors

bend-n avatar imgbotapp avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.