Initial commit based on the work of shmup-01
This commit is contained in:
commit
da65849c27
78 changed files with 1723 additions and 0 deletions
62
main.tscn
Normal file
62
main.tscn
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
[gd_scene load_steps=7 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://pyuorpwb7lpe" path="res://player.tscn" id="2_0xm2m"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_h2yge"]
|
||||
resource_name = "scroll"
|
||||
length = 2.0
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("background:region_rect")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 2),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [Rect2(0, 0, 240, 320), Rect2(0, -64, 240, 320)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_1bvp3"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("background:region_rect")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Rect2(0, 0, 240, 320)]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_lquwl"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_1bvp3"),
|
||||
&"scroll": SubResource("Animation_h2yge")
|
||||
}
|
||||
|
||||
[node name="Main" type="Node2D"]
|
||||
script = ExtResource("1_h2yge")
|
||||
|
||||
[node name="background" type="Sprite2D" parent="."]
|
||||
texture_repeat = 2
|
||||
texture = ExtResource("1_ig7tw")
|
||||
centered = false
|
||||
region_enabled = true
|
||||
region_rect = Rect2(0, 0, 240, 320)
|
||||
|
||||
[node name="Player" parent="." instance=ExtResource("2_0xm2m")]
|
||||
position = Vector2(123, 270)
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
libraries = {
|
||||
&"": SubResource("AnimationLibrary_lquwl")
|
||||
}
|
||||
autoplay = "scroll"
|
||||
Loading…
Add table
Add a link
Reference in a new issue