Created Parallax2D background nodes from existing starfield background.

This commit is contained in:
Henry 2025-12-29 14:00:03 +00:00
parent 4dd7a7435b
commit 7a0ea55ff1
10 changed files with 231 additions and 1 deletions

View file

@ -1,7 +1,8 @@
[gd_scene load_steps=13 format=3 uid="uid://cc2dnhuv4qx7m"]
[gd_scene load_steps=14 format=3 uid="uid://cc2dnhuv4qx7m"]
[ext_resource type="Script" uid="uid://c51huloycn5as" path="res://main.gd" id="1_h2yge"]
[ext_resource type="Texture2D" uid="uid://jj8b7vqj3ihx" path="res://Mini Pixel Pack 3/Space_BG (2 frames) (64 x 64).png" id="1_ig7tw"]
[ext_resource type="PackedScene" uid="uid://tlcdxoupi2lb" path="res://parallax_starfield.tscn" id="2_5vw27"]
[ext_resource type="PackedScene" uid="uid://s6wf3egdqtmh" path="res://ui.tscn" id="4_1bvp3"]
[ext_resource type="Texture2D" uid="uid://db2v7dea5wi4" path="res://title - no border.png" id="4_7mycd"]
[ext_resource type="Shader" uid="uid://x02irwg8ynvp" path="res://pixel_highlight.gdshader" id="4_272bh"]
@ -60,7 +61,10 @@ shader_parameter/pixelate_line = 0
[node name="Main" type="Node2D"]
script = ExtResource("1_h2yge")
[node name="Parallax Starfield" parent="." instance=ExtResource("2_5vw27")]
[node name="background" type="Sprite2D" parent="."]
visible = false
z_index = -4
texture_repeat = 2
material = SubResource("ShaderMaterial_5vw27")