zoom in test-buttons and hand tile

This commit is contained in:
2020-03-19 22:19:29 +08:00
parent ce7a6f4012
commit 0906628328
3 changed files with 6 additions and 2 deletions
+4 -2
View File
@@ -7,9 +7,11 @@ extends Node
class Tile:
enum Suit {Character, Bamboo, Dot, Wind, Dragon, Flower, Season}
const HEIGHT = 118
const WIDTH = 76
const BOTTOM_HAND_SCALE = 1.5
const HEIGHT = 118*BOTTOM_HAND_SCALE
const WIDTH = 76*BOTTOM_HAND_SCALE
const SELECT_HEIGHT = 30
const OPPOSITE_HAND_WIDTH = 79
const OPPOSITE_DROP_WIDTH = 76
+1
View File
@@ -175,6 +175,7 @@ texture_normal = ExtResource( 11 )
[node name="VBoxContainer" type="VBoxContainer" parent="."]
margin_right = 40.0
margin_bottom = 40.0
rect_scale = Vector2( 2, 4 )
__meta__ = {
"_edit_use_anchors_": false
}
+1
View File
@@ -4,6 +4,7 @@
[ext_resource path="res://Tile.gd" type="Script" id=2]
[node name="Sprite" type="Sprite"]
scale = Vector2( 1.5, 1.5 )
texture = ExtResource( 1 )
centered = false
vframes = 5