diff options
-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.godot | 6 |
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/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/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] |