summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2020-07-20 12:26:48 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2020-07-20 12:26:48 +0200
commit89723ca94bd21f1ae14592a682e9c0e5c5f04a74 (patch)
tree7b5c67f9d05f253abc961c901336780755543d6d
parentf3c455fbfb8b28b095c161eb7769ed92f1acb862 (diff)
downloadgodot-hexgrid-89723ca94bd21f1ae14592a682e9c0e5c5f04a74.zip
godot-hexgrid-89723ca94bd21f1ae14592a682e9c0e5c5f04a74.tar.gz
move demo files into subdir demo
-rw-r--r--demo/Camera.gd (renamed from Camera.gd)0
-rw-r--r--demo/Hex.gd (renamed from Hex.gd)0
-rw-r--r--demo/Los.gd (renamed from Los.gd)0
-rw-r--r--demo/Main.gd (renamed from Main.gd)0
-rw-r--r--demo/Main.tscn (renamed from Main.tscn)26
-rw-r--r--demo/Map.gd (renamed from Map.gd)0
-rw-r--r--demo/Map.tscn (renamed from Map.tscn)0
-rw-r--r--demo/Unit.gd (renamed from Unit.gd)0
-rw-r--r--project.godot6
9 files changed, 16 insertions, 16 deletions
diff --git a/Camera.gd b/demo/Camera.gd
index 0dc6074..0dc6074 100644
--- a/Camera.gd
+++ b/demo/Camera.gd
diff --git a/Hex.gd b/demo/Hex.gd
index 99bdbd2..99bdbd2 100644
--- a/Hex.gd
+++ b/demo/Hex.gd
diff --git a/Los.gd b/demo/Los.gd
index 324819a..324819a 100644
--- a/Los.gd
+++ b/demo/Los.gd
diff --git a/Main.gd b/demo/Main.gd
index 42b52a9..42b52a9 100644
--- a/Main.gd
+++ b/demo/Main.gd
diff --git a/Main.tscn b/demo/Main.tscn
index 27a5ce9..6fa7f31 100644
--- a/Main.tscn
+++ b/demo/Main.tscn
@@ -1,22 +1,22 @@
[gd_scene load_steps=10 format=2]
-[ext_resource path="res://Camera.gd" type="Script" id=1]
-[ext_resource path="res://Map.gd" type="Script" id=2]
-[ext_resource path="res://Main.gd" type="Script" id=3]
-[ext_resource path="res://Los.gd" type="Script" id=4]
-[ext_resource path="res://assets/Anke.otf" type="DynamicFontData" id=5]
-[ext_resource path="res://assets/target.png" type="Texture" id=6]
-[ext_resource path="res://assets/tank.png" type="Texture" id=7]
+[ext_resource path="res://demo/Camera.gd" type="Script" id=1]
+[ext_resource path="res://assets/Anke.otf" type="DynamicFontData" id=2]
+[ext_resource path="res://assets/target.png" type="Texture" id=3]
+[ext_resource path="res://demo/Map.gd" type="Script" id=4]
+[ext_resource path="res://demo/Los.gd" type="Script" id=5]
+[ext_resource path="res://assets/tank.png" type="Texture" id=6]
+[ext_resource path="res://demo/Main.gd" type="Script" id=7]
[sub_resource type="DynamicFont" id=1]
size = 35
-font_data = ExtResource( 5 )
+font_data = ExtResource( 2 )
[sub_resource type="Theme" id=2]
default_font = SubResource( 1 )
[node name="Main" type="Node2D"]
-script = ExtResource( 3 )
+script = ExtResource( 7 )
[node name="CanvasLayer" type="CanvasLayer" parent="."]
@@ -48,20 +48,20 @@ handle_input_locally = false
render_target_update_mode = 3
[node name="Map" type="Sprite" parent="CanvasLayer/HBOX/ViewportContainer/Viewport"]
-script = ExtResource( 2 )
+script = ExtResource( 4 )
[node name="Hexes" type="Node" parent="CanvasLayer/HBOX/ViewportContainer/Viewport/Map"]
[node name="Target" type="Sprite" parent="CanvasLayer/HBOX/ViewportContainer/Viewport/Map"]
z_index = 1
-texture = ExtResource( 6 )
+texture = ExtResource( 3 )
[node name="Tank" type="Sprite" parent="CanvasLayer/HBOX/ViewportContainer/Viewport/Map"]
z_index = 1
-texture = ExtResource( 7 )
+texture = ExtResource( 6 )
[node name="Los" type="Node2D" parent="CanvasLayer/HBOX/ViewportContainer/Viewport/Map"]
-script = ExtResource( 4 )
+script = ExtResource( 5 )
[node name="Camera" type="Camera2D" parent="CanvasLayer/HBOX/ViewportContainer/Viewport"]
current = true
diff --git a/Map.gd b/demo/Map.gd
index 81c5c36..81c5c36 100644
--- a/Map.gd
+++ b/demo/Map.gd
diff --git a/Map.tscn b/demo/Map.tscn
index 7ebb23c..7ebb23c 100644
--- a/Map.tscn
+++ b/demo/Map.tscn
diff --git a/Unit.gd b/demo/Unit.gd
index 0b67053..0b67053 100644
--- a/Unit.gd
+++ b/demo/Unit.gd
diff --git a/project.godot b/project.godot
index 657540a..7f0176a 100644
--- a/project.godot
+++ b/project.godot
@@ -12,7 +12,7 @@ _global_script_classes=[ {
"base": "Tile",
"class": "Hex",
"language": "GDScript",
-"path": "res://Hex.gd"
+"path": "res://demo/Hex.gd"
}, {
"base": "Node",
"class": "HexBoard",
@@ -32,7 +32,7 @@ _global_script_classes=[ {
"base": "Piece",
"class": "Unit",
"language": "GDScript",
-"path": "res://Unit.gd"
+"path": "res://demo/Unit.gd"
} ]
_global_script_class_icons={
"Hex": "res://godot/Tile.png",
@@ -45,7 +45,7 @@ _global_script_class_icons={
[application]
config/name="hexgrid_demo"
-run/main_scene="res://Main.tscn"
+run/main_scene="res://demo/Main.tscn"
config/icon="res://icon.png"
[display]