mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-06 07:50:22 +01:00
Update most demos for Godot 4.0.beta10 (#782)
This commit is contained in:
@@ -8,8 +8,8 @@ var channel = peer.create_data_channel("chat", {"negotiated": true, "id": 1})
|
||||
|
||||
func _ready():
|
||||
# Connect all functions.
|
||||
peer.ice_candidate_created.connect(_on_ice_candidate)
|
||||
peer.session_description_created.connect(_on_session)
|
||||
peer.ice_candidate_created.connect(self._on_ice_candidate)
|
||||
peer.session_description_created.connect(self._on_session)
|
||||
|
||||
# Register to the local signaling server (see below for the implementation).
|
||||
Signaling.register(String(get_path()))
|
||||
|
||||
@@ -21,15 +21,5 @@ Signaling="*res://Signaling.gd"
|
||||
|
||||
[display]
|
||||
|
||||
window/stretch/mode="2d"
|
||||
window/stretch/mode="canvas_items"
|
||||
window/stretch/aspect="expand"
|
||||
|
||||
[gdnative]
|
||||
|
||||
singletons=[]
|
||||
|
||||
[rendering]
|
||||
|
||||
quality/driver/driver_name="GLES2"
|
||||
vram_compression/import_etc=true
|
||||
vram_compression/import_etc2=false
|
||||
|
||||
Reference in New Issue
Block a user