Reorganize directories

soundtrack
Ensar Sarajčić 2021-11-18 20:48:47 +01:00
parent 92c98a2c0f
commit 372b2f9c49
16 changed files with 21 additions and 21 deletions

View File

@ -2,7 +2,7 @@ extends Panel
func _on_BackButton_pressed() -> void:
get_tree().change_scene("res://scenes/menu/main_menu.tscn")
get_tree().change_scene("res://menu/main_menu.tscn")
func _on_link_meta_clicked(meta) -> void:

View File

@ -1,6 +1,6 @@
[gd_scene load_steps=5 format=2]
[ext_resource path="res://scenes/menu/about.gd" type="Script" id=1]
[ext_resource path="res://menu/about.gd" type="Script" id=1]
[ext_resource path="res://assets/fonts/kenney-future-narrow.ttf" type="DynamicFontData" id=2]
[sub_resource type="DynamicFont" id=1]

View File

@ -4,16 +4,16 @@ func _ready() -> void:
$MarginContainer/VSplitContainer/VSplitContainer/CenterContainer/VBoxContainer/StartButton.grab_focus()
func _on_StartButton_pressed() -> void:
get_tree().change_scene("res://scenes/menu/start_menu.tscn")
get_tree().change_scene("res://menu/start_menu.tscn")
func _on_ExitButton_pressed() -> void:
get_tree().quit()
func _on_SettingsButton_pressed() -> void:
get_tree().change_scene("res://scenes/menu/settings_menu.tscn")
get_tree().change_scene("res://menu/settings_menu.tscn")
func _on_AboutButton_pressed() -> void:
get_tree().change_scene("res://scenes/menu/about.tscn")
get_tree().change_scene("res://menu/about.tscn")
func _on_GodotButton_pressed() -> void:
OS.shell_open("https://godotengine.org")

View File

@ -1,21 +1,21 @@
[gd_scene load_steps=6 format=2]
[ext_resource path="res://scenes/menu/main_menu.gd" type="Script" id=1]
[ext_resource path="res://assets/fonts/kenney-future-narrow.ttf" type="DynamicFontData" id=2]
[ext_resource path="res://assets/fonts/kenney-future-narrow.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://menu/main_menu.gd" type="Script" id=2]
[ext_resource path="res://icon.png" type="Texture" id=3]
[sub_resource type="DynamicFont" id=1]
size = 64
font_data = ExtResource( 2 )
font_data = ExtResource( 1 )
[sub_resource type="DynamicFont" id=2]
size = 32
font_data = ExtResource( 2 )
font_data = ExtResource( 1 )
[node name="MainMenu" type="Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 1 )
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}

View File

@ -18,5 +18,5 @@ func _on_ContinueButton_pressed():
func _on_ExitButton_pressed():
get_tree().paused = false
get_tree().change_scene("res://scenes/menu/main_menu.tscn")
get_tree().change_scene("res://menu/main_menu.tscn")
get_tree().root.get_child(get_tree().root.get_child_count() - 1).queue_free()

View File

@ -1,7 +1,7 @@
[gd_scene load_steps=5 format=2]
[ext_resource path="res://assets/fonts/kenney-future-narrow.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://scenes/menu/pause_menu.gd" type="Script" id=2]
[ext_resource path="res://menu/pause_menu.gd" type="Script" id=2]
[sub_resource type="DynamicFont" id=1]
font_data = ExtResource( 1 )

View File

@ -52,7 +52,7 @@ func _on_automatictransmission_toggled(new_state: bool) -> void:
func _on_BackButton_pressed() -> void:
get_tree().change_scene("res://scenes/menu/main_menu.tscn")
get_tree().change_scene("res://menu/main_menu.tscn")
func _on_MasterSlider_value_changed(new_value: float) -> void:

View File

