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
This commit is contained in:
22
scenes/utils/menu.gd
Normal file
22
scenes/utils/menu.gd
Normal file
@@ -0,0 +1,22 @@
|
||||
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")
|
||||
|
Reference in New Issue
Block a user