Files
gdnative-demos/cpp/simple/project/main.tscn

33 lines
823 B
Plaintext

[gd_scene load_steps=4 format=2]
[ext_resource path="res://main.gd" type="Script" id=1]
[ext_resource path="res://icon.png" type="Texture" id=2]
[ext_resource path="res://gdnative/simple_sprite.gdns" type="Script" id=3]
[node name="Node" type="Node"]
script = ExtResource( 1 )
[node name="Button" type="Button" parent="."]
margin_left = 333.0
margin_top = 208.0
margin_right = 682.0
margin_bottom = 325.0
text = "Press me"
[node name="Label" type="Label" parent="."]
margin_left = 348.0
margin_top = 360.0
margin_right = 662.0
margin_bottom = 374.0
align = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="SimpleSprite" type="Sprite" parent="."]
position = Vector2( 100, 100 )
texture = ExtResource( 2 )
script = ExtResource( 3 )
[connection signal="pressed" from="Button" to="." method="_on_Button_pressed"]