1-6 player splitscreen multiplayer addon
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/README.md b/README.md
index 746aaaa..0bc0ae8 100644
--- a/README.md
+++ b/README.md
@@ -4,3 +4,19 @@
<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)
+```