musics etc
This commit is contained in:
parent
2e310f4053
commit
bb6404e918
36 changed files with 652 additions and 130 deletions
|
@ -37,8 +37,15 @@ var air_time := 0.0
|
||||||
|
|
||||||
|
|
||||||
func custom_gravity() -> Vector3:
|
func custom_gravity() -> Vector3:
|
||||||
var attractor = road_path.to_global(road_path.curve.get_closest_point(road_path.to_local(position)))
|
var closest_offset = road_path.curve.get_closest_offset(road_path.to_local(position))
|
||||||
return (attractor - position).normalized()
|
var closest_transform = road_path.curve.sample_baked_with_rotation(closest_offset, true, true)
|
||||||
|
var closest_point = road_path.to_global(closest_transform.origin)
|
||||||
|
#var project_plane = Plane(closest_transform.basis.y.normalized(), closest_point)
|
||||||
|
#print(closest_point)
|
||||||
|
#return -project_plane.project(position).normalized() * 0.1
|
||||||
|
#var attractor = road_path.to_global(road_path.curve.get_closest_point(road_path.to_local(position)))
|
||||||
|
|
||||||
|
return -closest_transform.basis.y
|
||||||
|
|
||||||
func return_to_road():
|
func return_to_road():
|
||||||
position = respawn_pos + 3*Vector3.UP
|
position = respawn_pos + 3*Vector3.UP
|
||||||
|
@ -70,9 +77,6 @@ func _physics_process(delta: float) -> void:
|
||||||
respawn_pos = position
|
respawn_pos = position
|
||||||
|
|
||||||
if !is_on_floor:
|
if !is_on_floor:
|
||||||
#$DriftParticles.emitting = false
|
|
||||||
#$DriftParticles2.emitting = false
|
|
||||||
#AudioServer.set_bus_volume_db(5, -80)
|
|
||||||
air_time += delta
|
air_time += delta
|
||||||
if air_time > 1.5:
|
if air_time > 1.5:
|
||||||
return_to_road()
|
return_to_road()
|
||||||
|
@ -108,12 +112,6 @@ func _physics_process(delta: float) -> void:
|
||||||
)
|
)
|
||||||
drift_factor = clamp(drift_factor, 0, 1)
|
drift_factor = clamp(drift_factor, 0, 1)
|
||||||
|
|
||||||
#$DriftParticles.emitting = drift_factor < 1 && is_on_floor
|
|
||||||
#$DriftParticles2.emitting = drift_factor < 1 && is_on_floor
|
|
||||||
#if drift_factor < 1 && is_on_floor:
|
|
||||||
#AudioServer.set_bus_volume_db(5, lerp(-15, -30, drift_factor))
|
|
||||||
#else:
|
|
||||||
#AudioServer.set_bus_volume_db(5, -80)
|
|
||||||
|
|
||||||
steer_speed = lerp(steer_speed * 2.0, base_steer_speed, drift_factor)
|
steer_speed = lerp(steer_speed * 2.0, base_steer_speed, drift_factor)
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
friction = 0.5
|
friction = 0.5
|
||||||
|
|
||||||
[sub_resource type="BoxShape3D" id="BoxShape3D_76tdi"]
|
[sub_resource type="BoxShape3D" id="BoxShape3D_76tdi"]
|
||||||
size = Vector3(1, 1, 2.2)
|
size = Vector3(1, 0, 2.2)
|
||||||
|
|
||||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_yotxw"]
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_yotxw"]
|
||||||
height = 1.1
|
height = 1.1
|
||||||
|
@ -32,6 +32,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 0.435121, 1)
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
||||||
shape = SubResource("BoxShape3D_76tdi")
|
shape = SubResource("BoxShape3D_76tdi")
|
||||||
|
disabled = true
|
||||||
|
|
||||||
[node name="CollisionShape3D2" type="CollisionShape3D" parent="."]
|
[node name="CollisionShape3D2" type="CollisionShape3D" parent="."]
|
||||||
transform = Transform3D(-4.37114e-08, 1, -4.37114e-08, 0, -4.37114e-08, -1, -1, -4.37114e-08, 1.91069e-15, 0, 0, 1)
|
transform = Transform3D(-4.37114e-08, 1, -4.37114e-08, 0, -4.37114e-08, -1, -1, -4.37114e-08, 1.91069e-15, 0, 0, 1)
|
||||||
|
@ -62,4 +63,6 @@ transform = Transform3D(-0.35, 0, -3.0598e-08, 0, 0.35, 0, 3.0598e-08, 0, -0.35,
|
||||||
[node name="CameraFollowPoint" type="Marker3D" parent="."]
|
[node name="CameraFollowPoint" type="Marker3D" parent="."]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.31962, -2.93594)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.31962, -2.93594)
|
||||||
|
|
||||||
|
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="."]
|
||||||
|
|
||||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||||
|
|
|
@ -1,6 +1,11 @@
|
||||||
extends Node
|
extends Node
|
||||||
|
|
||||||
@export var nb_checkpoints := 5
|
|
||||||
|
const LEVELS = [preload("res://scenes/levels/level1.tscn")]
|
||||||
|
|
||||||
|
var current_level = 0
|
||||||
|
|
||||||
|
@export var nb_checkpoints := 3
|
||||||
@export var max_lap := 3
|
@export var max_lap := 3
|
||||||
|
|
||||||
var current_checkpoint := 0
|
var current_checkpoint := 0
|
||||||
|
@ -8,16 +13,14 @@ var current_lap := 0
|
||||||
|
|
||||||
func checkPointEnter(check_point_id):
|
func checkPointEnter(check_point_id):
|
||||||
if check_point_id != current_checkpoint:
|
if check_point_id != current_checkpoint:
|
||||||
print("not good checkpoint")
|
|
||||||
return
|
return
|
||||||
|
|
||||||
if check_point_id == 0:
|
if check_point_id == 0:
|
||||||
current_lap += 1
|
current_lap += 1
|
||||||
current_checkpoint = 1
|
|
||||||
print("new lap")
|
|
||||||
else:
|
|
||||||
current_checkpoint += 1
|
current_checkpoint += 1
|
||||||
print(current_checkpoint)
|
else:
|
||||||
|
current_checkpoint += 1
|
||||||
|
current_checkpoint %= nb_checkpoints
|
||||||
|
|
||||||
if (current_lap == max_lap):
|
if (current_lap == max_lap):
|
||||||
endTrack()
|
endTrack()
|
||||||
|
|
11
entities/mainMenu/main_menu.gd
Normal file
11
entities/mainMenu/main_menu.gd
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
extends Control
|
||||||
|
|
||||||
|
|
||||||
|
func _on_button_1_pressed() -> void:
|
||||||
|
get_tree().change_scene_to_packed(CheckPointManager.LEVELS[0])
|
||||||
|
|
||||||
|
func _on_button_2_pressed() -> void:
|
||||||
|
get_tree().change_scene_to_packed(CheckPointManager.LEVELS[0])
|
||||||
|
|
||||||
|
func _on_button_3_pressed() -> void:
|
||||||
|
get_tree().change_scene_to_packed(CheckPointManager.LEVELS[0])
|
1
entities/mainMenu/main_menu.gd.uid
Normal file
1
entities/mainMenu/main_menu.gd.uid
Normal file
|
@ -0,0 +1 @@
|
||||||
|
uid://cntibc2ih0im7
|
6
entities/mainMenu/moto_rotate.gd
Normal file
6
entities/mainMenu/moto_rotate.gd
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
extends Node3D
|
||||||
|
|
||||||
|
@export var rotating_speed := 1.0
|
||||||
|
|
||||||
|
func _process(delta: float) -> void:
|
||||||
|
rotate(Vector3.UP, delta*rotating_speed)
|
1
entities/mainMenu/moto_rotate.gd.uid
Normal file
1
entities/mainMenu/moto_rotate.gd.uid
Normal file
|
@ -0,0 +1 @@
|
||||||
|
uid://dlrn4dviqqsdl
|
|
@ -2,7 +2,7 @@
|
||||||
extends Path3D
|
extends Path3D
|
||||||
class_name RoadPath
|
class_name RoadPath
|
||||||
@export_tool_button("update_control_points") var action = update_control_points
|
@export_tool_button("update_control_points") var action = update_control_points
|
||||||
var tilt_scale : float = 0.0005
|
@export var tilt_scale : float = 0.0005
|
||||||
|
|
||||||
func modulo_get_point_position(i):
|
func modulo_get_point_position(i):
|
||||||
return curve.get_point_position(posmod(i, curve.point_count))
|
return curve.get_point_position(posmod(i, curve.point_count))
|
||||||
|
|
|
@ -37,8 +37,8 @@ func generate_mesh():
|
||||||
var dist2 = float(i + 1) * segment_length
|
var dist2 = float(i + 1) * segment_length
|
||||||
|
|
||||||
|
|
||||||
var t1 := curve.sample_baked_with_rotation(dist1, true)
|
var t1 := curve.sample_baked_with_rotation(dist1, true, true)
|
||||||
var t2 := curve.sample_baked_with_rotation(dist2, true)
|
var t2 := curve.sample_baked_with_rotation(dist2, true, true)
|
||||||
|
|
||||||
var fwd1 = t1.basis.z.normalized()
|
var fwd1 = t1.basis.z.normalized()
|
||||||
var fwd2 = t2.basis.z.normalized()
|
var fwd2 = t2.basis.z.normalized()
|
||||||
|
|
File diff suppressed because one or more lines are too long
7
fonts/BigTextLabelSettings.tres
Normal file
7
fonts/BigTextLabelSettings.tres
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
[gd_resource type="LabelSettings" load_steps=2 format=3 uid="uid://cru5yoau1mluh"]
|
||||||
|
|
||||||
|
[ext_resource type="FontFile" uid="uid://dk0kf7sylb7sg" path="res://fonts/vipnagorgialla/Vipnagorgialla Bd It.otf" id="1_0fbvo"]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
font = ExtResource("1_0fbvo")
|
||||||
|
font_size = 64
|
7
fonts/DefautTheme.tres
Normal file
7
fonts/DefautTheme.tres
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
[gd_resource type="Theme" load_steps=2 format=3 uid="uid://desmbsje23ubj"]
|
||||||
|
|
||||||
|
[ext_resource type="FontFile" uid="uid://dk0kf7sylb7sg" path="res://fonts/vipnagorgialla/Vipnagorgialla Bd It.otf" id="1_dkgq8"]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
default_font = ExtResource("1_dkgq8")
|
||||||
|
default_font_size = 32
|
BIN
fonts/vipnagorgialla/Typodermic Desktop EULA 2023.pdf
Normal file
BIN
fonts/vipnagorgialla/Typodermic Desktop EULA 2023.pdf
Normal file
Binary file not shown.
BIN
fonts/vipnagorgialla/Vipnagorgialla Bd It.otf
Normal file
BIN
fonts/vipnagorgialla/Vipnagorgialla Bd It.otf
Normal file
Binary file not shown.
35
fonts/vipnagorgialla/Vipnagorgialla Bd It.otf.import
Normal file
35
fonts/vipnagorgialla/Vipnagorgialla Bd It.otf.import
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="font_data_dynamic"
|
||||||
|
type="FontFile"
|
||||||
|
uid="uid://dk0kf7sylb7sg"
|
||||||
|
path="res://.godot/imported/Vipnagorgialla Bd It.otf-f5bda61e51ceeedb96a3ef9559e0281d.fontdata"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://fonts/vipnagorgialla/Vipnagorgialla Bd It.otf"
|
||||||
|
dest_files=["res://.godot/imported/Vipnagorgialla Bd It.otf-f5bda61e51ceeedb96a3ef9559e0281d.fontdata"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
Rendering=null
|
||||||
|
antialiasing=1
|
||||||
|
generate_mipmaps=false
|
||||||
|
disable_embedded_bitmaps=true
|
||||||
|
multichannel_signed_distance_field=false
|
||||||
|
msdf_pixel_range=8
|
||||||
|
msdf_size=48
|
||||||
|
allow_system_fallback=true
|
||||||
|
force_autohinter=false
|
||||||
|
hinting=1
|
||||||
|
subpixel_positioning=4
|
||||||
|
keep_rounding_remainders=true
|
||||||
|
oversampling=0.0
|
||||||
|
Fallbacks=null
|
||||||
|
fallbacks=[]
|
||||||
|
Compress=null
|
||||||
|
compress=true
|
||||||
|
preload=[]
|
||||||
|
language_support={}
|
||||||
|
script_support={}
|
||||||
|
opentype_features={}
|
BIN
fonts/vipnagorgialla/Vipnagorgialla Bd.otf
Normal file
BIN
fonts/vipnagorgialla/Vipnagorgialla Bd.otf
Normal file
Binary file not shown.
35
fonts/vipnagorgialla/Vipnagorgialla Bd.otf.import
Normal file
35
fonts/vipnagorgialla/Vipnagorgialla Bd.otf.import
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="font_data_dynamic"
|
||||||
|
type="FontFile"
|
||||||
|
uid="uid://nnxm3octktda"
|
||||||
|
path="res://.godot/imported/Vipnagorgialla Bd.otf-1c35cd4c0fada5ce369dc14af626f8ca.fontdata"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://fonts/vipnagorgialla/Vipnagorgialla Bd.otf"
|
||||||
|
dest_files=["res://.godot/imported/Vipnagorgialla Bd.otf-1c35cd4c0fada5ce369dc14af626f8ca.fontdata"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
Rendering=null
|
||||||
|
antialiasing=1
|
||||||
|
generate_mipmaps=false
|
||||||
|
disable_embedded_bitmaps=true
|
||||||
|
multichannel_signed_distance_field=false
|
||||||
|
msdf_pixel_range=8
|
||||||
|
msdf_size=48
|
||||||
|
allow_system_fallback=true
|
||||||
|
force_autohinter=false
|
||||||
|
hinting=1
|
||||||
|
subpixel_positioning=4
|
||||||
|
keep_rounding_remainders=true
|
||||||
|
oversampling=0.0
|
||||||
|
Fallbacks=null
|
||||||
|
fallbacks=[]
|
||||||
|
Compress=null
|
||||||
|
compress=true
|
||||||
|
preload=[]
|
||||||
|
language_support={}
|
||||||
|
script_support={}
|
||||||
|
opentype_features={}
|
BIN
fonts/vipnagorgialla/Vipnagorgialla Rg It.otf
Normal file
BIN
fonts/vipnagorgialla/Vipnagorgialla Rg It.otf
Normal file
Binary file not shown.
35
fonts/vipnagorgialla/Vipnagorgialla Rg It.otf.import
Normal file
35
fonts/vipnagorgialla/Vipnagorgialla Rg It.otf.import
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="font_data_dynamic"
|
||||||
|
type="FontFile"
|
||||||
|
uid="uid://c3slw20bwxdh6"
|
||||||
|
path="res://.godot/imported/Vipnagorgialla Rg It.otf-e8e9ffc86cbca3ed0ae8d39a01c05325.fontdata"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://fonts/vipnagorgialla/Vipnagorgialla Rg It.otf"
|
||||||
|
dest_files=["res://.godot/imported/Vipnagorgialla Rg It.otf-e8e9ffc86cbca3ed0ae8d39a01c05325.fontdata"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
Rendering=null
|
||||||
|
antialiasing=1
|
||||||
|
generate_mipmaps=false
|
||||||
|
disable_embedded_bitmaps=true
|
||||||
|
multichannel_signed_distance_field=false
|
||||||
|
msdf_pixel_range=8
|
||||||
|
msdf_size=48
|
||||||
|
allow_system_fallback=true
|
||||||
|
force_autohinter=false
|
||||||
|
hinting=1
|
||||||
|
subpixel_positioning=4
|
||||||
|
keep_rounding_remainders=true
|
||||||
|
oversampling=0.0
|
||||||
|
Fallbacks=null
|
||||||
|
fallbacks=[]
|
||||||
|
Compress=null
|
||||||
|
compress=true
|
||||||
|
preload=[]
|
||||||
|
language_support={}
|
||||||
|
script_support={}
|
||||||
|
opentype_features={}
|
BIN
fonts/vipnagorgialla/Vipnagorgialla Rg.otf
Normal file
BIN
fonts/vipnagorgialla/Vipnagorgialla Rg.otf
Normal file
Binary file not shown.
35
fonts/vipnagorgialla/Vipnagorgialla Rg.otf.import
Normal file
35
fonts/vipnagorgialla/Vipnagorgialla Rg.otf.import
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="font_data_dynamic"
|
||||||
|
type="FontFile"
|
||||||
|
uid="uid://fjblok0rbnbw"
|
||||||
|
path="res://.godot/imported/Vipnagorgialla Rg.otf-bfae11db74aef70f57da9711a6fe07be.fontdata"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://fonts/vipnagorgialla/Vipnagorgialla Rg.otf"
|
||||||
|
dest_files=["res://.godot/imported/Vipnagorgialla Rg.otf-bfae11db74aef70f57da9711a6fe07be.fontdata"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
Rendering=null
|
||||||
|
antialiasing=1
|
||||||
|
generate_mipmaps=false
|
||||||
|
disable_embedded_bitmaps=true
|
||||||
|
multichannel_signed_distance_field=false
|
||||||
|
msdf_pixel_range=8
|
||||||
|
msdf_size=48
|
||||||
|
allow_system_fallback=true
|
||||||
|
force_autohinter=false
|
||||||
|
hinting=1
|
||||||
|
subpixel_positioning=4
|
||||||
|
keep_rounding_remainders=true
|
||||||
|
oversampling=0.0
|
||||||
|
Fallbacks=null
|
||||||
|
fallbacks=[]
|
||||||
|
Compress=null
|
||||||
|
compress=true
|
||||||
|
preload=[]
|
||||||
|
language_support={}
|
||||||
|
script_support={}
|
||||||
|
opentype_features={}
|
|
@ -54,9 +54,11 @@ restart={
|
||||||
[physics]
|
[physics]
|
||||||
|
|
||||||
3d/run_on_separate_thread=true
|
3d/run_on_separate_thread=true
|
||||||
|
common/physics_ticks_per_second=120
|
||||||
3d/physics_engine="Jolt Physics"
|
3d/physics_engine="Jolt Physics"
|
||||||
3d/default_gravity=20.0
|
3d/default_gravity=20.0
|
||||||
3d/solver/contact_max_allowed_penetration=0.05
|
3d/solver/contact_max_allowed_penetration=0.05
|
||||||
|
common/physics_interpolation=true
|
||||||
|
|
||||||
[rendering]
|
[rendering]
|
||||||
|
|
||||||
|
|
100
scenes/Menu.tscn
Normal file
100
scenes/Menu.tscn
Normal file
|
@ -0,0 +1,100 @@
|
||||||
|
[gd_scene load_steps=12 format=3 uid="uid://cr54uowve74h0"]
|
||||||
|
|
||||||
|
[ext_resource type="Shader" uid="uid://tqpr7f3nr72k" path="res://entities/sky/sky.gdshader" id="1_xdvgc"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://drrl25ujbosbr" path="res://entities/car/tron_moto_lowpoly/scene.gltf" id="2_upctu"]
|
||||||
|
[ext_resource type="Script" uid="uid://dlrn4dviqqsdl" path="res://entities/mainMenu/moto_rotate.gd" id="3_11y2r"]
|
||||||
|
[ext_resource type="Script" uid="uid://cntibc2ih0im7" path="res://entities/mainMenu/main_menu.gd" id="4_b6cxs"]
|
||||||
|
[ext_resource type="LabelSettings" uid="uid://cru5yoau1mluh" path="res://fonts/BigTextLabelSettings.tres" id="4_o0tnf"]
|
||||||
|
[ext_resource type="Theme" uid="uid://desmbsje23ubj" path="res://fonts/DefautTheme.tres" id="5_jmdev"]
|
||||||
|
|
||||||
|
[sub_resource type="FastNoiseLite" id="FastNoiseLite_upctu"]
|
||||||
|
noise_type = 2
|
||||||
|
frequency = 0.1
|
||||||
|
fractal_type = 2
|
||||||
|
cellular_distance_function = 3
|
||||||
|
cellular_return_type = 3
|
||||||
|
domain_warp_enabled = true
|
||||||
|
|
||||||
|
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_tbgi4"]
|
||||||
|
noise = SubResource("FastNoiseLite_upctu")
|
||||||
|
|
||||||
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_11y2r"]
|
||||||
|
shader = ExtResource("1_xdvgc")
|
||||||
|
shader_parameter/color_env = Color(0, 0.466667, 0.694118, 1)
|
||||||
|
shader_parameter/noise_texture = SubResource("NoiseTexture2D_tbgi4")
|
||||||
|
shader_parameter/noise_power = 0.1
|
||||||
|
shader_parameter/speed = 0.003
|
||||||
|
|
||||||
|
[sub_resource type="Sky" id="Sky_jyhfs"]
|
||||||
|
sky_material = SubResource("ShaderMaterial_11y2r")
|
||||||
|
|
||||||
|
[sub_resource type="Environment" id="Environment_o0tnf"]
|
||||||
|
background_mode = 2
|
||||||
|
sky = SubResource("Sky_jyhfs")
|
||||||
|
|
||||||
|
[node name="Menu" type="Node3D"]
|
||||||
|
|
||||||
|
[node name="Control" type="Control" parent="."]
|
||||||
|
layout_mode = 3
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
script = ExtResource("4_b6cxs")
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="Control"]
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = 5
|
||||||
|
anchor_left = 0.5
|
||||||
|
anchor_right = 0.5
|
||||||
|
offset_left = -20.0
|
||||||
|
offset_right = 20.0
|
||||||
|
offset_bottom = 23.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
text = "Tron Loop"
|
||||||
|
label_settings = ExtResource("4_o0tnf")
|
||||||
|
horizontal_alignment = 1
|
||||||
|
|
||||||
|
[node name="VBoxContainer" type="VBoxContainer" parent="Control"]
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = 8
|
||||||
|
anchor_left = 0.5
|
||||||
|
anchor_top = 0.5
|
||||||
|
anchor_right = 0.5
|
||||||
|
anchor_bottom = 0.5
|
||||||
|
offset_left = -80.0
|
||||||
|
offset_top = -210.0
|
||||||
|
offset_right = 81.0
|
||||||
|
offset_bottom = -61.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
|
||||||
|
[node name="Button1" type="Button" parent="Control/VBoxContainer"]
|
||||||
|
layout_mode = 2
|
||||||
|
theme = ExtResource("5_jmdev")
|
||||||
|
text = "Level 1"
|
||||||
|
|
||||||
|
[node name="Button2" type="Button" parent="Control/VBoxContainer"]
|
||||||
|
layout_mode = 2
|
||||||
|
theme = ExtResource("5_jmdev")
|
||||||
|
text = "Level 2
|
||||||
|
"
|
||||||
|
|
||||||
|
[node name="Button3" type="Button" parent="Control/VBoxContainer"]
|
||||||
|
layout_mode = 2
|
||||||
|
theme = ExtResource("5_jmdev")
|
||||||
|
text = "Level 3"
|
||||||
|
|
||||||
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||||
|
environment = SubResource("Environment_o0tnf")
|
||||||
|
|
||||||
|
[node name="Camera3D" type="Camera3D" parent="."]
|
||||||
|
|
||||||
|
[node name="Sketchfab_Scene" parent="." instance=ExtResource("2_upctu")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.291408, -4, -12.2677)
|
||||||
|
script = ExtResource("3_11y2r")
|
||||||
|
|
||||||
|
[connection signal="pressed" from="Control/VBoxContainer/Button1" to="Control" method="_on_button_1_pressed"]
|
||||||
|
[connection signal="pressed" from="Control/VBoxContainer/Button2" to="Control" method="_on_button_2_pressed"]
|
||||||
|
[connection signal="pressed" from="Control/VBoxContainer/Button3" to="Control" method="_on_button_3_pressed"]
|
122
scenes/levels/level1.tscn
Normal file
122
scenes/levels/level1.tscn
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
122
scenes/test.tscn
Normal file
122
scenes/test.tscn
Normal file
File diff suppressed because one or more lines are too long
BIN
sounds/33480__hiccupvirus__stereo-tron-bike-engine.wav
Normal file
BIN
sounds/33480__hiccupvirus__stereo-tron-bike-engine.wav
Normal file
Binary file not shown.
|
@ -0,0 +1,24 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="wav"
|
||||||
|
type="AudioStreamWAV"
|
||||||
|
uid="uid://dycfldtocfi6a"
|
||||||
|
path="res://.godot/imported/33480__hiccupvirus__stereo-tron-bike-engine.wav-86db58c5d8fcb9624ec9edf06618953e.sample"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://sounds/33480__hiccupvirus__stereo-tron-bike-engine.wav"
|
||||||
|
dest_files=["res://.godot/imported/33480__hiccupvirus__stereo-tron-bike-engine.wav-86db58c5d8fcb9624ec9edf06618953e.sample"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
force/8_bit=false
|
||||||
|
force/mono=false
|
||||||
|
force/max_rate=false
|
||||||
|
force/max_rate_hz=44100
|
||||||
|
edit/trim=false
|
||||||
|
edit/normalize=false
|
||||||
|
edit/loop_mode=3
|
||||||
|
edit/loop_begin=0
|
||||||
|
edit/loop_end=-1
|
||||||
|
compress/mode=2
|
BIN
sounds/music/508004__rokzroom__otherworlds-2.wav
Normal file
BIN
sounds/music/508004__rokzroom__otherworlds-2.wav
Normal file
Binary file not shown.
24
sounds/music/508004__rokzroom__otherworlds-2.wav.import
Normal file
24
sounds/music/508004__rokzroom__otherworlds-2.wav.import
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="wav"
|
||||||
|
type="AudioStreamWAV"
|
||||||
|
uid="uid://m74hgy1a7c8j"
|
||||||
|
path="res://.godot/imported/508004__rokzroom__otherworlds-2.wav-02ff0501b2ed96d0a7c921d8eaf9a278.sample"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://sounds/music/508004__rokzroom__otherworlds-2.wav"
|
||||||
|
dest_files=["res://.godot/imported/508004__rokzroom__otherworlds-2.wav-02ff0501b2ed96d0a7c921d8eaf9a278.sample"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
force/8_bit=false
|
||||||
|
force/mono=false
|
||||||
|
force/max_rate=false
|
||||||
|
force/max_rate_hz=44100
|
||||||
|
edit/trim=false
|
||||||
|
edit/normalize=false
|
||||||
|
edit/loop_mode=2
|
||||||
|
edit/loop_begin=0
|
||||||
|
edit/loop_end=-1
|
||||||
|
compress/mode=2
|
Binary file not shown.
|
@ -0,0 +1,19 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="mp3"
|
||||||
|
type="AudioStreamMP3"
|
||||||
|
uid="uid://vuklmpsqbtf1"
|
||||||
|
path="res://.godot/imported/cool-retro-synthwave-type-beat-into-the-future-213802.mp3-80a56b5de421f5c6ec663cbc165979d7.mp3str"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://sounds/music/cool-retro-synthwave-type-beat-into-the-future-213802.mp3"
|
||||||
|
dest_files=["res://.godot/imported/cool-retro-synthwave-type-beat-into-the-future-213802.mp3-80a56b5de421f5c6ec663cbc165979d7.mp3str"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=true
|
||||||
|
loop_offset=0.0
|
||||||
|
bpm=0.0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
sounds/music/dark-synthwave-neon-nights-251682.mp3
Normal file
BIN
sounds/music/dark-synthwave-neon-nights-251682.mp3
Normal file
Binary file not shown.
19
sounds/music/dark-synthwave-neon-nights-251682.mp3.import
Normal file
19
sounds/music/dark-synthwave-neon-nights-251682.mp3.import
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="mp3"
|
||||||
|
type="AudioStreamMP3"
|
||||||
|
uid="uid://j6hmcw8jucih"
|
||||||
|
path="res://.godot/imported/dark-synthwave-neon-nights-251682.mp3-18631053051d057373148e96aa221bc8.mp3str"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://sounds/music/dark-synthwave-neon-nights-251682.mp3"
|
||||||
|
dest_files=["res://.godot/imported/dark-synthwave-neon-nights-251682.mp3-18631053051d057373148e96aa221bc8.mp3str"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=true
|
||||||
|
loop_offset=0.0
|
||||||
|
bpm=0.0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
sounds/music/retro-synthwave-background-soundtrack-341853.mp3
Normal file
BIN
sounds/music/retro-synthwave-background-soundtrack-341853.mp3
Normal file
Binary file not shown.
|
@ -0,0 +1,19 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="mp3"
|
||||||
|
type="AudioStreamMP3"
|
||||||
|
uid="uid://ue1jnubabl3p"
|
||||||
|
path="res://.godot/imported/retro-synthwave-background-soundtrack-341853.mp3-821f90e67251d6c8fede43e410c0a3a8.mp3str"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://sounds/music/retro-synthwave-background-soundtrack-341853.mp3"
|
||||||
|
dest_files=["res://.godot/imported/retro-synthwave-background-soundtrack-341853.mp3-821f90e67251d6c8fede43e410c0a3a8.mp3str"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=true
|
||||||
|
loop_offset=0.0
|
||||||
|
bpm=0.0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
Loading…
Add table
Add a link
Reference in a new issue