summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2021-08-28 11:07:19 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2021-08-28 11:07:19 +0200
commit54311e2b4194ccad0d28b60a718da8cb01c89f80 (patch)
treea2a8d7be55566b26c00df04df872590cadbea60a
parent5dc80e37eb13931f3bdbacffaad5a945732e1209 (diff)
downloadgodot-hexgrid-54311e2b4194ccad0d28b60a718da8cb01c89f80.zip
godot-hexgrid-54311e2b4194ccad0d28b60a718da8cb01c89f80.tar.gz
set addons/hexgrid, closess #2
-rw-r--r--.gdignore1
-rw-r--r--.gitattributes1
-rw-r--r--addons/hexgrid/HexMap.gd (renamed from HexMap.gd)2
-rw-r--r--addons/hexgrid/HexMap.png (renamed from godot/HexMap.png)bin14569 -> 14569 bytes
-rw-r--r--addons/hexgrid/HexMap.png.import (renamed from assets/target.png.import)7
-rw-r--r--addons/hexgrid/Piece.gd (renamed from Piece.gd)2
-rw-r--r--addons/hexgrid/Piece.png (renamed from godot/Piece.png)bin14747 -> 14747 bytes
-rw-r--r--addons/hexgrid/Piece.png.import35
-rw-r--r--addons/hexgrid/Tile.gd (renamed from Tile.gd)2
-rw-r--r--addons/hexgrid/Tile.png (renamed from godot/Tile.png)bin14150 -> 14150 bytes
-rw-r--r--addons/hexgrid/Tile.png.import (renamed from assets/city.png.import)7
-rw-r--r--assets/black.png.import34
-rw-r--r--demo/Hex.gd2
-rw-r--r--demo/Main.tscn6
-rw-r--r--demo/Map.gd22
-rw-r--r--demo/Unit.gd2
-rw-r--r--demo/assets/Anke.otf (renamed from assets/Anke.otf)bin24364 -> 24364 bytes
-rw-r--r--demo/assets/black.png (renamed from assets/black.png)bin2868 -> 2868 bytes
-rw-r--r--demo/assets/black.png.import (renamed from godot/Piece.png.import)6
-rw-r--r--demo/assets/block.png (renamed from assets/block.png)bin5029 -> 5029 bytes
-rw-r--r--demo/assets/block.png.import (renamed from assets/block.png.import)7
-rw-r--r--demo/assets/city.png (renamed from assets/city.png)bin14508 -> 14508 bytes
-rw-r--r--demo/assets/city.png.import (renamed from godot/Tile.png.import)6
-rw-r--r--demo/assets/green.png (renamed from assets/green.png)bin6204 -> 6204 bytes
-rw-r--r--demo/assets/green.png.import (renamed from assets/green.png.import)7
-rw-r--r--demo/assets/map-h.png (renamed from assets/map-h.png)bin18756 -> 18756 bytes
-rw-r--r--demo/assets/map-h.png.import (renamed from assets/map-h.png.import)7
-rw-r--r--demo/assets/map-v.png (renamed from assets/map-v.png)bin73999 -> 73999 bytes
-rw-r--r--demo/assets/map-v.png.import (renamed from assets/map-v.png.import)7
-rw-r--r--demo/assets/mountain.png (renamed from assets/mountain.png)bin13386 -> 13386 bytes
-rw-r--r--demo/assets/mountain.png.import (renamed from assets/mountain.png.import)7
-rw-r--r--demo/assets/move.png (renamed from assets/move.png)bin5145 -> 5145 bytes
-rw-r--r--demo/assets/move.png.import (renamed from assets/move.png.import)7
-rw-r--r--demo/assets/red.png (renamed from assets/red.png)bin4526 -> 4526 bytes
-rw-r--r--demo/assets/red.png.import (renamed from assets/red.png.import)7
-rw-r--r--demo/assets/short.png (renamed from assets/short.png)bin1188 -> 1188 bytes
-rw-r--r--demo/assets/short.png.import (renamed from assets/short.png.import)7
-rw-r--r--demo/assets/tank.png (renamed from assets/tank.png)bin10024 -> 10024 bytes
-rw-r--r--demo/assets/tank.png.import (renamed from assets/tank.png.import)7
-rw-r--r--demo/assets/target.png (renamed from assets/target.png)bin8674 -> 8674 bytes
-rw-r--r--demo/assets/target.png.import (renamed from godot/HexMap.png.import)6
-rw-r--r--demo/assets/tree.png (renamed from assets/tree.png)bin13687 -> 13687 bytes
-rw-r--r--demo/assets/tree.png.import (renamed from assets/tree.png.import)7
-rw-r--r--project.godot16
44 files changed, 119 insertions, 108 deletions
diff --git a/.gdignore b/.gdignore
index 7454c37..c78e003 100644
--- a/.gdignore
+++ b/.gdignore
@@ -1,3 +1,2 @@
-assets
data
demo
diff --git a/.gitattributes b/.gitattributes
index 5813cb7..6f20e8e 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -10,6 +10,5 @@
/default_env.tres export-ignore
/project.godot export-ignore
/icon.png* export-ignore
-/assets export-ignore
/data export-ignore
/demo export-ignore
diff --git a/HexMap.gd b/addons/hexgrid/HexMap.gd
index c719b20..3da1631 100644
--- a/HexMap.gd
+++ b/addons/hexgrid/HexMap.gd
@@ -1,7 +1,7 @@
#warning-ignore-all:integer_division
extends Node
-class_name HexBoard, "res://godot/HexMap.png"
+class_name HexBoard, "res://addons/hexgrid/HexMap.png"
enum Orientation { E=1, NE=2, N=4, NW=8, W=16, SW=32, S=64, SE=128 }
diff --git a/godot/HexMap.png b/addons/hexgrid/HexMap.png
index 262d8c1..262d8c1 100644
--- a/godot/HexMap.png
+++ b/addons/hexgrid/HexMap.png
Binary files differ
diff --git a/assets/target.png.import b/addons/hexgrid/HexMap.png.import
index 3636021..c56b1da 100644
--- a/assets/target.png.import
+++ b/addons/hexgrid/HexMap.png.import
@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
-path="res://.import/target.png-52c019dda84da6fc854650719104c4ec.stex"
+path="res://.import/HexMap.png-86399ef085f54bb49aa45ad5daebe043.stex"
metadata={
"vram_texture": false
}
[deps]
-source_file="res://assets/target.png"
-dest_files=[ "res://.import/target.png-52c019dda84da6fc854650719104c4ec.stex" ]
+source_file="res://addons/hexgrid/HexMap.png"
+dest_files=[ "res://.import/HexMap.png-86399ef085f54bb49aa45ad5daebe043.stex" ]
[params]
@@ -28,6 +28,7 @@ process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
+process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
diff --git a/Piece.gd b/addons/hexgrid/Piece.gd
index 8725cc2..e84208f 100644
--- a/Piece.gd
+++ b/addons/hexgrid/Piece.gd
@@ -1,7 +1,7 @@
#warning-ignore-all:unused_argument
extends Node2D
-class_name Piece, "res://godot/Piece.png"
+class_name Piece, "res://addons/hexgrid/Piece.png"
# movement points
func get_mp() -> int:
diff --git a/godot/Piece.png b/addons/hexgrid/Piece.png
index a2cf111..a2cf111 100644
--- a/godot/Piece.png
+++ b/addons/hexgrid/Piece.png
Binary files differ
diff --git a/addons/hexgrid/Piece.png.import b/addons/hexgrid/Piece.png.import
new file mode 100644
index 0000000..ce53b80
--- /dev/null
+++ b/addons/hexgrid/Piece.png.import
@@ -0,0 +1,35 @@
+[remap]
+
+importer="texture"
+type="StreamTexture"
+path="res://.import/Piece.png-5155cac4a0bf7c2a889be85d756a935e.stex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://addons/hexgrid/Piece.png"
+dest_files=[ "res://.import/Piece.png-5155cac4a0bf7c2a889be85d756a935e.stex" ]
+
+[params]
+
+compress/mode=0
+compress/lossy_quality=0.7
+compress/hdr_mode=0
+compress/bptc_ldr=0
+compress/normal_map=0
+flags/repeat=0
+flags/filter=true
+flags/mipmaps=false
+flags/anisotropic=false
+flags/srgb=2
+process/fix_alpha_border=true
+process/premult_alpha=false
+process/HDR_as_SRGB=false
+process/invert_color=false
+process/normal_map_invert_y=false
+stream=false
+size_limit=0
+detect_3d=true
+svg/scale=1.0
diff --git a/Tile.gd b/addons/hexgrid/Tile.gd
index 68627f4..b9463eb 100644
--- a/Tile.gd
+++ b/addons/hexgrid/Tile.gd
@@ -1,7 +1,7 @@
#warning-ignore-all:unused_argument
extends Node2D
-class_name Tile, "res://godot/Tile.png"
+class_name Tile, "res://addons/hexgrid/Tile.png"
var coords : Vector2
var blocked : bool
diff --git a/godot/Tile.png b/addons/hexgrid/Tile.png
index 4d2f855..4d2f855 100644
--- a/godot/Tile.png
+++ b/addons/hexgrid/Tile.png
Binary files differ
diff --git a/assets/city.png.import b/addons/hexgrid/Tile.png.import
index e00f16f..5c045cc 100644
--- a/assets/city.png.import
+++ b/addons/hexgrid/Tile.png.import
@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
-path="res://.import/city.png-02b383d5b5b6aa591b88e70ba700cd66.stex"
+path="res://.import/Tile.png-c201d199cb1cc344924999eb46a6ca7d.stex"
metadata={
"vram_texture": false
}
[deps]
-source_file="res://assets/city.png"
-dest_files=[ "res://.import/city.png-02b383d5b5b6aa591b88e70ba700cd66.stex" ]
+source_file="res://addons/hexgrid/Tile.png"
+dest_files=[ "res://.import/Tile.png-c201d199cb1cc344924999eb46a6ca7d.stex" ]
[params]
@@ -28,6 +28,7 @@ process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
+process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
diff --git a/assets/black.png.import b/assets/black.png.import
deleted file mode 100644
index 02cbcd3..0000000
--- a/assets/black.png.import
+++ /dev/null
@@ -1,34 +0,0 @@
-[remap]
-
-importer="texture"
-type="StreamTexture"
-path="res://.import/black.png-0c928088330c4cddf9e28b960b6ccae3.stex"
-metadata={
-"vram_texture": false
-}
-
-[deps]
-
-source_file="res://assets/black.png"
-dest_files=[ "res://.import/black.png-0c928088330c4cddf9e28b960b6ccae3.stex" ]
-
-[params]
-
-compress/mode=0
-compress/lossy_quality=0.7
-compress/hdr_mode=0
-compress/bptc_ldr=0
-compress/normal_map=0
-flags/repeat=0
-flags/filter=true
-flags/mipmaps=false
-flags/anisotropic=false
-flags/srgb=2
-process/fix_alpha_border=true
-process/premult_alpha=false
-process/HDR_as_SRGB=false
-process/invert_color=false
-stream=false
-size_limit=0
-detect_3d=true
-svg/scale=1.0
diff --git a/demo/Hex.gd b/demo/Hex.gd
index 99bdbd2..029f6c3 100644
--- a/demo/Hex.gd
+++ b/demo/Hex.gd
@@ -1,7 +1,7 @@
#warning-ignore-all:unused_argument
extends Tile
-class_name Hex, "res://godot/Tile.png"
+class_name Hex, "res://addons/hexgrid/Tile.png"
var type : int = -1
var roads : int = 0
diff --git a/demo/Main.tscn b/demo/Main.tscn
index 6fa7f31..6ac653f 100644
--- a/demo/Main.tscn
+++ b/demo/Main.tscn
@@ -1,11 +1,11 @@
[gd_scene load_steps=10 format=2]
[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/assets/Anke.otf" type="DynamicFontData" id=2]
+[ext_resource path="res://demo/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/assets/tank.png" type="Texture" id=6]
[ext_resource path="res://demo/Main.gd" type="Script" id=7]
[sub_resource type="DynamicFont" id=1]
diff --git a/demo/Map.gd b/demo/Map.gd
index 22ad0fd..abfc231 100644
--- a/demo/Map.gd
+++ b/demo/Map.gd
@@ -2,17 +2,17 @@ extends Sprite
signal hex_touched(pos, hex, key)
-const MAPH : String = "res://assets/map-h.png"
-const MAPV : String = "res://assets/map-v.png"
-const BLOCK : String = "res://assets/block.png"
-const BLACK : String = "res://assets/black.png"
-const MOVE : String = "res://assets/move.png"
-const SHORT : String = "res://assets/short.png"
-const RED : String = "res://assets/red.png"
-const GREEN : String = "res://assets/green.png"
-const TREE : String = "res://assets/tree.png"
-const CITY : String = "res://assets/city.png"
-const MOUNT : String = "res://assets/mountain.png"
+const MAPH : String = "res://demo/assets/map-h.png"
+const MAPV : String = "res://demo/assets/map-v.png"
+const BLOCK : String = "res://demo/assets/block.png"
+const BLACK : String = "res://demo/assets/black.png"
+const MOVE : String = "res://demo/assets/move.png"
+const SHORT : String = "res://demo/assets/short.png"
+const RED : String = "res://demo/assets/red.png"
+const GREEN : String = "res://demo/assets/green.png"
+const TREE : String = "res://demo/assets/tree.png"
+const CITY : String = "res://demo/assets/city.png"
+const MOUNT : String = "res://demo/assets/mountain.png"
var drag : Sprite
diff --git a/demo/Unit.gd b/demo/Unit.gd
index 0b67053..e18ebff 100644
--- a/demo/Unit.gd
+++ b/demo/Unit.gd
@@ -1,7 +1,7 @@
#warning-ignore-all:unused_argument
extends Piece
-class_name Unit, "res://godot/Piece.png"
+class_name Unit, "res://addons/hexgrid/Piece.png"
func get_mp() -> int:
return 2
diff --git a/assets/Anke.otf b/demo/assets/Anke.otf
index c577d63..c577d63 100644
--- a/assets/Anke.otf
+++ b/demo/assets/Anke.otf
Binary files differ
diff --git a/assets/black.png b/demo/assets/black.png
index 09a685d..09a685d 100644
--- a/assets/black.png
+++ b/demo/assets/black.png
Binary files differ
diff --git a/godot/Piece.png.import b/demo/assets/black.png.import
index 74910d6..c4ccf4e 100644
--- a/godot/Piece.png.import
+++ b/demo/assets/black.png.import
@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
-path="res://.import/Piece.png-0617c788b12591c5bfc6b47da73ecbe2.stex"
+path="res://.import/black.png-e51bb9446ed3e9a231bbefdd5d845a61.stex"
metadata={
"vram_texture": false
}
[deps]
-source_file="res://godot/Piece.png"
-dest_files=[ "res://.import/Piece.png-0617c788b12591c5bfc6b47da73ecbe2.stex" ]
+source_file="res://demo/assets/black.png"
+dest_files=[ "res://.import/black.png-e51bb9446ed3e9a231bbefdd5d845a61.stex" ]
[params]
diff --git a/assets/block.png b/demo/assets/block.png
index 7704d65..7704d65 100644
--- a/assets/block.png
+++ b/demo/assets/block.png
Binary files differ
diff --git a/assets/block.png.import b/demo/assets/block.png.import
index f050df8..d93d59d 100644
--- a/assets/block.png.import
+++ b/demo/assets/block.png.import
@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
-path="res://.import/block.png-6b64ddb83a5b052a86170f1e6353c630.stex"
+path="res://.import/block.png-7b666470ec7d1ed55123323983805a34.stex"
metadata={
"vram_texture": false
}
[deps]
-source_file="res://assets/block.png"
-dest_files=[ "res://.import/block.png-6b64ddb83a5b052a86170f1e6353c630.stex" ]
+source_file="res://demo/assets/block.png"
+dest_files=[ "res://.import/block.png-7b666470ec7d1ed55123323983805a34.stex" ]
[params]
@@ -28,6 +28,7 @@ process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
+process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
diff --git a/assets/city.png b/demo/assets/city.png
index 35ef9a3..35ef9a3 100644
--- a/assets/city.png
+++ b/demo/assets/city.png
Binary files differ
diff --git a/godot/Tile.png.import b/demo/assets/city.png.import
index beabdc8..8175df8 100644
--- a/godot/Tile.png.import
+++ b/demo/assets/city.png.import
@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
-path="res://.import/Tile.png-4e4b98625182aa9b1a6a23fb8ef3a29d.stex"
+path="res://.import/city.png-b5e144e6bc7635251820830d2b6c5a50.stex"
metadata={
"vram_texture": false
}
[deps]
-source_file="res://godot/Tile.png"
-dest_files=[ "res://.import/Tile.png-4e4b98625182aa9b1a6a23fb8ef3a29d.stex" ]
+source_file="res://demo/assets/city.png"
+dest_files=[ "res://.import/city.png-b5e144e6bc7635251820830d2b6c5a50.stex" ]
[params]
diff --git a/assets/green.png b/demo/assets/green.png
index 6970efc..6970efc 100644
--- a/assets/green.png
+++ b/demo/assets/green.png
Binary files differ
diff --git a/assets/green.png.import b/demo/assets/green.png.import
index dbe261a..fad21c4 100644
--- a/assets/green.png.import
+++ b/demo/assets/green.png.import
@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
-path="res://.import/green.png-23da064ef749b17ee836f545d262d73c.stex"
+path="res://.import/green.png-6cabcf440c4bebeca5e9f1949a914b94.stex"
metadata={
"vram_texture": false
}
[deps]
-source_file="res://assets/green.png"
-dest_files=[ "res://.import/green.png-23da064ef749b17ee836f545d262d73c.stex" ]
+source_file="res://demo/assets/green.png"
+dest_files=[ "res://.import/green.png-6cabcf440c4bebeca5e9f1949a914b94.stex" ]
[params]
@@ -28,6 +28,7 @@ process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
+process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
diff --git a/assets/map-h.png b/demo/assets/map-h.png
index 732ef4a..732ef4a 100644
--- a/assets/map-h.png
+++ b/demo/assets/map-h.png
Binary files differ
diff --git a/assets/map-h.png.import b/demo/assets/map-h.png.import
index c21fd86..7fd3434 100644
--- a/assets/map-h.png.import
+++ b/demo/assets/map-h.png.import
@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
-path="res://.import/map-h.png-8265185c00d0ece6b3d5aec651507180.stex"
+path="res://.import/map-h.png-a625f2c7dc4113b3d54e67ecad578faa.stex"
metadata={
"vram_texture": false
}
[deps]
-source_file="res://assets/map-h.png"
-dest_files=[ "res://.import/map-h.png-8265185c00d0ece6b3d5aec651507180.stex" ]
+source_file="res://demo/assets/map-h.png"
+dest_files=[ "res://.import/map-h.png-a625f2c7dc4113b3d54e67ecad578faa.stex" ]
[params]
@@ -28,6 +28,7 @@ process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
+process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
diff --git a/assets/map-v.png b/demo/assets/map-v.png
index 3960ffc..3960ffc 100644
--- a/assets/map-v.png
+++ b/demo/assets/map-v.png
Binary files differ
diff --git a/assets/map-v.png.import b/demo/assets/map-v.png.import
index cc39beb..3c082e1 100644
--- a/assets/map-v.png.import
+++ b/demo/assets/map-v.png.import
@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
-path="res://.import/map-v.png-6762f953af17151852d4fd98e4f77f87.stex"
+path="res://.import/map-v.png-f23934658a4a2f9eda7b09606fcff75d.stex"
metadata={
"vram_texture": false
}
[deps]
-source_file="res://assets/map-v.png"
-dest_files=[ "res://.import/map-v.png-6762f953af17151852d4fd98e4f77f87.stex" ]
+source_file="res://demo/assets/map-v.png"
+dest_files=[ "res://.import/map-v.png-f23934658a4a2f9eda7b09606fcff75d.stex" ]
[params]
@@ -28,6 +28,7 @@ process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
+process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
diff --git a/assets/mountain.png b/demo/assets/mountain.png
index ebc224b..ebc224b 100644
--- a/assets/mountain.png
+++ b/demo/assets/mountain.png
Binary files differ
diff --git a/assets/mountain.png.import b/demo/assets/mountain.png.import
index 56665ef..1678f9b 100644
--- a/assets/mountain.png.import
+++ b/demo/assets/mountain.png.import
@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
-path="res://.import/mountain.png-b2add8ed35f94e98573ad9ba99ceec37.stex"
+path="res://.import/mountain.png-2ae0c60bcbdbe0b637e25f7b00914834.stex"
metadata={
"vram_texture": false
}
[deps]
-source_file="res://assets/mountain.png"
-dest_files=[ "res://.import/mountain.png-b2add8ed35f94e98573ad9ba99ceec37.stex" ]
+source_file="res://demo/assets/mountain.png"
+dest_files=[ "res://.import/mountain.png-2ae0c60bcbdbe0b637e25f7b00914834.stex" ]
[params]
@@ -28,6 +28,7 @@ process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
+process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
diff --git a/assets/move.png b/demo/assets/move.png
index 01db48d..01db48d 100644
--- a/assets/move.png
+++ b/demo/assets/move.png
Binary files differ
diff --git a/assets/move.png.import b/demo/assets/move.png.import
index 2b51d5e..94b7afa 100644
--- a/assets/move.png.import
+++ b/demo/assets/move.png.import
@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
-path="res://.import/move.png-33f8bcb686112ff50a89f38cea6406cb.stex"
+path="res://.import/move.png-cbedb7692b73fcaf2a6f182fb2ab302a.stex"
metadata={
"vram_texture": false
}
[deps]
-source_file="res://assets/move.png"
-dest_files=[ "res://.import/move.png-33f8bcb686112ff50a89f38cea6406cb.stex" ]
+source_file="res://demo/assets/move.png"
+dest_files=[ "res://.import/move.png-cbedb7692b73fcaf2a6f182fb2ab302a.stex" ]
[params]
@@ -28,6 +28,7 @@ process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
+process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
diff --git a/assets/red.png b/demo/assets/red.png
index 0bf4075..0bf4075 100644
--- a/assets/red.png
+++ b/demo/assets/red.png
Binary files differ
diff --git a/assets/red.png.import b/demo/assets/red.png.import
index 8ae5fee..9a47dff 100644
--- a/assets/red.png.import
+++ b/demo/assets/red.png.import
@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
-path="res://.import/red.png-d5f39e261e8585dfbc0a32aa9fd1a167.stex"
+path="res://.import/red.png-0fb5b28e6c289aea54776e2a268c9918.stex"
metadata={
"vram_texture": false
}
[deps]
-source_file="res://assets/red.png"
-dest_files=[ "res://.import/red.png-d5f39e261e8585dfbc0a32aa9fd1a167.stex" ]
+source_file="res://demo/assets/red.png"
+dest_files=[ "res://.import/red.png-0fb5b28e6c289aea54776e2a268c9918.stex" ]
[params]
@@ -28,6 +28,7 @@ process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
+process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
diff --git a/assets/short.png b/demo/assets/short.png
index cb91627..cb91627 100644
--- a/assets/short.png
+++ b/demo/assets/short.png
Binary files differ
diff --git a/assets/short.png.import b/demo/assets/short.png.import
index 55af806..a73f3dd 100644
--- a/assets/short.png.import
+++ b/demo/assets/short.png.import
@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
-path="res://.import/short.png-6337ed76204123df33053be0499ad3de.stex"
+path="res://.import/short.png-91db7f36df1a087629b942a028fb5df2.stex"
metadata={
"vram_texture": false
}
[deps]
-source_file="res://assets/short.png"
-dest_files=[ "res://.import/short.png-6337ed76204123df33053be0499ad3de.stex" ]
+source_file="res://demo/assets/short.png"
+dest_files=[ "res://.import/short.png-91db7f36df1a087629b942a028fb5df2.stex" ]
[params]
@@ -28,6 +28,7 @@ process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
+process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
diff --git a/assets/tank.png b/demo/assets/tank.png
index 949ef59..949ef59 100644
--- a/assets/tank.png
+++ b/demo/assets/tank.png
Binary files differ
diff --git a/assets/tank.png.import b/demo/assets/tank.png.import
index 249a86a..26613fc 100644
--- a/assets/tank.png.import
+++ b/demo/assets/tank.png.import
@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
-path="res://.import/tank.png-44e29c25b935427e1d3fe5ee8f405436.stex"
+path="res://.import/tank.png-2f13e859efcf4e73b133475e609ef36b.stex"
metadata={
"vram_texture": false
}
[deps]
-source_file="res://assets/tank.png"
-dest_files=[ "res://.import/tank.png-44e29c25b935427e1d3fe5ee8f405436.stex" ]
+source_file="res://demo/assets/tank.png"
+dest_files=[ "res://.import/tank.png-2f13e859efcf4e73b133475e609ef36b.stex" ]
[params]
@@ -28,6 +28,7 @@ process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
+process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
diff --git a/assets/target.png b/demo/assets/target.png
index 997df02..997df02 100644
--- a/assets/target.png
+++ b/demo/assets/target.png
Binary files differ
diff --git a/godot/HexMap.png.import b/demo/assets/target.png.import
index e420f52..81d6ccc 100644
--- a/godot/HexMap.png.import
+++ b/demo/assets/target.png.import
@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
-path="res://.import/HexMap.png-021fe668dbb17ad9c306310ffe1cd0f0.stex"
+path="res://.import/target.png-c45d87ea7b33e72c20871629efe7753d.stex"
metadata={
"vram_texture": false
}
[deps]
-source_file="res://godot/HexMap.png"
-dest_files=[ "res://.import/HexMap.png-021fe668dbb17ad9c306310ffe1cd0f0.stex" ]
+source_file="res://demo/assets/target.png"
+dest_files=[ "res://.import/target.png-c45d87ea7b33e72c20871629efe7753d.stex" ]
[params]
diff --git a/assets/tree.png b/demo/assets/tree.png
index b3300a4..b3300a4 100644
--- a/assets/tree.png
+++ b/demo/assets/tree.png
Binary files differ
diff --git a/assets/tree.png.import b/demo/assets/tree.png.import
index cd0af4c..4b2123d 100644
--- a/assets/tree.png.import
+++ b/demo/assets/tree.png.import
@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
-path="res://.import/tree.png-bf64094b89302dd1be83aa5edf9988ef.stex"
+path="res://.import/tree.png-09a81eaacb2ae7a9e3156ec7110e0c2e.stex"
metadata={
"vram_texture": false
}
[deps]
-source_file="res://assets/tree.png"
-dest_files=[ "res://.import/tree.png-bf64094b89302dd1be83aa5edf9988ef.stex" ]
+source_file="res://demo/assets/tree.png"
+dest_files=[ "res://.import/tree.png-09a81eaacb2ae7a9e3156ec7110e0c2e.stex" ]
[params]
@@ -28,6 +28,7 @@ process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
+process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
diff --git a/project.godot b/project.godot
index 1846513..e89d9c0 100644
--- a/project.godot
+++ b/project.godot
@@ -17,17 +17,17 @@ _global_script_classes=[ {
"base": "Node",
"class": "HexBoard",
"language": "GDScript",
-"path": "res://HexMap.gd"
+"path": "res://addons/hexgrid/HexMap.gd"
}, {
"base": "Node2D",
"class": "Piece",
"language": "GDScript",
-"path": "res://Piece.gd"
+"path": "res://addons/hexgrid/Piece.gd"
}, {
"base": "Node2D",
"class": "Tile",
"language": "GDScript",
-"path": "res://Tile.gd"
+"path": "res://addons/hexgrid/Tile.gd"
}, {
"base": "Piece",
"class": "Unit",
@@ -35,11 +35,11 @@ _global_script_classes=[ {
"path": "res://demo/Unit.gd"
} ]
_global_script_class_icons={
-"Hex": "res://godot/Tile.png",
-"HexBoard": "res://godot/HexMap.png",
-"Piece": "res://godot/Piece.png",
-"Tile": "res://godot/Tile.png",
-"Unit": "res://godot/Piece.png"
+"Hex": "res://addons/hexgrid/Tile.png",
+"HexBoard": "",
+"Piece": "",
+"Tile": "",
+"Unit": "res://addons/hexgrid/Piece.png"
}
[application]