39 lines
1.5 KiB
Text
39 lines
1.5 KiB
Text
[gd_scene load_steps=7 format=3 uid="uid://cx3txojpcod4x"]
|
|
|
|
[ext_resource type="Script" uid="uid://b4jfjnwxnqfyl" path="res://planet/button_planet.gd" id="1_a80ru"]
|
|
[ext_resource type="PackedScene" uid="uid://bmlfyt1ykh3aq" path="res://planet/planet_v_2.tscn" id="2_eooxo"]
|
|
[ext_resource type="Texture2D" uid="uid://comkfxlkepovl" path="res://assets/ButtonRessources/button-area-orange.png" id="3_eooxo"]
|
|
[ext_resource type="Texture2D" uid="uid://c4gc8beikvo0m" path="res://assets/ButtonRessources/button-area-pink.png" id="4_a73fu"]
|
|
[ext_resource type="Texture2D" uid="uid://dqn57b1rfvctf" path="res://assets/ButtonRessources/button-area-green.png" id="5_fbxey"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_a80ru"]
|
|
resource_local_to_scene = true
|
|
radius = 192.0
|
|
|
|
[node name="button_planet" type="Node2D"]
|
|
script = ExtResource("1_a80ru")
|
|
|
|
[node name="planet_v2" parent="." instance=ExtResource("2_eooxo")]
|
|
|
|
[node name="activation_area" type="Area2D" parent="."]
|
|
input_pickable = false
|
|
|
|
[node name="shape" type="CollisionShape2D" parent="activation_area"]
|
|
shape = SubResource("CircleShape2D_a80ru")
|
|
|
|
[node name="Color" type="Node2D" parent="."]
|
|
|
|
[node name="Orange" type="Sprite2D" parent="Color"]
|
|
visible = false
|
|
scale = Vector2(4, 4)
|
|
texture = ExtResource("3_eooxo")
|
|
|
|
[node name="Pink" type="Sprite2D" parent="Color"]
|
|
visible = false
|
|
scale = Vector2(4, 4)
|
|
texture = ExtResource("4_a73fu")
|
|
|
|
[node name="Green" type="Sprite2D" parent="Color"]
|
|
visible = false
|
|
scale = Vector2(4, 4)
|
|
texture = ExtResource("5_fbxey")
|