@ -1,7 +1,7 @@
[gd_scene load_steps=7 format=2]
[ext_resource path="res://assets/fonts/kenney-future-narrow.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://scenes/menu/settings_menu.gd" type="Script" id=2]
[ext_resource path="res://menu/settings_menu.gd" type="Script" id=2]
[sub_resource type="DynamicFont" id=1]
size = 64

View File

@ -41,4 +41,4 @@ func _start_track_with_vehicle(track: Node, vehicle: Node) -> void:
queue_free()
func _on_BackButton_pressed() -> void:
get_tree().change_scene("res://scenes/menu/main_menu.tscn")
get_tree().change_scene("res://menu/main_menu.tscn")

View File

@ -1,7 +1,7 @@
[gd_scene load_steps=5 format=2]
[ext_resource path="res://assets/fonts/kenney-future-narrow.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://scenes/menu/start_menu.gd" type="Script" id=2]
[ext_resource path="res://menu/start_menu.gd" type="Script" id=2]
[sub_resource type="DynamicFont" id=1]
size = 64

View File

@ -27,7 +27,7 @@ _global_script_class_icons={
[application]
config/name="bugged-racing"
run/main_scene="res://scenes/menu/main_menu.tscn"
run/main_scene="res://menu/main_menu.tscn"
boot_splash/image="res://assets/bugged-racing-cover.png"
config/icon="res://icon.png"

View File

@ -1,7 +1,7 @@
[gd_scene load_steps=16 format=2]
[ext_resource path="res://scenes/test_level.gd" type="Script" id=1]
[ext_resource path="res://scenes/menu/pause_menu.tscn" type="PackedScene" id=2]
[ext_resource path="res://menu/pause_menu.tscn" type="PackedScene" id=2]
[ext_resource path="res://icon.png" type="Texture" id=3]
[ext_resource path="res://scenes/track.gd" type="Script" id=4]
[ext_resource path="res://assets/fonts/kenney-future-narrow.ttf" type="DynamicFontData" id=5]

View File

@ -1,6 +1,6 @@
[gd_scene load_steps=13 format=2]
[ext_resource path="res://vehicles/buggy.gd" type="Script" id=1]
[ext_resource path="res://vehicles/vehicle.gd" type="Script" id=1]
[ext_resource path="res://assets/beetlecar.glb" type="PackedScene" id=2]
[ext_resource path="res://vehicles/tire_smoke.tscn" type="PackedScene" id=3]

View File

@ -2,7 +2,7 @@
[ext_resource path="res://assets/basic_buggy.glb" type="PackedScene" id=1]
[ext_resource path="res://vehicles/tire_smoke.tscn" type="PackedScene" id=2]
[ext_resource path="res://vehicles/buggy.gd" type="Script" id=3]
[ext_resource path="res://vehicles/vehicle.gd" type="Script" id=3]
[sub_resource type="Curve" id=2]
_data = [ Vector2( 0, 0 ), 0.0, 0.0, 0, 0, Vector2( 0.0660377, 0.243255 ), 0.0, 0.0, 0, 0, Vector2( 0.240566, 0.315982 ), 0.0, 0.0, 0, 0, Vector2( 0.45283, 0.927273 ), 0.0, 0.0, 0, 0, Vector2( 0.891509, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ]

View File

@ -2,7 +2,7 @@
[ext_resource path="res://vehicles/tire_smoke.tscn" type="PackedScene" id=1]
[ext_resource path="res://assets/bugmobile.glb" type="PackedScene" id=2]
[ext_resource path="res://vehicles/buggy.gd" type="Script" id=3]
[ext_resource path="res://vehicles/vehicle.gd" type="Script" id=3]
[sub_resource type="Curve" id=18]
_data = [ Vector2( 0, 0 ), 0.0, 0.0, 0, 0, Vector2( 0.103774, 0.493182 ), 0.0, 0.0, 0, 0, Vector2( 0.339623, 0.629545 ), 0.0, 0.0, 0, 0, Vector2( 0.806604, 0.989773 ), 0.0, 0.0, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ]