forked from romlok/godot-gdhexgrid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo_2d.tscn
47 lines (37 loc) · 1.22 KB
/
demo_2d.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[gd_scene load_steps=3 format=3 uid="uid://c576yinyg5hbx"]
[ext_resource type="Script" path="res://demo_2d.gd" id="1"]
[sub_resource type="RectangleShape2D" id="1"]
size = Vector2(1024, 600)
[node name="2D Demo" type="Node"]
[node name="Area2D" type="Area2D" parent="."]
position = Vector2(512, 300)
script = ExtResource("1")
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
position = Vector2(0.237854, 0)
shape = SubResource("1")
[node name="Highlight" type="Polygon2D" parent="Area2D"]
polygon = PackedVector2Array(-12.5, 21.6506, 12.5, 21.6506, 25, 0, 12.5, -21.6506, -12.5, -21.6506, -25, 0)
[node name="Label" type="Label" parent="Area2D/Highlight"]
offset_left = 77.0
offset_top = -32.0
offset_right = 137.0
offset_bottom = -9.0
text = "SCREEN"
[node name="AreaCoords" type="Label" parent="Area2D/Highlight"]
offset_left = 78.0
offset_top = 5.0
offset_right = 138.0
offset_bottom = 28.0
text = "SCREEN"
[node name="Label2" type="Label" parent="Area2D/Highlight"]
offset_left = -128.0
offset_top = -33.0
offset_right = -97.0
offset_bottom = -10.0
text = "HEX"
[node name="HexCoords" type="Label" parent="Area2D/Highlight"]
offset_left = -128.0
offset_top = 5.0
offset_right = -97.0
offset_bottom = 28.0
text = "HEX"