From 7f1e8d26ef0d0f3c00448e2061d69400c0c79e5d Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Tue, 7 Dec 2021 16:19:54 -0600 Subject: [PATCH] Moooovin' --- project.godot | 2 +- screens/game.tscn | 2 +- screens/lobby.tscn | 2 +- screens/main.tscn | 2 +- screens/multiplayer.tscn | 2 +- scripts/{ => global}/global.gd | 0 scripts/{ => global}/multiplayer_client.gd | 0 scripts/{ => global}/signaller_client.gd | 0 scripts/{ => screens}/game.gd | 0 scripts/{ => screens}/lobby.gd | 0 scripts/{ => screens}/main.gd | 0 scripts/{ => screens}/multiplayer.gd | 0 12 files changed, 5 insertions(+), 5 deletions(-) rename scripts/{ => global}/global.gd (100%) rename scripts/{ => global}/multiplayer_client.gd (100%) rename scripts/{ => global}/signaller_client.gd (100%) rename scripts/{ => screens}/game.gd (100%) rename scripts/{ => screens}/lobby.gd (100%) rename scripts/{ => screens}/main.gd (100%) rename scripts/{ => screens}/multiplayer.gd (100%) diff --git a/project.godot b/project.godot index af45c66..39f342e 100644 --- a/project.godot +++ b/project.godot @@ -16,7 +16,7 @@ config/icon="res://assets/img/icon.png" [autoload] -Global="*res://scripts/global.gd" +Global="*res://scripts/global/global.gd" [gdnative] diff --git a/screens/game.tscn b/screens/game.tscn index bde09c7..15f0f45 100644 --- a/screens/game.tscn +++ b/screens/game.tscn @@ -1,6 +1,6 @@ [gd_scene load_steps=2 format=2] -[ext_resource path="res://scripts/game.gd" type="Script" id=1] +[ext_resource path="res://scripts/screens/game.gd" type="Script" id=1] [node name="Node2D" type="Node2D"] script = ExtResource( 1 ) diff --git a/screens/lobby.tscn b/screens/lobby.tscn index 059dc4b..4f36da2 100644 --- a/screens/lobby.tscn +++ b/screens/lobby.tscn @@ -1,6 +1,6 @@ [gd_scene load_steps=3 format=2] -[ext_resource path="res://scripts/lobby.gd" type="Script" id=1] +[ext_resource path="res://scripts/screens/lobby.gd" type="Script" id=1] [ext_resource path="res://assets/theme.tres" type="Theme" id=2] [node name="lobby" type="MarginContainer"] diff --git a/screens/main.tscn b/screens/main.tscn index c9163c1..8af35e0 100644 --- a/screens/main.tscn +++ b/screens/main.tscn @@ -1,6 +1,6 @@ [gd_scene load_steps=5 format=2] -[ext_resource path="res://scripts/main.gd" type="Script" id=1] +[ext_resource path="res://scripts/screens/main.gd" type="Script" id=1] [ext_resource path="res://assets/fonts/iosevkalyte/iosevkalyte-regular.ttf" type="DynamicFontData" id=2] [ext_resource path="res://assets/theme.tres" type="Theme" id=3] diff --git a/screens/multiplayer.tscn b/screens/multiplayer.tscn index fcae2d5..f15f540 100644 --- a/screens/multiplayer.tscn +++ b/screens/multiplayer.tscn @@ -1,6 +1,6 @@ [gd_scene load_steps=3 format=2] -[ext_resource path="res://scripts/multiplayer.gd" type="Script" id=1] +[ext_resource path="res://scripts/screens/multiplayer.gd" type="Script" id=1] [ext_resource path="res://assets/theme.tres" type="Theme" id=2] [node name="Control" type="MarginContainer"] diff --git a/scripts/global.gd b/scripts/global/global.gd similarity index 100% rename from scripts/global.gd rename to scripts/global/global.gd diff --git a/scripts/multiplayer_client.gd b/scripts/global/multiplayer_client.gd similarity index 100% rename from scripts/multiplayer_client.gd rename to scripts/global/multiplayer_client.gd diff --git a/scripts/signaller_client.gd b/scripts/global/signaller_client.gd similarity index 100% rename from scripts/signaller_client.gd rename to scripts/global/signaller_client.gd diff --git a/scripts/game.gd b/scripts/screens/game.gd similarity index 100% rename from scripts/game.gd rename to scripts/screens/game.gd diff --git a/scripts/lobby.gd b/scripts/screens/lobby.gd similarity index 100% rename from scripts/lobby.gd rename to scripts/screens/lobby.gd diff --git a/scripts/main.gd b/scripts/screens/main.gd similarity index 100% rename from scripts/main.gd rename to scripts/screens/main.gd diff --git a/scripts/multiplayer.gd b/scripts/screens/multiplayer.gd similarity index 100% rename from scripts/multiplayer.gd rename to scripts/screens/multiplayer.gd