diff --git a/Label2.gd b/Label2.gd index 7c0307e..21460ae 100644 --- a/Label2.gd +++ b/Label2.gd @@ -22,7 +22,7 @@ func _ready(): if OS.get_environment("MANGOHUD").contains("1"): Global.mangohud = true welcometext = welcometext+"\nYour overlay already has a FPS counter, built-in one is disabled" - welcometext = welcometext+"\nVirtual machine boot process completed" + welcometext = welcometext+"\nbooting virtual machine" #This can be used to detect background process, may be useful later #var output = [] # Execute "get-process" in powershell and save data in "output": diff --git a/backgounds/booting.png b/backgounds/booting.png new file mode 100644 index 0000000..dcf2aa1 Binary files /dev/null and b/backgounds/booting.png differ diff --git a/backgounds/booting.png.import b/backgounds/booting.png.import new file mode 100644 index 0000000..acc239d --- /dev/null +++ b/backgounds/booting.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dehwbrunbug83" +path="res://.godot/imported/booting.png-ef7387091bb892f0b811d4eee52c33ba.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://backgounds/booting.png" +dest_files=["res://.godot/imported/booting.png-ef7387091bb892f0b811d4eee52c33ba.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/backgounds/fsck.png b/backgounds/fsck.png new file mode 100644 index 0000000..8c4bd11 Binary files /dev/null and b/backgounds/fsck.png differ diff --git a/backgounds/fsck.png.import b/backgounds/fsck.png.import new file mode 100644 index 0000000..722b48f --- /dev/null +++ b/backgounds/fsck.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b6h47p4yhk0hv" +path="res://.godot/imported/fsck.png-34ad321c02739e62f24476fcb6e88c84.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://backgounds/fsck.png" +dest_files=["res://.godot/imported/fsck.png-34ad321c02739e62f24476fcb6e88c84.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/global.gd b/global.gd index 49c8ec5..94e6306 100644 --- a/global.gd +++ b/global.gd @@ -35,7 +35,7 @@ var firstrun const musictracks = ["res://music/midorinoakuma.wav", "res://music/seahorse.wav", "res://music/chinesegoat.wav", "res://music/doyoufeelold.wav", "res://music/doyiuneedahealer.wav", "res://music/adayatceres.wav", "res://music/twintroublemakers.wav", "res://music/easyquiz.wav", "res://music/neowave.wav", "res://music/multivectorsubmarines.wav", "res://music/halfgeniegirls.wav", "res://music/rusianmaverickfairy.wav", "res://music/blacksmithofdestruction.wav", "res://music/shininglikefireworks.wav", "res://music/sadtrashcan.wav", "res://music/akikoletter.wav", "res://music/asadcat.wav", "res://music/lilydesire.wav", "res://music/scholartrip.wav", "res://music/quantumice.wav", "res://music/unreeeal.wav"] const sfxtracks = ["res://sfx/braindamage.wav", "res://sfx/gaugefill.wav", "res://sfx/boomboombakudan.wav"] var debug = false -const release = "R0.1.1-dev" +const release = "R0.1.3-alpha" var sk = false var xm = 0 var ym = 0 diff --git a/levels/ui/scene.tscn b/levels/ui/scene.tscn index 1753d99..ad41c27 100644 --- a/levels/ui/scene.tscn +++ b/levels/ui/scene.tscn @@ -57,7 +57,7 @@ text = "Disclaimer (and return to title)" layout_mode = 2 theme_override_font_sizes/font_size = 32 theme_override_styles/focus = SubResource("StyleBoxFlat_6u0xs") -text = "Test Rooms" +text = "Shrine of the doomed souls" [node name="Results" type="Button" parent="VBoxContainer"] layout_mode = 2 diff --git a/levels/ui/testrooms.tscn b/levels/ui/testrooms.tscn index 5bf46a7..15d19bf 100644 --- a/levels/ui/testrooms.tscn +++ b/levels/ui/testrooms.tscn @@ -32,7 +32,7 @@ offset_top = 3.0 offset_right = 790.0 offset_bottom = 73.0 theme_override_font_sizes/font_size = 40 -text = "Test Rooms" +text = "Shrine of the doomed souls" [node name="VBoxContainer" type="VBoxContainer" parent="."] layout_mode = 1 diff --git a/levels/ui/vmboot.gd b/levels/ui/vmboot.gd new file mode 100644 index 0000000..9d2f99f --- /dev/null +++ b/levels/ui/vmboot.gd @@ -0,0 +1,23 @@ +extends Node2D +const backgrounds = ["res://backgounds/booting.png", "res://backgounds/fsck.png"] +var stage = 0 +var bg +# Called when the node enters the scene tree for the first time. +func _ready(): + bg = $TextureRect + bg.texture = load(backgrounds[stage]) + #pass # Replace with function body. + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +func _process(delta): + pass + + +func _on_timer_timeout(): + if stage == 0: + stage = stage + 1 + bg.texture = load(backgrounds[stage]) + else: + get_tree().change_scene_to_file("res://backgounds/disclaimer.tscn") + #pass # Replace with function body. diff --git a/levels/ui/vmboot.tscn b/levels/ui/vmboot.tscn new file mode 100644 index 0000000..540bc21 --- /dev/null +++ b/levels/ui/vmboot.tscn @@ -0,0 +1,17 @@ +[gd_scene load_steps=2 format=3 uid="uid://bdshjqabxu1aj"] + +[ext_resource type="Script" path="res://levels/ui/vmboot.gd" id="1_dhver"] + +[node name="Vmboot" type="Node2D"] +script = ExtResource("1_dhver") + +[node name="Timer" type="Timer" parent="."] +process_callback = 0 +wait_time = 3.0 +autostart = true + +[node name="TextureRect" type="TextureRect" parent="."] +offset_right = 40.0 +offset_bottom = 40.0 + +[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"] diff --git a/main.gd b/main.gd index 2c06be6..dd0bb2d 100644 --- a/main.gd +++ b/main.gd @@ -30,7 +30,7 @@ func _input(event): func _title(): # This is like autoloading the scene, only # it happens after already loading the main scene. - get_tree().change_scene_to_file("res://backgounds/disclaimer.tscn") + get_tree().change_scene_to_file("res://levels/ui/vmboot.tscn") #get_tree().root.add_child(title) #get_tree().root.remove_child(boot) #boot.queue_free()