42 lines
1.4 KiB
Text
42 lines
1.4 KiB
Text
[gd_scene load_steps=9 format=2]
|
|
|
|
[ext_resource path="res://Characters/Player.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://Characters/Villain.tscn" type="PackedScene" id=2]
|
|
[ext_resource path="res://Scenes/Button_Node2D.gd" type="Script" id=3]
|
|
[ext_resource path="res://Assets/windows.png" type="Texture" id=4]
|
|
[ext_resource path="res://Assets/tres_button/hover.tres" type="StyleBox" id=5]
|
|
[ext_resource path="res://Assets/tres_button/normal.tres" type="StyleBox" id=6]
|
|
[ext_resource path="res://Assets/tres_button/pressed.tres" type="StyleBox" id=7]
|
|
|
|
[sub_resource type="Theme" id=1]
|
|
|
|
[node name="Node2D" type="Node2D"]
|
|
|
|
[node name="Player" parent="." instance=ExtResource( 1 )]
|
|
visible = false
|
|
position = Vector2( 719, 386 )
|
|
script = null
|
|
|
|
[node name="Button" type="Button" parent="."]
|
|
margin_left = 462.0
|
|
margin_top = 361.0
|
|
margin_right = 592.0
|
|
margin_bottom = 395.0
|
|
theme = SubResource( 1 )
|
|
custom_colors/font_color = Color( 0.27451, 0.207843, 0.207843, 1 )
|
|
custom_styles/hover = ExtResource( 5 )
|
|
custom_styles/pressed = ExtResource( 7 )
|
|
custom_styles/normal = ExtResource( 6 )
|
|
text = "CLIQUE MOI"
|
|
script = ExtResource( 3 )
|
|
|
|
[node name="Villain" parent="." instance=ExtResource( 2 )]
|
|
position = Vector2( 943, 639 )
|
|
|
|
[node name="Windows" type="Sprite" parent="."]
|
|
visible = false
|
|
position = Vector2( 512, 358 )
|
|
z_index = -3
|
|
texture = ExtResource( 4 )
|
|
|
|
[connection signal="pressed" from="Button" to="Button" method="_on_Button_pressed"]
|