open-strike-2/scenes/utils/menu.gd
Nikolai Rodionov 2577e952d6
Init the godot project
- Add a first-view controller and a bunch of things
- First shooting implementation
- Remove heavy models and clean the project up
2025-01-22 06:23:59 +01:00

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")