git repos / blockattack-game

commit 8b26cda8

sago007 · 2016-04-17 16:28
8b26cda872df54900167cef17c3c2d5a360075ee patch · browse files
parent b79361c472e48469f4e57dcce544dcfc6350ab7e

Moved the rect to its own sprite-file

Changed files

M Game/data/sprites/blockattack.sprite before
A Game/data/sprites/gui_rect_white.sprite
diff --git a/Game/data/sprites/blockattack.sprite b/Game/data/sprites/blockattack.sprite index 0372c14..0e43732 100644 --- a/Game/data/sprites/blockattack.sprite +++ b/Game/data/sprites/blockattack.sprite
@@ -176,78 +176,6 @@
"width" : 52,
"originx" : 1,
"originy" : 1
-},
-
-"ui_rect_white_nw" : {
- "texture" : "gui_back",
- "topx" : 0,
- "topy" : 0,
- "height" : 32,
- "width" : 32
-},
-
-"ui_rect_white_n" : {
- "texture" : "gui_back",
- "topx" : 32,
- "topy" : 0,
- "height" : 32,
- "width" : 32
-},
-
-"ui_rect_white_ne" : {
- "texture" : "gui_back",
- "topx" : 160,
- "topy" : 0,
- "height" : 32,
- "width" : 32
-},
-
-"ui_rect_white_e" : {
- "texture" : "gui_back",
- "topx" : 160,
- "topy" : 32,
- "height" : 32,
- "width" : 32
-},
-
-"ui_rect_white_se" : {
- "texture" : "gui_back",
- "topx" : 160,
- "topy" : 160,
- "height" : 32,
- "width" : 32
-},
-
-"ui_rect_white_s" : {
- "texture" : "gui_back",
- "topx" : 32,
- "topy" : 160,
- "height" : 32,
- "width" : 32
-},
-
-"ui_rect_white_sw" : {
- "texture" : "gui_back",
- "topx" : 0,
- "topy" : 160,
- "height" : 32,
- "width" : 32
-},
-
-"ui_rect_white_w" : {
- "texture" : "gui_back",
- "topx" : 0,
- "topy" : 32,
- "height" : 32,
- "width" : 32
-},
-
-"ui_rect_white_fill" : {
- "texture" : "gui_back",
- "topx" : 32,
- "topy" : 32,
- "height" : 32,
- "width" : 32
}
}
diff --git a/Game/data/sprites/gui_rect_white.sprite b/Game/data/sprites/gui_rect_white.sprite new file mode 100644 index 0000000..8b200d1 --- /dev/null +++ b/Game/data/sprites/gui_rect_white.sprite
@@ -0,0 +1,75 @@
+{
+
+"ui_rect_white_nw" : {
+ "texture" : "gui_back",
+ "topx" : 0,
+ "topy" : 0,
+ "height" : 32,
+ "width" : 32
+},
+
+"ui_rect_white_n" : {
+ "texture" : "gui_back",
+ "topx" : 32,
+ "topy" : 0,
+ "height" : 32,
+ "width" : 32
+},
+
+"ui_rect_white_ne" : {
+ "texture" : "gui_back",
+ "topx" : 160,
+ "topy" : 0,
+ "height" : 32,
+ "width" : 32
+},
+
+"ui_rect_white_e" : {
+ "texture" : "gui_back",
+ "topx" : 160,
+ "topy" : 32,
+ "height" : 32,
+ "width" : 32
+},
+
+"ui_rect_white_se" : {
+ "texture" : "gui_back",
+ "topx" : 160,
+ "topy" : 160,
+ "height" : 32,
+ "width" : 32
+},
+
+"ui_rect_white_s" : {
+ "texture" : "gui_back",
+ "topx" : 32,
+ "topy" : 160,
+ "height" : 32,
+ "width" : 32
+},
+
+"ui_rect_white_sw" : {
+ "texture" : "gui_back",
+ "topx" : 0,
+ "topy" : 160,
+ "height" : 32,
+ "width" : 32
+},
+
+"ui_rect_white_w" : {
+ "texture" : "gui_back",
+ "topx" : 0,
+ "topy" : 32,
+ "height" : 32,
+ "width" : 32
+},
+
+"ui_rect_white_fill" : {
+ "texture" : "gui_back",
+ "topx" : 32,
+ "topy" : 32,
+ "height" : 32,
+ "width" : 32
+}
+
+}