mirror of
https://github.com/PfandBoss/SemesterGameJam2022.git
synced 2025-11-11 20:06:14 +01:00
infinite scroll
This commit is contained in:
BIN
Assets/Model/Train/TrainFloorTile2x2.glb.unwrap_cache
Normal file
BIN
Assets/Model/Train/TrainFloorTile2x2.glb.unwrap_cache
Normal file
Binary file not shown.
BIN
Assets/Model/Train/TrainFloorTile4x4.glb.unwrap_cache
Normal file
BIN
Assets/Model/Train/TrainFloorTile4x4.glb.unwrap_cache
Normal file
Binary file not shown.
BIN
Assets/Model/Train/TrainFrameTop.glb.unwrap_cache
Normal file
BIN
Assets/Model/Train/TrainFrameTop.glb.unwrap_cache
Normal file
Binary file not shown.
BIN
Assets/Model/Train/TrainFrameTopBottom.glb.unwrap_cache
Normal file
BIN
Assets/Model/Train/TrainFrameTopBottom.glb.unwrap_cache
Normal file
Binary file not shown.
BIN
Assets/Model/Train/TrainFrameTopBottomLarge.glb.unwrap_cache
Normal file
BIN
Assets/Model/Train/TrainFrameTopBottomLarge.glb.unwrap_cache
Normal file
Binary file not shown.
BIN
Assets/Model/Train/TrainPillar.glb.unwrap_cache
Normal file
BIN
Assets/Model/Train/TrainPillar.glb.unwrap_cache
Normal file
Binary file not shown.
52
Nodes/game_Backup.tscn
Normal file
52
Nodes/game_Backup.tscn
Normal file
@@ -0,0 +1,52 @@
|
||||
[gd_scene load_steps=10 format=3 uid="uid://cjlvvpg4cies2"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/Logic/Game.gd" id="1_2seu8"]
|
||||
[ext_resource type="PackedScene" uid="uid://nxapkgcq2c70" path="res://Nodes/light_setup.tscn" id="2_bb8qk"]
|
||||
[ext_resource type="PackedScene" uid="uid://bqe8ucbruto1j" path="res://Nodes/StartNode.tscn" id="3_q7mmj"]
|
||||
[ext_resource type="PackedScene" uid="uid://md2ofbviios3" path="res://Nodes/Train_P1.tscn" id="4_m83nu"]
|
||||
[ext_resource type="PackedScene" uid="uid://bikdn7ep2vpxw" path="res://Nodes/Train_P2.tscn" id="5_rgk6m"]
|
||||
[ext_resource type="PackedScene" uid="uid://cys06pnxfjl2m" path="res://Nodes/UI.tscn" id="6_c188b"]
|
||||
[ext_resource type="AudioStream" uid="uid://c5jhukuk8r3mf" path="res://Assets/Sounds/_MUSIC_/GameJamGameLoop.wav" id="7_vkrn3"]
|
||||
[ext_resource type="AudioStream" uid="uid://n4ynf7hg2pcl" path="res://Assets/Sounds/_SOUNDFX_/GleiseLoop.wav" id="8_emik6"]
|
||||
[ext_resource type="AudioStream" uid="uid://dovvnflvxtqpi" path="res://Assets/Sounds/_SOUNDFX_/WindLoop.wav" id="9_d64kc"]
|
||||
|
||||
[node name="Game" type="Node"]
|
||||
script = ExtResource("1_2seu8")
|
||||
|
||||
[node name="LightSetup" parent="." instance=ExtResource("2_bb8qk")]
|
||||
|
||||
[node name="StartNode" parent="." instance=ExtResource("3_q7mmj")]
|
||||
|
||||
[node name="Camera3D" type="Camera3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 0.5, 0.866025, 0, -0.866025, 0.5, 0, 43, 26.0132)
|
||||
current = true
|
||||
fov = 30.0
|
||||
size = 32.0
|
||||
near = 0.041
|
||||
|
||||
[node name="Train1" parent="." instance=ExtResource("4_m83nu")]
|
||||
transform = Transform3D(1, 0, 3.55271e-15, 0, 1, 0, -3.55271e-15, 0, 1, -10, 0, 0)
|
||||
|
||||
[node name="Train2" parent="." instance=ExtResource("5_rgk6m")]
|
||||
transform = Transform3D(1, 0, 3.55271e-15, 0, 1, 0, -3.55271e-15, 0, 1, 9.90113, -0.0549407, -0.085681)
|
||||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||
transform = Transform3D(0.875944, -0.294781, 0.381872, -0.106805, 0.65344, 0.749406, -0.470441, -0.697224, 0.540892, 0, 8.25958, 0)
|
||||
visible = false
|
||||
|
||||
[node name="Control" parent="." instance=ExtResource("6_c188b")]
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("7_vkrn3")
|
||||
volume_db = -27.238
|
||||
autoplay = true
|
||||
|
||||
[node name="AudioStreamPlayer2" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("8_emik6")
|
||||
volume_db = -10.0
|
||||
autoplay = true
|
||||
|
||||
[node name="AudioStreamPlayer3" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("9_d64kc")
|
||||
volume_db = -2.476
|
||||
autoplay = true
|
||||
10
Nodes/move_down.gd
Normal file
10
Nodes/move_down.gd
Normal file
@@ -0,0 +1,10 @@
|
||||
extends Node3D
|
||||
var t = 0
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta):
|
||||
t += delta * 45
|
||||
position.z = t
|
||||
|
||||
if(position.z > 250):
|
||||
queue_free()
|
||||
8
Nodes/rail_tracks.tscn
Normal file
8
Nodes/rail_tracks.tscn
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://bnncg1dfmmv65"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bodqnls3mymf5" path="res://Assets/Model/Objects/rail_tracks.glb" id="1_legec"]
|
||||
[ext_resource type="Script" path="res://Nodes/move_down.gd" id="2_xb4pi"]
|
||||
|
||||
[node name="rail_tracks" instance=ExtResource("1_legec")]
|
||||
transform = Transform3D(-8.74228e-08, 0, 2, 0, 2, 0, -2, 0, -8.74228e-08, 0, 0, 0)
|
||||
script = ExtResource("2_xb4pi")
|
||||
Reference in New Issue
Block a user