⚙️ First Upload
16
Music/Audio.gd
Normal file
|
@ -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()
|
6
Music/AudioPlayer.tscn
Normal file
|
@ -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 )
|
BIN
Music/Crinoline Dreams.mp3
Normal file
15
Music/Crinoline Dreams.mp3.import
Normal file
|
@ -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
|
BIN
Music/Deuces.mp3
Normal file
15
Music/Deuces.mp3.import
Normal file
|
@ -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
|
6
Music/MusicPlayer.tscn
Normal file
|
@ -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 )
|
10
Music/Music_Changer.gd
Normal file
|
@ -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])
|
17
Music/Muter.gd
Normal file
|
@ -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()
|
BIN
Music/hey.mp3
Normal file
15
Music/hey.mp3.import
Normal file
|
@ -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
|
BIN
Music/victory.mp3
Normal file
15
Music/victory.mp3.import
Normal file
|
@ -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
|
60
Scenes/Ending.tscn
Normal file
|
@ -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
|
44
Scenes/Instructions.tscn
Normal file
|
@ -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
|
57
Scenes/Main.tscn
Normal file
|
@ -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"]
|
31
Scenes/Minigames/1.gd
Normal file
|
@ -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()
|
20
Scenes/Minigames/1.tscn
Normal file
|
@ -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
|
9
Scenes/Minigames/2.gd
Normal file
|
@ -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()
|
52
Scenes/Minigames/2.tscn
Normal file
|
@ -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 )
|
40
Scenes/Minigames/3.gd
Normal file
|
@ -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()
|
||||
|
20
Scenes/Minigames/3.tscn
Normal file
|
@ -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
|
25
Scenes/Minigames/4.gd
Normal file
|
@ -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()
|
58
Scenes/Minigames/4.tscn
Normal file
|
@ -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"]
|
60
Scenes/Title.tscn
Normal file
|
@ -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
|
35
Scripts/Background.jpg.import
Normal file
|
@ -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
|
16
Scripts/Drag.gd
Normal file
|
@ -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
|
||||
|
52
Scripts/M_manager.gd
Normal file
|
@ -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()
|
27
Scripts/M_spawner.gd
Normal file
|
@ -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
|
||||
|
41
Scripts/Play.gd
Normal file
|
@ -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!")
|
||||
|
||||
|
21
Scripts/ProgressBar.gd
Normal file
|
@ -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()
|
52
Scripts/Timer.gd
Normal file
|
@ -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
|
21
Scripts/Trash.gd
Normal file
|
@ -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)
|
17
Scripts/test.gd
Normal file
|
@ -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
|
||||
|
BIN
Sprites/Background.jpg
Normal file
After Width: | Height: | Size: 42 KiB |
35
Sprites/Background.jpg.import
Normal file
|
@ -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
|
BIN
Sprites/Caller_active.png
Normal file
After Width: | Height: | Size: 6.3 KiB |
35
Sprites/Caller_active.png.import
Normal file
|
@ -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
|
BIN
Sprites/Caller_idle.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
35
Sprites/Caller_idle.png.import
Normal file
|
@ -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
|
BIN
Sprites/Chosen_file.png
Normal file
After Width: | Height: | Size: 6.4 KiB |
35
Sprites/Chosen_file.png.import
Normal file
|
@ -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
|
BIN
Sprites/Dog.png
Normal file
After Width: | Height: | Size: 10 KiB |
35
Sprites/Dog.png.import
Normal file
|
@ -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
|
20
Sprites/Draggable.tscn
Normal file
|
@ -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"]
|
BIN
Sprites/Ending.png
Normal file
After Width: | Height: | Size: 142 KiB |
35
Sprites/Ending.png.import
Normal file
|
@ -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
|
BIN
Sprites/File.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
35
Sprites/File.png.import
Normal file
|
@ -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
|
BIN
Sprites/Img_file.png
Normal file
After Width: | Height: | Size: 9 KiB |
35
Sprites/Img_file.png.import
Normal file
|
@ -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
|
BIN
Sprites/Instructions.png
Normal file
After Width: | Height: | Size: 177 KiB |
35
Sprites/Instructions.png.import
Normal file
|
@ -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
|
BIN
Sprites/Instructions_button.png
Normal file
After Width: | Height: | Size: 8.6 KiB |
35
Sprites/Instructions_button.png.import
Normal file
|
@ -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
|
13
Sprites/M_spawner.tscn
Normal file
|
@ -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"]
|
BIN
Sprites/Machine.png
Normal file
After Width: | Height: | Size: 22 KiB |
35
Sprites/Machine.png.import
Normal file
|
@ -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
|
BIN
Sprites/Me.png
Normal file
After Width: | Height: | Size: 10 KiB |
35
Sprites/Me.png.import
Normal file
|
@ -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
|
BIN
Sprites/Music_Off.png
Normal file
After Width: | Height: | Size: 25 KiB |
35
Sprites/Music_Off.png.import
Normal file
|
@ -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
|
BIN
Sprites/Music_On.png
Normal file
After Width: | Height: | Size: 19 KiB |
35
Sprites/Music_On.png.import
Normal file
|
@ -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
|
BIN
Sprites/Music_file.png
Normal file
After Width: | Height: | Size: 11 KiB |
35
Sprites/Music_file.png.import
Normal file
|
@ -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
|
35
Sprites/No_virus.png.import
Normal file
|
@ -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
|
BIN
Sprites/Password.png
Normal file
After Width: | Height: | Size: 12 KiB |
35
Sprites/Password.png.import
Normal file
|
@ -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
|
BIN
Sprites/Play_again_button.png
Normal file
After Width: | Height: | Size: 9.1 KiB |
35
Sprites/Play_again_button.png.import
Normal file
|
@ -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
|
BIN
Sprites/Play_button.png
Normal file
After Width: | Height: | Size: 7.8 KiB |
35
Sprites/Play_button.png.import
Normal file
|
@ -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
|
BIN
Sprites/ProgressBackground.png
Normal file
After Width: | Height: | Size: 772 B |
35
Sprites/ProgressBackground.png.import
Normal file
|
@ -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
|
BIN
Sprites/ProgressForeground.png
Normal file
After Width: | Height: | Size: 818 B |
35
Sprites/ProgressForeground.png.import
Normal file
|
@ -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
|
BIN
Sprites/ProgressOverground.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
35
Sprites/ProgressOverground.png.import
Normal file
|
@ -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
|
BIN
Sprites/Space.png
Normal file
After Width: | Height: | Size: 12 KiB |
35
Sprites/Space.png.import
Normal file
|
@ -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
|
BIN
Sprites/Text_file.png
Normal file
After Width: | Height: | Size: 5.9 KiB |
35
Sprites/Text_file.png.import
Normal file
|
@ -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
|
BIN
Sprites/Title.png
Normal file
After Width: | Height: | Size: 159 KiB |
35
Sprites/Title.png.import
Normal file
|
@ -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
|
BIN
Sprites/Trash.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
35
Sprites/Trash.png.import
Normal file
|
@ -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
|
18
Sprites/Trash.tscn
Normal file
|
@ -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 )
|
BIN
Sprites/Virus.png
Normal file
After Width: | Height: | Size: 11 KiB |
35
Sprites/Virus.png.import
Normal file
|
@ -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
|
BIN
Sprites/Wrong_file.png
Normal file
After Width: | Height: | Size: 6.4 KiB |
35
Sprites/Wrong_file.png.import
Normal file
|
@ -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
|
BIN
Sprites/completed.png
Normal file
After Width: | Height: | Size: 57 KiB |
35
Sprites/completed.png.import
Normal file
|
@ -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
|
BIN
Sprites/menu_button.png
Normal file
After Width: | Height: | Size: 8.6 KiB |
35
Sprites/menu_button.png.import
Normal file
|
@ -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
|
7
default_env.tres
Normal file
|
@ -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 )
|
BIN
icon.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
35
icon.png.import
Normal file
|
@ -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
|
53
project.godot
Normal file
|
@ -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"
|