-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTest.tscn
33 lines (23 loc) · 991 Bytes
/
Test.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
[gd_scene load_steps=4 format=2]
[ext_resource path="res://Sprite.gd" type="Script" id=1]
[sub_resource type="CubeMesh" id=2]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 512, 300 )
[node name="Node2D" type="Spatial"]
[node name="Sprite" type="MeshInstance" parent="."]
mesh = SubResource( 2 )
material/0 = null
script = ExtResource( 1 )
[node name="Control" type="Control" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TouchScreenButton" type="TouchScreenButton" parent="Control"]
shape = SubResource( 1 )
[node name="Spatial" type="Spatial" parent="."]
[node name="Camera" type="Camera" parent="Spatial"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 9.79835 )
[connection signal="pressed" from="Control/TouchScreenButton" to="Sprite" method="_on_TouchScreenButton_pressed"]
[connection signal="released" from="Control/TouchScreenButton" to="Sprite" method="_on_TouchScreenButton_released"]