1-6 player splitscreen multiplayer addon
npm package
bendn 2023-01-30
parent f6e26e3 · commit b3920e3
-rw-r--r--README.md1
-rw-r--r--addons/splitter/LICENSE21
-rw-r--r--addons/splitter/README.md22
-rw-r--r--addons/splitter/package.json25
4 files changed, 69 insertions, 0 deletions
diff --git a/README.md b/README.md
index 0bc0ae8..9e71220 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,7 @@
# splitter
[![version](https://img.shields.io/badge/4.x-blue?logo=godot-engine&logoColor=white&label=godot&style=for-the-badge)](https://godotengine.org "Made with godot")
+![package](https://img.shields.io/npm/v/@bendn/splitter?label=version&style=for-the-badge)](https://www.npmjs.com/package/@bendn/remap)
<a href='https://ko-fi.com/bendn' title='Buy me a coffee' target='_blank'><img height='28' src='https://storage.ko-fi.com/cdn/brandasset/kofi_button_red.png' alt='Buy me a coffee'> </a>
Small addon for multiplayer splitscreen
diff --git a/addons/splitter/LICENSE b/addons/splitter/LICENSE
new file mode 100644
index 0000000..9a9763e
--- /dev/null
+++ b/addons/splitter/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2022 bendn
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/addons/splitter/README.md b/addons/splitter/README.md
new file mode 100644
index 0000000..0bc0ae8
--- /dev/null
+++ b/addons/splitter/README.md
@@ -0,0 +1,22 @@
+# splitter
+
+[![version](https://img.shields.io/badge/4.x-blue?logo=godot-engine&logoColor=white&label=godot&style=for-the-badge)](https://godotengine.org "Made with godot")
+<a href='https://ko-fi.com/bendn' title='Buy me a coffee' target='_blank'><img height='28' src='https://storage.ko-fi.com/cdn/brandasset/kofi_button_red.png' alt='Buy me a coffee'> </a>
+
+Small addon for multiplayer splitscreen
+
+[![image](https://raw.githubusercontent.com/bend-n/splitter/main/.github/image.png)](_blank "Picture!")
+
+## Usage
+
+```GDScript
+extends Splitscreen
+
+func _ready() -> void:
+ super()
+ var cam := Camera3D.new()
+ join().add_child(cam)
+ await get_tree().create_timer(1).timeout
+ cam = Camera3D.new()
+ join().add_child(cam)
+```
diff --git a/addons/splitter/package.json b/addons/splitter/package.json
new file mode 100644
index 0000000..e1b2041
--- /dev/null
+++ b/addons/splitter/package.json
@@ -0,0 +1,25 @@
+{
+ "name": "@bendn/splitter",
+ "version": "1.0.1",
+ "description": "small addon for splitscreen multiplayer",
+ "main": "screen.gd",
+ "scripts": {
+ "test": "echo \"Error: no test specified\" && exit 1"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/bend-n/splitter.git"
+ },
+ "keywords": [
+ "godot",
+ "godot-engine",
+ "splitscreen",
+ "multiplayer"
+ ],
+ "author": "bendn",
+ "license": "MIT",
+ "bugs": {
+ "url": "https://github.com/bend-n/splitter/issues"
+ },
+ "homepage": "https://github.com/bend-n/splitter#readme"
+} \ No newline at end of file