- Add a first-view controller and a bunch of things - First shooting implementation - Remove heavy models and clean the project up
23 lines
456 B
GDScript
23 lines
456 B
GDScript
extends Control
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready() -> void:
|
|
pass # Replace with function body.
|
|
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
func _process(delta: float) -> void:
|
|
pass
|
|
|
|
var peer = ENetMultiplayerPeer.new()
|
|
|
|
|
|
func _on_host_pressed() -> void:
|
|
get_tree().change_scene_to_file("res://scenes/maps/el_test.tscn")
|
|
|
|
|
|
func _on_join_pressed() -> void:
|
|
print("join")
|
|
|