Added base template (uninteractive yet)
This commit is contained in:
parent
93aa83dcaa
commit
2d4eb92751
8 changed files with 100 additions and 17 deletions
|
|
@ -13,6 +13,9 @@ script = ExtResource("2_n14ml")
|
|||
[node name="HullHolder" type="Node" parent="."]
|
||||
|
||||
[node name="Hull" parent="HullHolder" instance=ExtResource("3_upgeg")]
|
||||
collision_mask = 3
|
||||
max_contacts_reported = 1
|
||||
contact_monitor = true
|
||||
|
||||
[node name="Engine" parent="." instance=ExtResource("4_adr14")]
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://crneq2enhxsw5"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://crneq2enhxsw5"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bsnrcw64qr2hr" path="res://scenes/Star Systems/star_system_template.tscn" id="1_2ai1l"]
|
||||
[ext_resource type="PackedScene" uid="uid://dk3nvl8f0v24e" path="res://scenes/base_template.tscn" id="3_m5ica"]
|
||||
[ext_resource type="PackedScene" uid="uid://dok3i8u5t1ka4" path="res://scenes/Ships/player_ship.tscn" id="7_jyplv"]
|
||||
|
||||
[node name="StarSystem" instance=ExtResource("1_2ai1l")]
|
||||
|
|
@ -11,10 +12,13 @@ height = 16384
|
|||
scroll_offset = Vector2(681.667, 317.783)
|
||||
stars_amount = 4000
|
||||
|
||||
[node name="Nebula" parent="Background" index="0" node_paths=PackedStringArray("tracked_node")]
|
||||
tracked_node = NodePath("../../PlayerShip")
|
||||
color_background = Color(0.276474, 0.0962249, 0.200656, 1)
|
||||
|
||||
[node name="PlayerShip" parent="." index="3" instance=ExtResource("7_jyplv")]
|
||||
process_mode = 0
|
||||
position = Vector2(19, 10)
|
||||
|
||||
[node name="Base" parent="." index="4" instance=ExtResource("3_m5ica")]
|
||||
position = Vector2(7171, -28)
|
||||
|
||||
[node name="Nebula" parent="Background" index="0" node_paths=PackedStringArray("tracked_node")]
|
||||
tracked_node = NodePath("../../PlayerShip")
|
||||
color_background = Color(0.276474, 0.0962249, 0.200656, 1)
|
||||
|
|
|
|||
|
|
@ -31,6 +31,18 @@ pause_controller_scene = ExtResource("6_61vq5")
|
|||
process_mode = 1
|
||||
script = ExtResource("3_h5cm3")
|
||||
|
||||
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
||||
|
||||
[node name="Version" type="Label" parent="CanvasLayer"]
|
||||
z_index = 4096
|
||||
z_as_relative = false
|
||||
offset_top = 6.0
|
||||
offset_right = 1280.0
|
||||
offset_bottom = 29.0
|
||||
text = "GammaCosmicRays version Ifre 1.0"
|
||||
horizontal_alignment = 1
|
||||
script = SubResource("GDScript_4yoh5")
|
||||
|
||||
[node name="Background" type="CanvasLayer" parent="."]
|
||||
process_mode = 1
|
||||
layer = -10
|
||||
|
|
@ -45,13 +57,3 @@ grow_horizontal = 2
|
|||
grow_vertical = 2
|
||||
script = ExtResource("5_la84n")
|
||||
color_background = Color(0.36, 0.18612, 0.1116, 1)
|
||||
|
||||
[node name="Version" type="Label" parent="Background"]
|
||||
z_index = 50
|
||||
z_as_relative = false
|
||||
offset_top = 6.0
|
||||
offset_right = 1280.0
|
||||
offset_bottom = 29.0
|
||||
text = "GammaCosmicRays version Ifre 1.0"
|
||||
horizontal_alignment = 1
|
||||
script = SubResource("GDScript_4yoh5")
|
||||
|
|
|
|||
23
scenes/base_template.tscn
Normal file
23
scenes/base_template.tscn
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://dk3nvl8f0v24e"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://3x77t3kd6v0x" path="res://sprites/triangle_base.png" id="1_nrkxw"]
|
||||
|
||||
[node name="Base" type="StaticBody2D"]
|
||||
collision_layer = 2
|
||||
collision_mask = 7
|
||||
|
||||
[node name="Sprite" type="Sprite2D" parent="."]
|
||||
position = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("1_nrkxw")
|
||||
|
||||
[node name="BaseCollider" type="CollisionPolygon2D" parent="."]
|
||||
position = Vector2(1, -2)
|
||||
polygon = PackedVector2Array(-2, 251, -58, 275, -91, 307, -91, 414, -179, 462, -420, 488, -422, 488, -548, 468, -549, 466, -502, 343, -359, 148, -273, 95, -183, -60, -181, -161, -83, -383, -1, -483, 0, -483, 82, -383, 180, -160, 183, -58, 272, 96, 359, 149, 502, 345, 548, 466, 547, 468, 421, 488, 419, 488, 178, 462, 90, 414, 90, 308, 60, 277, 1, 251)
|
||||
|
||||
[node name="VisibleArea" type="ColorRect" parent="."]
|
||||
z_index = -1
|
||||
offset_left = -181.0
|
||||
offset_top = 248.0
|
||||
offset_right = 177.0
|
||||
offset_bottom = 458.0
|
||||
color = Color(1, 1, 1, 0.352941)
|
||||
Loading…
Add table
Add a link
Reference in a new issue