45 lines
1.4 KiB
Plaintext
45 lines
1.4 KiB
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://cynwjsqox5eqx"]
|
|
|
|
[ext_resource type="Script" uid="uid://bdmoi05k2qhjs" path="res://scripts/planet.gd" id="1_cktii"]
|
|
[ext_resource type="Texture2D" uid="uid://bmu7jwnvu7ob2" path="res://assets/planets/p5.png" id="2_h8ms6"]
|
|
[ext_resource type="FontFile" uid="uid://chk8jrn2ighpx" path="res://assets/fonts/main_font.ttf" id="3_ggt7d"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_h8ms6"]
|
|
radius = 8.0
|
|
|
|
[node name="Planet" type="Node2D"]
|
|
script = ExtResource("1_cktii")
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
position = Vector2(16, -40)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
position = Vector2(-16, 40)
|
|
shape = SubResource("CircleShape2D_h8ms6")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
scale = Vector2(0.053333335, 0.053333335)
|
|
texture = ExtResource("2_h8ms6")
|
|
|
|
[node name="Label" type="Label" parent="."]
|
|
offset_left = 8.0
|
|
offset_top = -8.0
|
|
offset_right = 32.0
|
|
offset_bottom = 8.0
|
|
theme_override_fonts/font = ExtResource("3_ggt7d")
|
|
theme_override_font_sizes/font_size = 8
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
|
|
|
[node name="Info" type="Label" parent="CanvasLayer"]
|
|
visible = false
|
|
offset_left = 16.0
|
|
offset_top = 32.0
|
|
offset_right = 128.0
|
|
offset_bottom = 120.0
|
|
theme_override_font_sizes/font_size = 8
|
|
text = "test"
|
|
autowrap_mode = 2
|