new release
This commit is contained in:
parent
17193e4738
commit
396fdfe1b9
11 changed files with 113 additions and 5 deletions
|
@ -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":
|
||||
|
|
BIN
backgounds/booting.png
Normal file
BIN
backgounds/booting.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
34
backgounds/booting.png.import
Normal file
34
backgounds/booting.png.import
Normal file
|
@ -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
|
BIN
backgounds/fsck.png
Normal file
BIN
backgounds/fsck.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
34
backgounds/fsck.png.import
Normal file
34
backgounds/fsck.png.import
Normal file
|
@ -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
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
23
levels/ui/vmboot.gd
Normal file
23
levels/ui/vmboot.gd
Normal file
|
@ -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.
|
17
levels/ui/vmboot.tscn
Normal file
17
levels/ui/vmboot.tscn
Normal file
|
@ -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"]
|
2
main.gd
2
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()
|
||||
|
|
Loading…
Reference in a new issue