infinite scroll

This commit is contained in:
2022-12-11 01:06:41 +01:00
parent f252274803
commit cef356a7b7
9 changed files with 134 additions and 19 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=23 format=3 uid="uid://md2ofbviios3"]
[gd_scene load_steps=27 format=3 uid="uid://md2ofbviios3"]
[ext_resource type="Script" path="res://scripts/Train.gd" id="1_0x664"]
[ext_resource type="PackedScene" uid="uid://bhivunrkj87cy" path="res://Nodes/engine.tscn" id="3_1ix85"]
@@ -65,6 +65,18 @@ animations = [{
"speed": 2.0
}]
[sub_resource type="BoxShape3D" id="BoxShape3D_lji1n"]
size = Vector3(1, 3.77669, 24)
[sub_resource type="BoxShape3D" id="BoxShape3D_hx6x8"]
size = Vector3(12, 1, 24)
[sub_resource type="BoxShape3D" id="BoxShape3D_d230q"]
size = Vector3(12, 4, 1)
[sub_resource type="BoxShape3D" id="BoxShape3D_04j56"]
size = Vector3(1, 6, 9.05915)
[node name="Train1" type="Node3D"]
transform = Transform3D(1, 0, 3.55271e-15, 0, 1, 0, -3.55271e-15, 0, 1, 0, 0, 0)
script = ExtResource("1_0x664")
@@ -128,4 +140,31 @@ icon = ExtResource("19_5df2b")
audioClip = ExtResource("17_ajifv")
[node name="train" parent="." instance=ExtResource("3_jmv6b")]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0, 0)
transform = Transform3D(-6.55671e-08, 0, 1.5, 0, 1.5, 0, -1.5, 0, -6.55671e-08, 3, 0, 9)
[node name="StaticBody3D2" type="StaticBody3D" parent="train"]
transform = Transform3D(-2.91409e-08, 0, -0.666667, 0, 0.666667, 0, 0.666667, 0, -2.91409e-08, 6, -0.137826, -1.33333)
[node name="CollisionShape3D2" type="CollisionShape3D" parent="train/StaticBody3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.5, 2, 4.23516e-22)
shape = SubResource("BoxShape3D_lji1n")
[node name="CollisionShape3D3" type="CollisionShape3D" parent="train/StaticBody3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.5, 2, 3.55271e-15)
shape = SubResource("BoxShape3D_lji1n")
[node name="CollisionShape3D" type="CollisionShape3D" parent="train/StaticBody3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, -3.55271e-15)
shape = SubResource("BoxShape3D_hx6x8")
[node name="CollisionShape3D4" type="CollisionShape3D" parent="train/StaticBody3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 2, -12)
shape = SubResource("BoxShape3D_d230q")
[node name="CollisionShape3D5" type="CollisionShape3D" parent="train/StaticBody3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 2, 12)
shape = SubResource("BoxShape3D_d230q")
[node name="CollisionShape3D6" type="CollisionShape3D" parent="train/StaticBody3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 3, -1.52864)
shape = SubResource("BoxShape3D_04j56")