diff --git a/3d_platforma/Level.tscn b/3d_platforma/Level.tscn index 3227a64..cab21cf 100644 --- a/3d_platforma/Level.tscn +++ b/3d_platforma/Level.tscn @@ -1,13 +1,13 @@ [gd_scene load_steps=39 format=2] -[ext_resource path="res://Scripts/Library/Actions/PlaySound.gd" type="Script" id=1] +[ext_resource path="res://scripts/Library/Actions/PlaySound.gd" type="Script" id=1] [ext_resource path="res://3d_platforma/golden_bay_512.hdr" type="Texture" id=2] -[ext_resource path="res://Scripts/Library/Actions/Snare Admiral 2.wav" type="AudioStream" id=3] +[ext_resource path="res://scripts/Library/Actions/Snare Admiral 2.wav" type="AudioStream" id=3] [ext_resource path="res://3d_platforma/sqare_norm.png" type="Texture" id=4] [ext_resource path="res://3d_platforma/texture_08.png" type="Texture" id=5] -[ext_resource path="res://Scripts/Library/Actions/TriggerOnReady.gd" type="Script" id=6] -[ext_resource path="res://Scripts/Library/Actions/ActionList.gd" type="Script" id=7] -[ext_resource path="res://Scripts/Library/Actions/SFX BlackTiger.wav" type="AudioStream" id=8] +[ext_resource path="res://scripts/Library/Actions/TriggerOnReady.gd" type="Script" id=6] +[ext_resource path="res://scripts/Library/Actions/ActionList.gd" type="Script" id=7] +[ext_resource path="res://scripts/Library/Actions/SFX BlackTiger.wav" type="AudioStream" id=8] [sub_resource type="CubeMesh" id=1] diff --git a/project.godot b/project.godot index d300eb8..7f0f3d3 100644 --- a/project.godot +++ b/project.godot @@ -12,32 +12,32 @@ _global_script_classes=[ { "base": "Node", "class": "Action", "language": "GDScript", -"path": "res://Scripts/Library/Actions/Action.gd" +"path": "res://scripts/Library/Actions/Action.gd" }, { "base": "Action", "class": "ActionList", "language": "GDScript", -"path": "res://Scripts/Library/Actions/ActionList.gd" +"path": "res://scripts/Library/Actions/ActionList.gd" }, { "base": "Node", "class": "MusicChangedSlowAction", "language": "GDScript", -"path": "res://Scripts/OnMusicChangedSlowTrigger.gd" +"path": "res://scripts/OnMusicChangedSlowTrigger.gd" }, { "base": "Action", "class": "PlaySound", "language": "GDScript", -"path": "res://Scripts/Library/Actions/PlaySound.gd" +"path": "res://scripts/Library/Actions/PlaySound.gd" }, { "base": "Node", "class": "TriggerBase", "language": "GDScript", -"path": "res://Scripts/Library/Actions/TriggerBase.gd" +"path": "res://scripts/Library/Actions/TriggerBase.gd" }, { "base": "TriggerBase", "class": "TriggerOnReady", "language": "GDScript", -"path": "res://Scripts/Library/Actions/TriggerOnReady.gd" +"path": "res://scripts/Library/Actions/TriggerOnReady.gd" } ] _global_script_class_icons={ "Action": "", @@ -54,6 +54,10 @@ config/name="first_anniversary_godot_jam" run/main_scene="res://3d_platforma/Level.tscn" config/icon="res://icon.png" +[autoload] + +MusicSingleton="*res://scripts/MusicSingleton.gd" + [display] window/size/width=480 diff --git a/scripts/Library/Actions/TriggerOnCollision.gd b/scripts/Library/Actions/TriggerOnCollision.gd new file mode 100644 index 0000000..9f14dd2 --- /dev/null +++ b/scripts/Library/Actions/TriggerOnCollision.gd @@ -0,0 +1,6 @@ +extends TriggerBase + +export var collision_area + +func _ready(): + pass # Replace with function body.