Compare commits
2 commits
3455fb7642
...
7c80fcead5
Author | SHA1 | Date | |
---|---|---|---|
7c80fcead5 | |||
8de2ab4dc4 |
|
@ -1,8 +1,7 @@
|
|||
[gd_scene load_steps=7 format=2]
|
||||
[gd_scene load_steps=6 format=2]
|
||||
|
||||
[ext_resource path="res://Textures/kb-turbo.png" type="Texture" id=1]
|
||||
[ext_resource path="res://Scenes/Level.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://Levels/Level_07.tscn" type="PackedScene" id=3]
|
||||
[ext_resource path="res://Music/soundtrack_lead_3.mp3" type="AudioStream" id=4]
|
||||
[ext_resource path="res://Music/soundtrack_bass_3.mp3" type="AudioStream" id=5]
|
||||
[ext_resource path="res://Music/soundtrack_drums_3.mp3" type="AudioStream" id=6]
|
||||
|
@ -11,7 +10,6 @@
|
|||
|
||||
[node name="Floor" parent="." instance=ExtResource( 2 )]
|
||||
position = Vector2( -1.68164, -16.8177 )
|
||||
next_level = ExtResource( 3 )
|
||||
start_x = 6
|
||||
start_y = 7
|
||||
stairs_x = 6
|
||||
|
|
BIN
Music/menu.mp3
Normal file
15
Music/menu.mp3.import
Normal file
|
@ -0,0 +1,15 @@
|
|||
[remap]
|
||||
|
||||
importer="mp3"
|
||||
type="AudioStreamMP3"
|
||||
path="res://.import/menu.mp3-4bb0fcbfbe7b4c2d451a5cba6f114ae4.mp3str"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Music/menu.mp3"
|
||||
dest_files=[ "res://.import/menu.mp3-4bb0fcbfbe7b4c2d451a5cba6f114ae4.mp3str" ]
|
||||
|
||||
[params]
|
||||
|
||||
loop=true
|
||||
loop_offset=0
|
58
Scenes/MainMenu.tscn
Normal file
|
@ -0,0 +1,58 @@
|
|||
[gd_scene load_steps=10 format=2]
|
||||
|
||||
[ext_resource path="res://Textures/title-screen.png" type="Texture" id=1]
|
||||
[ext_resource path="res://Textures/Buttons/exit.png" type="Texture" id=2]
|
||||
[ext_resource path="res://Textures/Buttons/credits.png" type="Texture" id=3]
|
||||
[ext_resource path="res://Textures/Buttons/credits_pressed.png" type="Texture" id=4]
|
||||
[ext_resource path="res://Textures/Buttons/exit_pressed.png" type="Texture" id=5]
|
||||
[ext_resource path="res://Textures/Buttons/start.png" type="Texture" id=6]
|
||||
[ext_resource path="res://Script/MainMenu.gd" type="Script" id=7]
|
||||
[ext_resource path="res://Textures/Buttons/start_pressed.png" type="Texture" id=8]
|
||||
[ext_resource path="res://Music/menu.mp3" type="AudioStream" id=9]
|
||||
|
||||
[node name="MainMenu" type="Node2D"]
|
||||
script = ExtResource( 7 )
|
||||
|
||||
[node name="Background" type="Sprite" parent="."]
|
||||
position = Vector2( 960, 538.413 )
|
||||
texture = ExtResource( 1 )
|
||||
|
||||
[node name="Start" type="TextureButton" parent="."]
|
||||
margin_left = 1400.0
|
||||
margin_top = 540.0
|
||||
margin_right = 1750.0
|
||||
margin_bottom = 700.0
|
||||
texture_normal = ExtResource( 6 )
|
||||
texture_pressed = ExtResource( 8 )
|
||||
texture_hover = ExtResource( 8 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Credits" type="TextureButton" parent="."]
|
||||
margin_left = 1400.0
|
||||
margin_top = 710.0
|
||||
margin_right = 1750.0
|
||||
margin_bottom = 870.0
|
||||
texture_normal = ExtResource( 3 )
|
||||
texture_pressed = ExtResource( 4 )
|
||||
texture_hover = ExtResource( 4 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Exit" type="TextureButton" parent="."]
|
||||
margin_left = 1400.0
|
||||
margin_top = 880.0
|
||||
margin_right = 1750.0
|
||||
margin_bottom = 1040.0
|
||||
texture_normal = ExtResource( 2 )
|
||||
texture_pressed = ExtResource( 5 )
|
||||
texture_hover = ExtResource( 5 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Menu" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource( 9 )
|
||||
autoplay = true
|
|
@ -6,5 +6,6 @@ func _ready():
|
|||
new_level($Level)
|
||||
|
||||
|
||||
|
||||
func new_level(var level :Node):
|
||||
$MusicManager.new_sounds(level.get_node("Floor/Drum").stream, level.get_node("Floor/Bass").stream, level.get_node("Floor/Lead").stream)
|
||||
|
|
15
Script/MainMenu.gd
Normal file
|
@ -0,0 +1,15 @@
|
|||
extends Node2D
|
||||
|
||||
|
||||
func _ready():
|
||||
$Start.connect("pressed", self, "start_game")
|
||||
$Exit.connect("pressed", self, "quit_game")
|
||||
|
||||
if OS.get_name() == "HTML5":
|
||||
remove_child($Exit)
|
||||
|
||||
func start_game():
|
||||
get_tree().change_scene("res://Scenes/Game.tscn")
|
||||
|
||||
func quit_game():
|
||||
get_tree().quit()
|
BIN
Textures/Buttons/credits.png
Normal file
After Width: | Height: | Size: 965 B |
34
Textures/Buttons/credits.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/credits.png-f39479cd2746c2e14cb60a081a685c56.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Textures/Buttons/credits.png"
|
||||
dest_files=[ "res://.import/credits.png-f39479cd2746c2e14cb60a081a685c56.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
Textures/Buttons/credits_pressed.png
Normal file
After Width: | Height: | Size: 967 B |
34
Textures/Buttons/credits_pressed.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/credits_pressed.png-e3a5f3cbf91e8fcee4e154dec3a40144.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Textures/Buttons/credits_pressed.png"
|
||||
dest_files=[ "res://.import/credits_pressed.png-e3a5f3cbf91e8fcee4e154dec3a40144.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
Textures/Buttons/exit.png
Normal file
After Width: | Height: | Size: 910 B |
34
Textures/Buttons/exit.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/exit.png-33d7970b547e96d1a0e324ab5e0fdc7d.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Textures/Buttons/exit.png"
|
||||
dest_files=[ "res://.import/exit.png-33d7970b547e96d1a0e324ab5e0fdc7d.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
Textures/Buttons/exit_pressed.png
Normal file
After Width: | Height: | Size: 913 B |
34
Textures/Buttons/exit_pressed.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/exit_pressed.png-630fc131a86479be289c3996f874486e.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Textures/Buttons/exit_pressed.png"
|
||||
dest_files=[ "res://.import/exit_pressed.png-630fc131a86479be289c3996f874486e.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
Textures/Buttons/start.png
Normal file
After Width: | Height: | Size: 934 B |
34
Textures/Buttons/start.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/start.png-00e4d649e6a069e0b93b49b53196b528.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Textures/Buttons/start.png"
|
||||
dest_files=[ "res://.import/start.png-00e4d649e6a069e0b93b49b53196b528.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
Textures/Buttons/start_pressed.png
Normal file
After Width: | Height: | Size: 936 B |
34
Textures/Buttons/start_pressed.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/start_pressed.png-468c681b1fbe60aa8107d4c77447dcc3.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Textures/Buttons/start_pressed.png"
|
||||
dest_files=[ "res://.import/start_pressed.png-468c681b1fbe60aa8107d4c77447dcc3.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
BIN
Textures/title-screen.png
Normal file
After Width: | Height: | Size: 32 KiB |
34
Textures/title-screen.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/title-screen.png-8a42a8cbb6723b260335f4cb5f5bfae9.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Textures/title-screen.png"
|
||||
dest_files=[ "res://.import/title-screen.png-8a42a8cbb6723b260335f4cb5f5bfae9.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
|
@ -33,7 +33,7 @@ _global_script_class_icons={
|
|||
[application]
|
||||
|
||||
config/name="Ariel Cleanomancer and the Eldritch Sweep"
|
||||
run/main_scene="res://Scenes/Game.tscn"
|
||||
run/main_scene="res://Scenes/MainMenu.tscn"
|
||||
config/icon="res://icon.png"
|
||||
|
||||
[audio]
|
||||
|
|