1-6 player splitscreen multiplayer addon
npm package
| -rw-r--r-- | README.md | 1 | ||||
| -rw-r--r-- | addons/splitter/LICENSE | 21 | ||||
| -rw-r--r-- | addons/splitter/README.md | 22 | ||||
| -rw-r--r-- | addons/splitter/package.json | 25 |
4 files changed, 69 insertions, 0 deletions
@@ -1,6 +1,7 @@ # splitter [](https://godotengine.org "Made with godot") +](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 + +[](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 + +[](_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 |