commit 6e875a04622e7e8f5901dd6c51a4bab44fcb2a67 Author: Cookie <58516648+Cookie-CHR@users.noreply.github.com> Date: Mon Oct 3 00:44:58 2022 +0200 ⚙️ First Upload diff --git a/Music/Audio.gd b/Music/Audio.gd new file mode 100644 index 0000000..2e64cf9 --- /dev/null +++ b/Music/Audio.gd @@ -0,0 +1,16 @@ +extends AudioStreamPlayer + + + +func _play(sound): + volume_db = 2 + self.stream = load("res://Music/"+sound+".mp3") + if(not Muter.get_mute()): + play() + + if connect("finished", self, "reset_to_default"): + print("An error has occurred: could not connect the sound") + + +func reset_to_default(): + queue_free() diff --git a/Music/AudioPlayer.tscn b/Music/AudioPlayer.tscn new file mode 100644 index 0000000..d604476 --- /dev/null +++ b/Music/AudioPlayer.tscn @@ -0,0 +1,6 @@ +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://Music/Audio.gd" type="Script" id=1] + +[node name="AudioStreamPlayer" type="AudioStreamPlayer"] +script = ExtResource( 1 ) diff --git a/Music/Crinoline Dreams.mp3 b/Music/Crinoline Dreams.mp3 new file mode 100644 index 0000000..5357316 Binary files /dev/null and b/Music/Crinoline Dreams.mp3 differ diff --git a/Music/Crinoline Dreams.mp3.import b/Music/Crinoline Dreams.mp3.import new file mode 100644 index 0000000..27d6879 --- /dev/null +++ b/Music/Crinoline Dreams.mp3.import @@ -0,0 +1,15 @@ +[remap] + +importer="mp3" +type="AudioStreamMP3" +path="res://.import/Crinoline Dreams.mp3-b9713a24cbbaaed83bd8d699fa936731.mp3str" + +[deps] + +source_file="res://Music/Crinoline Dreams.mp3" +dest_files=[ "res://.import/Crinoline Dreams.mp3-b9713a24cbbaaed83bd8d699fa936731.mp3str" ] + +[params] + +loop=true +loop_offset=0 diff --git a/Music/Deuces.mp3 b/Music/Deuces.mp3 new file mode 100644 index 0000000..92577fb Binary files /dev/null and b/Music/Deuces.mp3 differ diff --git a/Music/Deuces.mp3.import b/Music/Deuces.mp3.import new file mode 100644 index 0000000..837e8af --- /dev/null +++ b/Music/Deuces.mp3.import @@ -0,0 +1,15 @@ +[remap] + +importer="mp3" +type="AudioStreamMP3" +path="res://.import/Deuces.mp3-1a203578a91392b29239bdb2e47974cf.mp3str" + +[deps] + +source_file="res://Music/Deuces.mp3" +dest_files=[ "res://.import/Deuces.mp3-1a203578a91392b29239bdb2e47974cf.mp3str" ] + +[params] + +loop=true +loop_offset=0 diff --git a/Music/MusicPlayer.tscn b/Music/MusicPlayer.tscn new file mode 100644 index 0000000..d065cd3 --- /dev/null +++ b/Music/MusicPlayer.tscn @@ -0,0 +1,6 @@ +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://Music/Music.gd" type="Script" id=1] + +[node name="AudioStreamPlayer" type="AudioStreamPlayer"] +script = ExtResource( 1 ) diff --git a/Music/Music_Changer.gd b/Music/Music_Changer.gd new file mode 100644 index 0000000..effbdd3 --- /dev/null +++ b/Music/Music_Changer.gd @@ -0,0 +1,10 @@ +extends AudioStreamPlayer + +var choice = { "Title": "res://Music/Crinoline Dreams.mp3",\ + "Main": "res://Music/Deuces.mp3",\ + } + +func _ready(): + # I usually change music at the pressing of a button, but sometimes it is not possible + if self.name in choice.keys(): + MusicPlayer.change_music(choice[self.name]) diff --git a/Music/Muter.gd b/Music/Muter.gd new file mode 100644 index 0000000..3344c3f --- /dev/null +++ b/Music/Muter.gd @@ -0,0 +1,17 @@ +extends Node + +var mute = false + +func _ready(): + pass; + +func get_mute(): + return mute + +func mute_unmute(): + if (mute): + mute = false + MusicPlayer.play() + else: + mute = true + MusicPlayer.stop() diff --git a/Music/hey.mp3 b/Music/hey.mp3 new file mode 100644 index 0000000..572d559 Binary files /dev/null and b/Music/hey.mp3 differ diff --git a/Music/hey.mp3.import b/Music/hey.mp3.import new file mode 100644 index 0000000..7f97570 --- /dev/null +++ b/Music/hey.mp3.import @@ -0,0 +1,15 @@ +[remap] + +importer="mp3" +type="AudioStreamMP3" +path="res://.import/hey.mp3-b154c922600af037efbd5c238e7174e9.mp3str" + +[deps] + +source_file="res://Music/hey.mp3" +dest_files=[ "res://.import/hey.mp3-b154c922600af037efbd5c238e7174e9.mp3str" ] + +[params] + +loop=false +loop_offset=0 diff --git a/Music/victory.mp3 b/Music/victory.mp3 new file mode 100644 index 0000000..3db6730 Binary files /dev/null and b/Music/victory.mp3 differ diff --git a/Music/victory.mp3.import b/Music/victory.mp3.import new file mode 100644 index 0000000..ff020b7 --- /dev/null +++ b/Music/victory.mp3.import @@ -0,0 +1,15 @@ +[remap] + +importer="mp3" +type="AudioStreamMP3" +path="res://.import/victory.mp3-3c4ccd17c9c8b6281427f11e07bb1bdc.mp3str" + +[deps] + +source_file="res://Music/victory.mp3" +dest_files=[ "res://.import/victory.mp3-3c4ccd17c9c8b6281427f11e07bb1bdc.mp3str" ] + +[params] + +loop=false +loop_offset=0 diff --git a/Scenes/Ending.tscn b/Scenes/Ending.tscn new file mode 100644 index 0000000..eded16c --- /dev/null +++ b/Scenes/Ending.tscn @@ -0,0 +1,60 @@ +[gd_scene load_steps=9 format=2] + +[ext_resource path="res://Scripts/Play.gd" type="Script" id=1] +[ext_resource path="res://Sprites/Play_again_button.png" type="Texture" id=2] +[ext_resource path="res://Sprites/menu_button.png" type="Texture" id=3] +[ext_resource path="res://Fonts/BADABB__.TTF" type="DynamicFontData" id=4] +[ext_resource path="res://Sprites/Ending.png" type="Texture" id=5] +[ext_resource path="res://Music/Music_Changer.gd" type="Script" id=6] +[ext_resource path="res://Sprites/Music_On.png" type="Texture" id=7] + +[sub_resource type="DynamicFont" id=1] +size = 80 +font_data = ExtResource( 4 ) + +[node name="Panel" type="Panel"] +margin_right = 1024.0 +margin_bottom = 600.0 +rect_pivot_offset = Vector2( -488, 0 ) +script = ExtResource( 1 ) + +[node name="Sprite" type="Sprite" parent="."] +position = Vector2( 512, 300 ) +texture = ExtResource( 5 ) + +[node name="Label" type="Label" parent="."] +modulate = Color( 0, 0, 0, 1 ) +margin_left = 299.0 +margin_top = 54.0 +margin_right = 985.0 +margin_bottom = 140.0 +custom_fonts/font = SubResource( 1 ) +text = "You lost!" +align = 1 + +[node name="Play" type="Button" parent="."] +margin_left = 28.0 +margin_top = 220.0 +margin_right = 265.0 +margin_bottom = 326.0 +icon = ExtResource( 2 ) +flat = true + +[node name="Menu" type="Button" parent="."] +margin_left = 31.0 +margin_top = 344.0 +margin_right = 268.0 +margin_bottom = 450.0 +icon = ExtResource( 3 ) +flat = true + +[node name="Title" type="AudioStreamPlayer" parent="."] +script = ExtResource( 6 ) + +[node name="Mute" type="Button" parent="."] +margin_left = 108.0 +margin_top = 44.0 +margin_right = 187.0 +margin_bottom = 117.0 +icon = ExtResource( 7 ) +flat = true diff --git a/Scenes/Instructions.tscn b/Scenes/Instructions.tscn new file mode 100644 index 0000000..fc9e418 --- /dev/null +++ b/Scenes/Instructions.tscn @@ -0,0 +1,44 @@ +[gd_scene load_steps=7 format=2] + +[ext_resource path="res://Sprites/Play_button.png" type="Texture" id=1] +[ext_resource path="res://Sprites/Instructions.png" type="Texture" id=2] +[ext_resource path="res://Sprites/menu_button.png" type="Texture" id=3] +[ext_resource path="res://Scripts/Play.gd" type="Script" id=4] +[ext_resource path="res://Music/Music_Changer.gd" type="Script" id=5] +[ext_resource path="res://Sprites/Music_On.png" type="Texture" id=6] + +[node name="Panel" type="Panel"] +margin_right = 40.0 +margin_bottom = 40.0 +script = ExtResource( 4 ) + +[node name="Sprite" type="Sprite" parent="."] +position = Vector2( 512, 300 ) +texture = ExtResource( 2 ) + +[node name="Play" type="Button" parent="."] +margin_left = 312.0 +margin_top = 452.0 +margin_right = 549.0 +margin_bottom = 558.0 +icon = ExtResource( 1 ) +flat = true + +[node name="Menu" type="Button" parent="."] +margin_left = 740.0 +margin_top = 450.0 +margin_right = 977.0 +margin_bottom = 556.0 +icon = ExtResource( 3 ) +flat = true + +[node name="Title" type="AudioStreamPlayer" parent="."] +script = ExtResource( 5 ) + +[node name="Mute" type="Button" parent="."] +margin_left = 108.0 +margin_top = 44.0 +margin_right = 187.0 +margin_bottom = 117.0 +icon = ExtResource( 6 ) +flat = true diff --git a/Scenes/Main.tscn b/Scenes/Main.tscn new file mode 100644 index 0000000..36ca0e8 --- /dev/null +++ b/Scenes/Main.tscn @@ -0,0 +1,57 @@ +[gd_scene load_steps=6 format=2] + +[ext_resource path="res://Sprites/M_spawner.tscn" type="PackedScene" id=1] +[ext_resource path="res://Scripts/Timer.gd" type="Script" id=2] +[ext_resource path="res://Sprites/Background.jpg" type="Texture" id=3] +[ext_resource path="res://Music/Music_Changer.gd" type="Script" id=4] +[ext_resource path="res://Sprites/Music_On.png" type="Texture" id=5] + +[node name="root" type="Panel"] +margin_right = 1024.0 +margin_bottom = 600.0 +script = ExtResource( 2 ) + +[node name="Sprite" type="Sprite" parent="."] +position = Vector2( 512, 300 ) +texture = ExtResource( 3 ) + +[node name="Button_0" parent="." instance=ExtResource( 1 )] +margin_left = 65.0 +margin_top = 220.0 +margin_right = 210.0 +margin_bottom = 320.0 + +[node name="Button_1" parent="." instance=ExtResource( 1 )] +margin_left = 65.0 +margin_top = 320.0 +margin_right = 210.0 +margin_bottom = 420.0 + +[node name="Button_2" parent="." instance=ExtResource( 1 )] +margin_left = 65.0 +margin_top = 420.0 +margin_right = 210.0 +margin_bottom = 520.0 + +[node name="SpawnPoint" type="Control" parent="."] +margin_left = 296.0 +margin_top = 34.0 +margin_right = 992.0 +margin_bottom = 568.0 + +[node name="Timer" type="Timer" parent="."] +wait_time = 10.0 +autostart = true + +[node name="Main" type="AudioStreamPlayer" parent="."] +script = ExtResource( 4 ) + +[node name="Mute" type="Button" parent="."] +margin_left = 108.0 +margin_top = 44.0 +margin_right = 187.0 +margin_bottom = 117.0 +icon = ExtResource( 5 ) +flat = true + +[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"] diff --git a/Scenes/Minigames/1.gd b/Scenes/Minigames/1.gd new file mode 100644 index 0000000..cd56a09 --- /dev/null +++ b/Scenes/Minigames/1.gd @@ -0,0 +1,31 @@ +extends Node2D + + +# Declare member variables here. Examples: +# var a = 2 +# var b = "text" +var w_file = preload("res://Sprites/Wrong_file.png") +var r_file = preload("res://Sprites/Chosen_file.png") + + +# Called when the node enters the scene tree for the first time. +func _ready(): + var count_files = 28 + for i in range(count_files): + var button = TextureButton.new() + + add_child(button) + button.set_position(Vector2((i%7)*90+35, (i/7)*82+160)) + button.texture_normal = w_file + button.name = str(i) + + + + var chosen_n = randi()%count_files + var chosen_button = get_node(str(chosen_n)) + chosen_button.texture_normal = r_file + + chosen_button.connect("pressed", self, "on_chosen_found") + +func on_chosen_found(): + MManager.on_finished() diff --git a/Scenes/Minigames/1.tscn b/Scenes/Minigames/1.tscn new file mode 100644 index 0000000..abe62a6 --- /dev/null +++ b/Scenes/Minigames/1.tscn @@ -0,0 +1,20 @@ +[gd_scene load_steps=4 format=2] + +[ext_resource path="res://Fonts/BADABB__.TTF" type="DynamicFontData" id=1] +[ext_resource path="res://Scenes/Minigames/1.gd" type="Script" id=3] + +[sub_resource type="DynamicFont" id=1] +size = 60 +font_data = ExtResource( 1 ) + +[node name="Node2D" type="Node2D"] +script = ExtResource( 3 ) + +[node name="Title" type="Label" parent="."] +margin_top = 30.0 +margin_right = 696.0 +margin_bottom = 14.0 +custom_colors/font_color = Color( 0, 0, 0, 1 ) +custom_fonts/font = SubResource( 1 ) +text = "Find the correct file" +align = 1 diff --git a/Scenes/Minigames/2.gd b/Scenes/Minigames/2.gd new file mode 100644 index 0000000..ae39aa1 --- /dev/null +++ b/Scenes/Minigames/2.gd @@ -0,0 +1,9 @@ +extends Node2D + + +func _ready(): + get_node("Space").connect("pressed", get_node("ProgressBar"), "boost") + +func _process(_delta): + if Input.is_action_just_pressed("SPACE"): + get_node("ProgressBar").boost() diff --git a/Scenes/Minigames/2.tscn b/Scenes/Minigames/2.tscn new file mode 100644 index 0000000..f446fc6 --- /dev/null +++ b/Scenes/Minigames/2.tscn @@ -0,0 +1,52 @@ +[gd_scene load_steps=10 format=2] + +[ext_resource path="res://Fonts/BADABB__.TTF" type="DynamicFontData" id=1] +[ext_resource path="res://Scenes/Minigames/2.gd" type="Script" id=2] +[ext_resource path="res://Sprites/Space.png" type="Texture" id=3] +[ext_resource path="res://Sprites/Machine.png" type="Texture" id=4] +[ext_resource path="res://Scripts/ProgressBar.gd" type="Script" id=5] +[ext_resource path="res://Sprites/ProgressForeground.png" type="Texture" id=6] +[ext_resource path="res://Sprites/ProgressBackground.png" type="Texture" id=7] +[ext_resource path="res://Sprites/ProgressOverground.png" type="Texture" id=8] + +[sub_resource type="DynamicFont" id=1] +size = 60 +font_data = ExtResource( 1 ) + +[node name="Node2D" type="Node2D"] +position = Vector2( 0, -1 ) +script = ExtResource( 2 ) + +[node name="Title" type="Label" parent="."] +margin_top = 30.0 +margin_right = 696.0 +margin_bottom = 94.0 +custom_colors/font_color = Color( 0, 0, 0, 1 ) +custom_fonts/font = SubResource( 1 ) +text = "Repair the vending machine" +align = 1 +__meta__ = { +"_edit_use_anchors_": true +} + +[node name="Sprite" type="Sprite" parent="."] +position = Vector2( 208, 310 ) +texture = ExtResource( 4 ) + +[node name="ProgressBar" type="TextureProgress" parent="."] +margin_left = 379.0 +margin_top = 197.0 +margin_right = 631.0 +margin_bottom = 237.0 +step = 0.01 +texture_under = ExtResource( 7 ) +texture_over = ExtResource( 8 ) +texture_progress = ExtResource( 6 ) +script = ExtResource( 5 ) + +[node name="Space" type="TextureButton" parent="."] +margin_left = 358.0 +margin_top = 282.0 +margin_right = 658.0 +margin_bottom = 382.0 +texture_normal = ExtResource( 3 ) diff --git a/Scenes/Minigames/3.gd b/Scenes/Minigames/3.gd new file mode 100644 index 0000000..4dc5875 --- /dev/null +++ b/Scenes/Minigames/3.gd @@ -0,0 +1,40 @@ +extends Node2D + + +# Declare member variables here. Examples: +# var a = 2 +# var b = "text" +var text = preload("res://Sprites/Text_file.png") +var image = preload("res://Sprites/Img_file.png") +var music = preload("res://Sprites/Music_file.png") +var virus = preload("res://Sprites/Virus.png") +var count_viruses = 0 + +# Called when the node enters the scene tree for the first time. +func _ready(): + var count_files = 40 + for i in range(count_files): + var button = TextureButton.new() + + add_child(button) + button.set_position(Vector2((i%8)*80+35, (i/8)*75+140)) + var r = randi()%5 + if r<=1: + button.texture_normal = virus + count_viruses+=1 + button.connect("pressed", self, "on_virus_found", [button]) + elif r==2: + button.texture_normal = text + elif r==3: + button.texture_normal = image + elif r==4: + button.texture_normal = music + button.name = str(i) + + +func on_virus_found(v): + v.hide() + count_viruses -=1 + if count_viruses <= 0: + MManager.on_finished() + diff --git a/Scenes/Minigames/3.tscn b/Scenes/Minigames/3.tscn new file mode 100644 index 0000000..f5dc1d9 --- /dev/null +++ b/Scenes/Minigames/3.tscn @@ -0,0 +1,20 @@ +[gd_scene load_steps=4 format=2] + +[ext_resource path="res://Fonts/BADABB__.TTF" type="DynamicFontData" id=1] +[ext_resource path="res://Scenes/Minigames/3.gd" type="Script" id=2] + +[sub_resource type="DynamicFont" id=1] +size = 60 +font_data = ExtResource( 1 ) + +[node name="Node2D" type="Node2D"] +script = ExtResource( 2 ) + +[node name="Title" type="Label" parent="."] +margin_top = 30.0 +margin_right = 696.0 +margin_bottom = 14.0 +custom_colors/font_color = Color( 0, 0, 0, 1 ) +custom_fonts/font = SubResource( 1 ) +text = "Find all the viruses" +align = 1 diff --git a/Scenes/Minigames/4.gd b/Scenes/Minigames/4.gd new file mode 100644 index 0000000..4867e49 --- /dev/null +++ b/Scenes/Minigames/4.gd @@ -0,0 +1,25 @@ +extends Node2D + + +# Declare member variables here. Examples: +# var a = 2 +# var b = "text" +var password +var ascii_letters_and_digits = "abcdefghijkmnpqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ23456789" + +# Called when the node enters the scene tree for the first time. +func _ready(): + password = gen_unique_str(10) + get_node("Label").text = password + pass # Replace with function body. + + +func gen_unique_str(length): + var result = "" + for _i in range(length): + result += ascii_letters_and_digits[randi() % ascii_letters_and_digits.length()] + return result + +func confront(): + if get_node("TextEdit").text == password: + MManager.on_finished() diff --git a/Scenes/Minigames/4.tscn b/Scenes/Minigames/4.tscn new file mode 100644 index 0000000..4edc819 --- /dev/null +++ b/Scenes/Minigames/4.tscn @@ -0,0 +1,58 @@ +[gd_scene load_steps=9 format=2] + +[ext_resource path="res://Fonts/BADABB__.TTF" type="DynamicFontData" id=1] +[ext_resource path="res://Sprites/Password.png" type="Texture" id=2] +[ext_resource path="res://Scenes/Minigames/4.gd" type="Script" id=3] +[ext_resource path="res://Fonts/Life is goofy.ttf" type="DynamicFontData" id=4] +[ext_resource path="res://Sprites/ProgressOverground.png" type="Texture" id=5] + +[sub_resource type="DynamicFont" id=1] +size = 60 +font_data = ExtResource( 1 ) + +[sub_resource type="DynamicFont" id=2] +size = 30 +outline_color = Color( 0, 0, 0, 1 ) +font_data = ExtResource( 4 ) + +[sub_resource type="DynamicFont" id=3] +size = 40 +font_data = ExtResource( 4 ) + +[node name="Node2D" type="Node2D"] +script = ExtResource( 3 ) + +[node name="Title" type="Label" parent="."] +margin_top = 30.0 +margin_right = 696.0 +margin_bottom = 14.0 +custom_colors/font_color = Color( 0, 0, 0, 1 ) +custom_fonts/font = SubResource( 1 ) +text = "Type in the password" +align = 1 + +[node name="Sprite" type="Sprite" parent="."] +position = Vector2( 371, 364 ) +texture = ExtResource( 2 ) + +[node name="Label" type="Label" parent="."] +modulate = Color( 0, 0, 0, 1 ) +margin_left = 278.0 +margin_top = 360.0 +margin_right = 460.0 +margin_bottom = 385.0 +custom_fonts/font = SubResource( 2 ) +align = 1 + +[node name="TextEdit" type="TextEdit" parent="."] +margin_left = 243.0 +margin_top = 153.0 +margin_right = 488.0 +margin_bottom = 190.0 +custom_fonts/font = SubResource( 3 ) + +[node name="Sprite2" type="Sprite" parent="."] +position = Vector2( 362, 171 ) +texture = ExtResource( 5 ) + +[connection signal="text_changed" from="TextEdit" to="." method="confront"] diff --git a/Scenes/Title.tscn b/Scenes/Title.tscn new file mode 100644 index 0000000..b853147 --- /dev/null +++ b/Scenes/Title.tscn @@ -0,0 +1,60 @@ +[gd_scene load_steps=9 format=2] + +[ext_resource path="res://Scripts/Play.gd" type="Script" id=1] +[ext_resource path="res://Fonts/BADABB__.TTF" type="DynamicFontData" id=2] +[ext_resource path="res://Sprites/Play_button.png" type="Texture" id=3] +[ext_resource path="res://Sprites/Title.png" type="Texture" id=4] +[ext_resource path="res://Sprites/Instructions_button.png" type="Texture" id=5] +[ext_resource path="res://Music/Music_Changer.gd" type="Script" id=6] +[ext_resource path="res://Sprites/Music_On.png" type="Texture" id=7] + +[sub_resource type="DynamicFont" id=1] +size = 70 +font_data = ExtResource( 2 ) + +[node name="Panel" type="Panel"] +margin_right = 1024.0 +margin_bottom = 600.0 +script = ExtResource( 1 ) + +[node name="Sprite" type="Sprite" parent="."] +position = Vector2( 512, 300 ) +texture = ExtResource( 4 ) + +[node name="Label" type="Label" parent="."] +modulate = Color( 0, 0, 0, 1 ) +margin_left = 300.0 +margin_top = 32.0 +margin_right = 992.0 +margin_bottom = 154.0 +custom_fonts/font = SubResource( 1 ) +text = "Office Madness" +align = 1 +valign = 1 + +[node name="Play" type="Button" parent="."] +margin_left = 30.0 +margin_top = 242.0 +margin_right = 267.0 +margin_bottom = 348.0 +icon = ExtResource( 3 ) +flat = true + +[node name="Instructions" type="Button" parent="."] +margin_left = 28.0 +margin_top = 361.0 +margin_right = 265.0 +margin_bottom = 467.0 +icon = ExtResource( 5 ) +flat = true + +[node name="Title" type="AudioStreamPlayer" parent="."] +script = ExtResource( 6 ) + +[node name="Mute" type="Button" parent="."] +margin_left = 108.0 +margin_top = 44.0 +margin_right = 187.0 +margin_bottom = 117.0 +icon = ExtResource( 7 ) +flat = true diff --git a/Scripts/Background.jpg.import b/Scripts/Background.jpg.import new file mode 100644 index 0000000..9371143 --- /dev/null +++ b/Scripts/Background.jpg.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Background.jpg-62e93d37df20cdcae1761d686a79372c.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Scripts/Background.jpg" +dest_files=[ "res://.import/Background.jpg-62e93d37df20cdcae1761d686a79372c.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/Scripts/Drag.gd b/Scripts/Drag.gd new file mode 100644 index 0000000..64d515f --- /dev/null +++ b/Scripts/Drag.gd @@ -0,0 +1,16 @@ +extends KinematicBody2D + +# Pickable needs to be selected from the inspector + +var can_grab = false +var grabbed_offset = Vector2() + +func _input_event(viewport, event, shape_idx): + if event is InputEventMouseButton: + can_grab = event.is_pressed() + grabbed_offset = position - get_global_mouse_position() + +func _process(delta): + if Input.is_mouse_button_pressed(BUTTON_LEFT) and can_grab: + position = get_global_mouse_position() + grabbed_offset + diff --git a/Scripts/M_manager.gd b/Scripts/M_manager.gd new file mode 100644 index 0000000..1628bfd --- /dev/null +++ b/Scripts/M_manager.gd @@ -0,0 +1,52 @@ +extends Node + + +var m_counter = 4 + +var mini = { + 0: preload("res://Scenes/Minigames/1.tscn"), + 1: preload("res://Scenes/Minigames/2.tscn"), + 2: preload("res://Scenes/Minigames/3.tscn"), + 3: preload("res://Scenes/Minigames/4.tscn"), +} + +var completed = preload("res://Sprites/completed.png") +var audiostream = preload("res://Music/AudioPlayer.tscn") + +var spawnpoint +var last_caller + +func _ready(): + randomize() + last_caller = null + +func reset_spawnpoint(node): + spawnpoint = node + +func m_choose(): + return randi()%m_counter + +func m_open(caller): + if caller.minigame != null: + if last_caller != null: + m_close() + var m_inst + + m_inst = mini[caller.minigame].instance() + + last_caller = caller + spawnpoint.add_child(m_inst) + +func on_finished(): + last_caller.on_finished() + var sprite = Sprite.new() + sprite.texture = completed + spawnpoint.add_child(sprite) + sprite.position = Vector2(348, 320) + var sound = audiostream.instance() + spawnpoint.add_child(sound) + sound._play("victory") + +func m_close(): + for child in spawnpoint.get_children(): + child.queue_free() diff --git a/Scripts/M_spawner.gd b/Scripts/M_spawner.gd new file mode 100644 index 0000000..a630858 --- /dev/null +++ b/Scripts/M_spawner.gd @@ -0,0 +1,27 @@ +extends Button + + +var minigame + +var idle = preload("res://Sprites/Caller_idle.png") +var active = preload("res://Sprites/Caller_active.png") + + +# Called when the node enters the scene tree for the first time. +func _ready(): + minigame = null + +func on_pressed(): + if not minigame == null: + MManager.m_open(self) + +func m_choose(): + minigame = MManager.m_choose() + +func on_finished(): + minigame = null + icon = idle + +func change_to_active(): + icon = active + diff --git a/Scripts/Play.gd b/Scripts/Play.gd new file mode 100644 index 0000000..3ee4018 --- /dev/null +++ b/Scripts/Play.gd @@ -0,0 +1,41 @@ +extends Panel + + +var muted = preload("res://Sprites/Music_Off.png") +var unmuted = preload("res://Sprites/Music_On.png") +# Called when the node enters the scene tree for the first time. +func _ready(): + for child in get_children(): + if child.name == "Play": + child.connect("pressed", self, "_play") + elif child.name == "Instructions": + child.connect("pressed", self, "_instructions") + elif child.name == "Menu": + child.connect("pressed", self, "_menu") + elif child.name == "Mute": + child.icon = muted if Muter.mute else unmuted + if Muter.mute: + child.icon = muted + else: + child.icon = unmuted + child.connect("pressed", self, "mute_unmute", [child]) + +func mute_unmute(child): + Muter.mute_unmute() + child.icon = muted if Muter.mute else unmuted + + + +func _play(): + if get_tree().change_scene("res://Scenes/Main.tscn"): + print("Error!") + +func _instructions(): + if get_tree().change_scene("res://Scenes/Instructions.tscn"): + print("Error!") + +func _menu(): + if get_tree().change_scene("res://Scenes/Title.tscn"): + print("Error!") + + diff --git a/Scripts/ProgressBar.gd b/Scripts/ProgressBar.gd new file mode 100644 index 0000000..5f800f0 --- /dev/null +++ b/Scripts/ProgressBar.gd @@ -0,0 +1,21 @@ +extends TextureProgress + + +var finished = false +# Called when the node enters the scene tree for the first time. +func _ready(): + value = 0 + max_value = 200 + +func _process(delta): + if not finished: + if value >= max_value: + finished = true + MManager.on_finished() + else: + self.value -= delta*20 + +func boost(): + value +=10 + if value >= max_value: + MManager.on_finished() diff --git a/Scripts/Timer.gd b/Scripts/Timer.gd new file mode 100644 index 0000000..08f8712 --- /dev/null +++ b/Scripts/Timer.gd @@ -0,0 +1,52 @@ +extends Panel + + +# Declare member variables here. Examples: +# var a = 2 +# var b = "text" +var muted = preload("res://Sprites/Music_Off.png") +var unmuted = preload("res://Sprites/Music_On.png") + +var audiostream = preload("res://Music/AudioPlayer.tscn") + +# Called when the node enters the scene tree for the first time. +func _ready(): + for child in get_children(): + if child.name =="Mute": + child.icon = muted if Muter.mute else unmuted + child.connect("pressed", self, "mute_unmute", [child]) + elif child.name=="SpawnPoint": + MManager.reset_spawnpoint(child) + randomize() + _on_Timer_timeout() + +# Called every frame. 'delta' is the elapsed time since the previous frame. +#func _process(delta): +# pass + + +func _on_Timer_timeout(): + if all_occupied(): + if get_tree().change_scene("res://Scenes/Ending.tscn"): + print("Error!") + else: + var chosen_caller + while chosen_caller == null or chosen_caller.minigame != null: + chosen_caller = get_node("Button_"+str(randi()%3)) + chosen_caller.m_choose() + chosen_caller.change_to_active() + var sound = audiostream.instance() + self.add_child(sound) + sound._play("hey") + +func all_occupied(): + var flag = true + for child in get_children(): + if child is Button: + if child.name != "Mute" and child.minigame == null: + flag = false + return flag + +func mute_unmute(child): + Muter.mute_unmute() + child.icon = muted if Muter.mute else unmuted diff --git a/Scripts/Trash.gd b/Scripts/Trash.gd new file mode 100644 index 0000000..21bacb1 --- /dev/null +++ b/Scripts/Trash.gd @@ -0,0 +1,21 @@ +extends StaticBody2D + + +# Declare member variables here. Examples: +# var a = 2 +# var b = "text" + + +# Called when the node enters the scene tree for the first time. +func _ready(): + pass # Replace with function body. + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +#func _process(delta): +# pass + + +func _on_StaticBody2D_input_event(viewport, event, shape_idx): + if not event.is_pressed() and event is InputEventMouseButton: + get_parent().deleted_check(shape_idx) diff --git a/Scripts/test.gd b/Scripts/test.gd new file mode 100644 index 0000000..1ca75ce --- /dev/null +++ b/Scripts/test.gd @@ -0,0 +1,17 @@ +extends StaticBody2D + + +# Declare member variables here. Examples: +# var a = 2 +# var b = "text" + + +# Called when the node enters the scene tree for the first time. +func _ready(): + pass # Replace with function body. + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +#func _process(delta): +# pass + diff --git a/Sprites/Background.jpg b/Sprites/Background.jpg new file mode 100644 index 0000000..add2f18 Binary files /dev/null and b/Sprites/Background.jpg differ diff --git a/Sprites/Background.jpg.import b/Sprites/Background.jpg.import new file mode 100644 index 0000000..aa3b870 --- /dev/null +++ b/Sprites/Background.jpg.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Background.jpg-950d97591d2ca91754528f44b574bc21.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/Background.jpg" +dest_files=[ "res://.import/Background.jpg-950d97591d2ca91754528f44b574bc21.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/Sprites/Caller_active.png b/Sprites/Caller_active.png new file mode 100644 index 0000000..2d1ff89 Binary files /dev/null and b/Sprites/Caller_active.png differ diff --git a/Sprites/Caller_active.png.import b/Sprites/Caller_active.png.import new file mode 100644 index 0000000..657e97a --- /dev/null +++ b/Sprites/Caller_active.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Caller_active.png-388309124c14fb3684e158291082393f.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/Caller_active.png" +dest_files=[ "res://.import/Caller_active.png-388309124c14fb3684e158291082393f.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/Sprites/Caller_idle.png b/Sprites/Caller_idle.png new file mode 100644 index 0000000..6737a23 Binary files /dev/null and b/Sprites/Caller_idle.png differ diff --git a/Sprites/Caller_idle.png.import b/Sprites/Caller_idle.png.import new file mode 100644 index 0000000..8656699 --- /dev/null +++ b/Sprites/Caller_idle.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Caller_idle.png-a5b753cdde88c1155e993361e79fe6d1.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/Caller_idle.png" +dest_files=[ "res://.import/Caller_idle.png-a5b753cdde88c1155e993361e79fe6d1.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/Sprites/Chosen_file.png b/Sprites/Chosen_file.png new file mode 100644 index 0000000..f14b11c Binary files /dev/null and b/Sprites/Chosen_file.png differ diff --git a/Sprites/Chosen_file.png.import b/Sprites/Chosen_file.png.import new file mode 100644 index 0000000..bb607e2 --- /dev/null +++ b/Sprites/Chosen_file.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Chosen_file.png-2f5d2c631c9e240f72cffc9009e5c340.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/Chosen_file.png" +dest_files=[ "res://.import/Chosen_file.png-2f5d2c631c9e240f72cffc9009e5c340.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/Sprites/Dog.png b/Sprites/Dog.png new file mode 100644 index 0000000..d0da4ac Binary files /dev/null and b/Sprites/Dog.png differ diff --git a/Sprites/Dog.png.import b/Sprites/Dog.png.import new file mode 100644 index 0000000..c72b678 --- /dev/null +++ b/Sprites/Dog.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Dog.png-7af8b337d16a2b93bf4ef3c17dfca205.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/Dog.png" +dest_files=[ "res://.import/Dog.png-7af8b337d16a2b93bf4ef3c17dfca205.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/Sprites/Draggable.tscn b/Sprites/Draggable.tscn new file mode 100644 index 0000000..bd63d8b --- /dev/null +++ b/Sprites/Draggable.tscn @@ -0,0 +1,20 @@ +[gd_scene load_steps=4 format=2] + +[ext_resource path="res://Scripts/Drag.gd" type="Script" id=1] +[ext_resource path="res://Sprites/No_virus.png" type="Texture" id=2] + +[sub_resource type="RectangleShape2D" id=1] +extents = Vector2( 36, 39.5 ) + +[node name="KinematicBody2D" type="KinematicBody2D"] +input_pickable = true +script = ExtResource( 1 ) + +[node name="Sprite" type="Sprite" parent="."] +texture = ExtResource( 2 ) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +position = Vector2( -1, -0.5 ) +shape = SubResource( 1 ) + +[connection signal="input_event" from="." to="." method="_input_event"] diff --git a/Sprites/Ending.png b/Sprites/Ending.png new file mode 100644 index 0000000..f280aca Binary files /dev/null and b/Sprites/Ending.png differ diff --git a/Sprites/Ending.png.import b/Sprites/Ending.png.import new file mode 100644 index 0000000..4693708 --- /dev/null +++ b/Sprites/Ending.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Ending.png-a739b4e7085c6936dd464e11d48c3211.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/Ending.png" +dest_files=[ "res://.import/Ending.png-a739b4e7085c6936dd464e11d48c3211.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/Sprites/File.png b/Sprites/File.png new file mode 100644 index 0000000..9405545 Binary files /dev/null and b/Sprites/File.png differ diff --git a/Sprites/File.png.import b/Sprites/File.png.import new file mode 100644 index 0000000..6554742 --- /dev/null +++ b/Sprites/File.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/File.png-bacc7fb2fc91eb6a2f59642eb893d742.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/File.png" +dest_files=[ "res://.import/File.png-bacc7fb2fc91eb6a2f59642eb893d742.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/Sprites/Img_file.png b/Sprites/Img_file.png new file mode 100644 index 0000000..1fde421 Binary files /dev/null and b/Sprites/Img_file.png differ diff --git a/Sprites/Img_file.png.import b/Sprites/Img_file.png.import new file mode 100644 index 0000000..3ccaeec --- /dev/null +++ b/Sprites/Img_file.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Img_file.png-af4f39a8c1c9290a7aa556a55c692264.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/Img_file.png" +dest_files=[ "res://.import/Img_file.png-af4f39a8c1c9290a7aa556a55c692264.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/Sprites/Instructions.png b/Sprites/Instructions.png new file mode 100644 index 0000000..2636b28 Binary files /dev/null and b/Sprites/Instructions.png differ diff --git a/Sprites/Instructions.png.import b/Sprites/Instructions.png.import new file mode 100644 index 0000000..bb88b18 --- /dev/null +++ b/Sprites/Instructions.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Instructions.png-a6e33e16c23d2c761e3b14b38d9151dd.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/Instructions.png" +dest_files=[ "res://.import/Instructions.png-a6e33e16c23d2c761e3b14b38d9151dd.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/Sprites/Instructions_button.png b/Sprites/Instructions_button.png new file mode 100644 index 0000000..09286d7 Binary files /dev/null and b/Sprites/Instructions_button.png differ diff --git a/Sprites/Instructions_button.png.import b/Sprites/Instructions_button.png.import new file mode 100644 index 0000000..695d24a --- /dev/null +++ b/Sprites/Instructions_button.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Instructions_button.png-dacf7126e1b69dbde2415dc9c0887b02.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/Instructions_button.png" +dest_files=[ "res://.import/Instructions_button.png-dacf7126e1b69dbde2415dc9c0887b02.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/Sprites/M_spawner.tscn b/Sprites/M_spawner.tscn new file mode 100644 index 0000000..d612b25 --- /dev/null +++ b/Sprites/M_spawner.tscn @@ -0,0 +1,13 @@ +[gd_scene load_steps=3 format=2] + +[ext_resource path="res://Sprites/Caller_idle.png" type="Texture" id=1] +[ext_resource path="res://Scripts/M_spawner.gd" type="Script" id=2] + +[node name="Button" type="Button"] +margin_right = 162.0 +margin_bottom = 100.0 +icon = ExtResource( 1 ) +flat = true +script = ExtResource( 2 ) + +[connection signal="pressed" from="." to="." method="on_pressed"] diff --git a/Sprites/Machine.png b/Sprites/Machine.png new file mode 100644 index 0000000..1afd2c4 Binary files /dev/null and b/Sprites/Machine.png differ diff --git a/Sprites/Machine.png.import b/Sprites/Machine.png.import new file mode 100644 index 0000000..eee1102 --- /dev/null +++ b/Sprites/Machine.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Machine.png-f606999e3c96cfca967491b632f12bab.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/Machine.png" +dest_files=[ "res://.import/Machine.png-f606999e3c96cfca967491b632f12bab.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/Sprites/Me.png b/Sprites/Me.png new file mode 100644 index 0000000..a8dd3a9 Binary files /dev/null and b/Sprites/Me.png differ diff --git a/Sprites/Me.png.import b/Sprites/Me.png.import new file mode 100644 index 0000000..e5a5dd3 --- /dev/null +++ b/Sprites/Me.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Me.png-3d40f8fbf2178fcaed8b3f609200cabe.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/Me.png" +dest_files=[ "res://.import/Me.png-3d40f8fbf2178fcaed8b3f609200cabe.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/Sprites/Music_Off.png b/Sprites/Music_Off.png new file mode 100644 index 0000000..d55b112 Binary files /dev/null and b/Sprites/Music_Off.png differ diff --git a/Sprites/Music_Off.png.import b/Sprites/Music_Off.png.import new file mode 100644 index 0000000..3405ba0 --- /dev/null +++ b/Sprites/Music_Off.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Music_Off.png-a43a50a0f1ddc11f8001c81c7a98a5c4.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/Music_Off.png" +dest_files=[ "res://.import/Music_Off.png-a43a50a0f1ddc11f8001c81c7a98a5c4.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/Sprites/Music_On.png b/Sprites/Music_On.png new file mode 100644 index 0000000..af72227 Binary files /dev/null and b/Sprites/Music_On.png differ diff --git a/Sprites/Music_On.png.import b/Sprites/Music_On.png.import new file mode 100644 index 0000000..1195e52 --- /dev/null +++ b/Sprites/Music_On.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Music_On.png-8d4cf4304060f79cae74dd9d6885ce24.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/Music_On.png" +dest_files=[ "res://.import/Music_On.png-8d4cf4304060f79cae74dd9d6885ce24.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/Sprites/Music_file.png b/Sprites/Music_file.png new file mode 100644 index 0000000..69a2fbb Binary files /dev/null and b/Sprites/Music_file.png differ diff --git a/Sprites/Music_file.png.import b/Sprites/Music_file.png.import new file mode 100644 index 0000000..40f127d --- /dev/null +++ b/Sprites/Music_file.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Music_file.png-b6d0b2c8b0a486a4d4a2ac9a540a6d52.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/Music_file.png" +dest_files=[ "res://.import/Music_file.png-b6d0b2c8b0a486a4d4a2ac9a540a6d52.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/Sprites/No_virus.png.import b/Sprites/No_virus.png.import new file mode 100644 index 0000000..b966c16 --- /dev/null +++ b/Sprites/No_virus.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/No_virus.png-ffe7b43d3cfc664cbe21bf9d197a178d.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/No_virus.png" +dest_files=[ "res://.import/No_virus.png-ffe7b43d3cfc664cbe21bf9d197a178d.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/Sprites/Password.png b/Sprites/Password.png new file mode 100644 index 0000000..b5b5b45 Binary files /dev/null and b/Sprites/Password.png differ diff --git a/Sprites/Password.png.import b/Sprites/Password.png.import new file mode 100644 index 0000000..57a9a9c --- /dev/null +++ b/Sprites/Password.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Password.png-9b2b67e7053e020a8e08c367c2855c20.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/Password.png" +dest_files=[ "res://.import/Password.png-9b2b67e7053e020a8e08c367c2855c20.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/Sprites/Play_again_button.png b/Sprites/Play_again_button.png new file mode 100644 index 0000000..a660a16 Binary files /dev/null and b/Sprites/Play_again_button.png differ diff --git a/Sprites/Play_again_button.png.import b/Sprites/Play_again_button.png.import new file mode 100644 index 0000000..a350256 --- /dev/null +++ b/Sprites/Play_again_button.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Play_again_button.png-463027e74f5021d5539277b8eb648c6f.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/Play_again_button.png" +dest_files=[ "res://.import/Play_again_button.png-463027e74f5021d5539277b8eb648c6f.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/Sprites/Play_button.png b/Sprites/Play_button.png new file mode 100644 index 0000000..ea4b6ec Binary files /dev/null and b/Sprites/Play_button.png differ diff --git a/Sprites/Play_button.png.import b/Sprites/Play_button.png.import new file mode 100644 index 0000000..6f5c275 --- /dev/null +++ b/Sprites/Play_button.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Play_button.png-7c80b3d0983c5707354193a6c6023dc4.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/Play_button.png" +dest_files=[ "res://.import/Play_button.png-7c80b3d0983c5707354193a6c6023dc4.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/Sprites/ProgressBackground.png b/Sprites/ProgressBackground.png new file mode 100644 index 0000000..c676238 Binary files /dev/null and b/Sprites/ProgressBackground.png differ diff --git a/Sprites/ProgressBackground.png.import b/Sprites/ProgressBackground.png.import new file mode 100644 index 0000000..dedefcb --- /dev/null +++ b/Sprites/ProgressBackground.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/ProgressBackground.png-4df3fac58ce35e819c2c2815df002985.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/ProgressBackground.png" +dest_files=[ "res://.import/ProgressBackground.png-4df3fac58ce35e819c2c2815df002985.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/Sprites/ProgressForeground.png b/Sprites/ProgressForeground.png new file mode 100644 index 0000000..057b42f Binary files /dev/null and b/Sprites/ProgressForeground.png differ diff --git a/Sprites/ProgressForeground.png.import b/Sprites/ProgressForeground.png.import new file mode 100644 index 0000000..cae443f --- /dev/null +++ b/Sprites/ProgressForeground.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/ProgressForeground.png-19fbde019ca0452e3bad42e4615e5445.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/ProgressForeground.png" +dest_files=[ "res://.import/ProgressForeground.png-19fbde019ca0452e3bad42e4615e5445.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/Sprites/ProgressOverground.png b/Sprites/ProgressOverground.png new file mode 100644 index 0000000..40de0aa Binary files /dev/null and b/Sprites/ProgressOverground.png differ diff --git a/Sprites/ProgressOverground.png.import b/Sprites/ProgressOverground.png.import new file mode 100644 index 0000000..c86aa9a --- /dev/null +++ b/Sprites/ProgressOverground.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/ProgressOverground.png-2ffb2190cef92b616005be4b50ddafd1.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/ProgressOverground.png" +dest_files=[ "res://.import/ProgressOverground.png-2ffb2190cef92b616005be4b50ddafd1.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/Sprites/Space.png b/Sprites/Space.png new file mode 100644 index 0000000..03b30ac Binary files /dev/null and b/Sprites/Space.png differ diff --git a/Sprites/Space.png.import b/Sprites/Space.png.import new file mode 100644 index 0000000..89cb56f --- /dev/null +++ b/Sprites/Space.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Space.png-e40c8583358de07e162693ea94c78ede.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/Space.png" +dest_files=[ "res://.import/Space.png-e40c8583358de07e162693ea94c78ede.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/Sprites/Text_file.png b/Sprites/Text_file.png new file mode 100644 index 0000000..6d5480d Binary files /dev/null and b/Sprites/Text_file.png differ diff --git a/Sprites/Text_file.png.import b/Sprites/Text_file.png.import new file mode 100644 index 0000000..d88b940 --- /dev/null +++ b/Sprites/Text_file.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Text_file.png-807a5f33752d18a3ce25366044b24156.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/Text_file.png" +dest_files=[ "res://.import/Text_file.png-807a5f33752d18a3ce25366044b24156.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/Sprites/Title.png b/Sprites/Title.png new file mode 100644 index 0000000..49eb353 Binary files /dev/null and b/Sprites/Title.png differ diff --git a/Sprites/Title.png.import b/Sprites/Title.png.import new file mode 100644 index 0000000..e0d38c4 --- /dev/null +++ b/Sprites/Title.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Title.png-7362e0bee3c99d95e13efe8bc4e072d5.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/Title.png" +dest_files=[ "res://.import/Title.png-7362e0bee3c99d95e13efe8bc4e072d5.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/Sprites/Trash.png b/Sprites/Trash.png new file mode 100644 index 0000000..140d73d Binary files /dev/null and b/Sprites/Trash.png differ diff --git a/Sprites/Trash.png.import b/Sprites/Trash.png.import new file mode 100644 index 0000000..51e9ddf --- /dev/null +++ b/Sprites/Trash.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Trash.png-511f1e089b301f644c576bf33a4da916.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/Trash.png" +dest_files=[ "res://.import/Trash.png-511f1e089b301f644c576bf33a4da916.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/Sprites/Trash.tscn b/Sprites/Trash.tscn new file mode 100644 index 0000000..27ca503 --- /dev/null +++ b/Sprites/Trash.tscn @@ -0,0 +1,18 @@ +[gd_scene load_steps=4 format=2] + +[ext_resource path="res://Sprites/Trash.png" type="Texture" id=1] +[ext_resource path="res://Scripts/test.gd" type="Script" id=2] + +[sub_resource type="RectangleShape2D" id=1] +extents = Vector2( 45.5, 57 ) + +[node name="StaticBody2D" type="StaticBody2D"] +input_pickable = true +script = ExtResource( 2 ) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +position = Vector2( -0.5, 6 ) +shape = SubResource( 1 ) + +[node name="Sprite" type="Sprite" parent="."] +texture = ExtResource( 1 ) diff --git a/Sprites/Virus.png b/Sprites/Virus.png new file mode 100644 index 0000000..ea44370 Binary files /dev/null and b/Sprites/Virus.png differ diff --git a/Sprites/Virus.png.import b/Sprites/Virus.png.import new file mode 100644 index 0000000..f811010 --- /dev/null +++ b/Sprites/Virus.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Virus.png-9d171bb3b537d46f92455c2ec673469a.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/Virus.png" +dest_files=[ "res://.import/Virus.png-9d171bb3b537d46f92455c2ec673469a.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/Sprites/Wrong_file.png b/Sprites/Wrong_file.png new file mode 100644 index 0000000..097b5df Binary files /dev/null and b/Sprites/Wrong_file.png differ diff --git a/Sprites/Wrong_file.png.import b/Sprites/Wrong_file.png.import new file mode 100644 index 0000000..eb68823 --- /dev/null +++ b/Sprites/Wrong_file.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Wrong_file.png-d6821cac29a253a0134ab5730da64f7c.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/Wrong_file.png" +dest_files=[ "res://.import/Wrong_file.png-d6821cac29a253a0134ab5730da64f7c.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/Sprites/completed.png b/Sprites/completed.png new file mode 100644 index 0000000..ee0f7a1 Binary files /dev/null and b/Sprites/completed.png differ diff --git a/Sprites/completed.png.import b/Sprites/completed.png.import new file mode 100644 index 0000000..d402718 --- /dev/null +++ b/Sprites/completed.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/completed.png-ce91919415ff2607ddc9b6f90ce2cc64.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/completed.png" +dest_files=[ "res://.import/completed.png-ce91919415ff2607ddc9b6f90ce2cc64.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/Sprites/menu_button.png b/Sprites/menu_button.png new file mode 100644 index 0000000..e254819 Binary files /dev/null and b/Sprites/menu_button.png differ diff --git a/Sprites/menu_button.png.import b/Sprites/menu_button.png.import new file mode 100644 index 0000000..e79d18b --- /dev/null +++ b/Sprites/menu_button.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/menu_button.png-822218d7cb4e04ff5c717716c6f917a9.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/menu_button.png" +dest_files=[ "res://.import/menu_button.png-822218d7cb4e04ff5c717716c6f917a9.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/default_env.tres b/default_env.tres new file mode 100644 index 0000000..20207a4 --- /dev/null +++ b/default_env.tres @@ -0,0 +1,7 @@ +[gd_resource type="Environment" load_steps=2 format=2] + +[sub_resource type="ProceduralSky" id=1] + +[resource] +background_mode = 2 +background_sky = SubResource( 1 ) diff --git a/icon.png b/icon.png new file mode 100644 index 0000000..c98fbb6 Binary files /dev/null and b/icon.png differ diff --git a/icon.png.import b/icon.png.import new file mode 100644 index 0000000..a4c02e6 --- /dev/null +++ b/icon.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://icon.png" +dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/project.godot b/project.godot new file mode 100644 index 0000000..934ca1f --- /dev/null +++ b/project.godot @@ -0,0 +1,53 @@ +; Engine configuration file. +; It's best edited using the editor UI and not directly, +; since the parameters that go here are not all obvious. +; +; Format: +; [section] ; section goes between [] +; param=value ; assign values to parameters + +config_version=4 + +[application] + +config/name="LD51 - Office Madness" +run/main_scene="res://Scenes/Title.tscn" +config/icon="res://icon.png" + +[autoload] + +MManager="*res://Scripts/M_manager.gd" +MusicPlayer="*res://Music/MusicPlayer.tscn" +Muter="*res://Music/Muter.gd" + +[input] + +ui_accept={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777221,"physical_scancode":0,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777222,"physical_scancode":0,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":0,"pressure":0.0,"pressed":false,"script":null) + ] +} +BUTTON_LEFT={ +"deadzone": 0.5, +"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null) + ] +} +SPACE={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":0,"physical_scancode":32,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":32,"physical_scancode":0,"unicode":0,"echo":false,"script":null) + ] +} + +[physics] + +common/enable_pause_aware_picking=true + +[rendering] + +quality/driver/driver_name="GLES2" +vram_compression/import_etc=true +vram_compression/import_etc2=false +environment/default_environment="res://default_env.tres"