smooth scrolling

This commit is contained in:
Page Asgardius 2024-03-08 18:50:47 -07:00
parent a18a294a64
commit 17193e4738
20 changed files with 171 additions and 154 deletions

View file

@ -2,7 +2,7 @@
<img src=https://git.asgardius.company/asgardius/midori-school/raw/branch/main/icon.png>
An Action Role Playing Game inspired by Alundra, Touhou Project, Megaman X, among others. The only Open Source Genshin Killer and the only game at the moment that offers official bittorrent downloads. This game is made using Virtualx Engine (a godot's fork created for this game). You can find engine source code at https://git.asgardius.company/asgardius/virtualx-engine
An Action Role Playing Game inspired by Alundra, Touhou Project, Megaman X, among others. The only Open Source Genshin Killer and the only game at the moment that offers official bittorrent downloads. This game is made using Godot Engine. You can find engine source code at https://git.asgardius.company/asgardius/virtualx-engine
At the moment this game is only a proof of concept. If you want to help send me an email to asgardius@asgardius.company
You can find game documentation at https://cloud.asgardius.company/s/3tPKHsMznzMjzEc?path=%2Fgame%20documentation%2FMidori%20in%20the%20Magic%20School

View file

@ -21,13 +21,14 @@ func _input(event):
# Mouse in viewport coordinates.
if Input.is_action_just_pressed("ui_accept"):
#print("Mouse Click/Unclick at: ", event.position)
_title()
get_tree().change_scene_to_file("res://title.tscn")
#_title()
func _title():
# This is like autoloading the scene, only
# it happens after already loading the main scene.
if Global.debug:
get_tree().change_scene_to_file("res://levels/ui/scene.tscn")
get_tree().change_scene_to_file("res://titl")
else:
get_tree().change_scene_to_file("res://levels/ui/credits.tscn")
#get_tree().root.add_child(title)

View file

@ -21,7 +21,7 @@ theme_override_font_sizes/font_size = 22
text = "Disclaimer
Playing with fireworks inside a videogame can give hours of fun,
but in real life is dangerous
Life assurance services exists only on fiction"
Life insurance exists only on fiction"
[node name="Label2" type="Label" parent="."]
offset_left = 346.0

View file

@ -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-alpha"
const release = "R0.1.1-dev"
var sk = false
var xm = 0
var ym = 0

View file

@ -14,13 +14,16 @@ func _ready():
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
if player.position.y < boss.position.y && player.get_index() > boss.get_index():
move_child(player, boss.get_index() - 1)
print("move up")
elif player.position.y > boss.position.y && player.get_index() < boss.get_index():
move_child(player, boss.get_index() + 1)
print("move down")
#pass
pass
func _physics_process(delta):
if player.velocity.x >= 0 && player.velocity.y >= 0:
if player.position.y < boss.position.y && player.get_index() > boss.get_index():
move_child(player, boss.get_index() - 1)
print("move up")
elif player.position.y > boss.position.y && player.get_index() < boss.get_index():
move_child(player, boss.get_index() + 1)
print("move down")
func _input(event):
if Global.cdialog.size() == 0:

View file

@ -11,10 +11,13 @@ func _ready():
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
if player.position.y < boss.position.y && player.get_index() > boss.get_index():
move_child(player, boss.get_index() - 1)
print("move up")
elif player.position.y > boss.position.y && player.get_index() < boss.get_index():
move_child(player, boss.get_index() + 1)
print("move down")
#pass
pass
func _physics_process(delta):
if player.velocity.x >= 0 && player.velocity.y >= 0:
if player.position.y < boss.position.y && player.get_index() > boss.get_index():
move_child(player, boss.get_index() - 1)
print("move up")
elif player.position.y > boss.position.y && player.get_index() < boss.get_index():
move_child(player, boss.get_index() + 1)
print("move down")

View file

@ -11,16 +11,16 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="fps" type="Label" parent="."]
layout_mode = 0
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="fps" type="Label" parent="CanvasLayer"]
offset_left = 5.0
offset_top = 697.0
offset_right = 45.0
offset_bottom = 720.0
script = ExtResource("1_15gcj")
[node name="Version" type="Label" parent="."]
layout_mode = 0
[node name="Version" type="Label" parent="CanvasLayer"]
offset_left = 1166.0
offset_top = 691.0
offset_right = 1246.0

View file

@ -23,6 +23,7 @@ grow_vertical = 2
script = ExtResource("1_gm5qw")
[node name="Night Sky" type="TextureRect" parent="."]
layout_mode = 0
offset_right = 1280.0
offset_bottom = 720.0
texture = ExtResource("2_1w2er")

View file

@ -14,6 +14,7 @@ grow_vertical = 2
script = ExtResource("1_w4qrm")
[node name="Night Sky" type="TextureRect" parent="."]
layout_mode = 0
offset_right = 1280.0
offset_bottom = 720.0
texture = ExtResource("2_kcf5a")

View file

@ -23,6 +23,7 @@ grow_vertical = 2
script = ExtResource("1_mulrj")
[node name="Night Sky" type="TextureRect" parent="."]
layout_mode = 0
offset_right = 1280.0
offset_bottom = 720.0
texture = ExtResource("2_jgdg2")

View file

@ -20,6 +20,7 @@ grow_vertical = 2
script = ExtResource("1_hxcrn")
[node name="Night Sky" type="TextureRect" parent="."]
layout_mode = 0
offset_right = 1280.0
offset_bottom = 720.0
texture = ExtResource("2_jnmob")

View file

@ -20,6 +20,7 @@ grow_vertical = 2
script = ExtResource("1_l1lbb")
[node name="Night Sky" type="TextureRect" parent="."]
layout_mode = 0
offset_right = 1280.0
offset_bottom = 720.0
texture = ExtResource("2_uuurj")

View file

@ -7,9 +7,9 @@ var pface
var press = false
# Called when the node enters the scene tree for the first time.
func _ready():
cname = $Cname
dialog = $Dialog
pface = $Playerface
cname = $CanvasLayer/Cname
dialog = $CanvasLayer/Dialog
pface = $CanvasLayer/Playerface
if Global.cdialog[dindex][1]:
cname.set_text(Global.pcnames[Global.cdialog[dindex][2]])
pface.texture = load(Global.pcfaces[Global.cdialog[dindex][2]][Global.cdialog[dindex][3]])

View file

@ -6,39 +6,41 @@
[node name="Talk" type="Node2D"]
script = ExtResource("1_c5y35")
[node name="Playerface" type="TextureRect" parent="."]
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="Playerface" type="TextureRect" parent="CanvasLayer"]
offset_left = 511.0
offset_top = 35.0
offset_right = 767.0
offset_bottom = 291.0
texture = ExtResource("1_4l8il")
[node name="Continue" type="ColorRect" parent="."]
[node name="Continue" type="ColorRect" parent="CanvasLayer"]
offset_left = 39.0
offset_top = 118.0
offset_right = 276.0
offset_bottom = 177.0
color = Color(0.254902, 0.254902, 0.254902, 1)
[node name="Continuetext" type="Label" parent="."]
[node name="Continuetext" type="Label" parent="CanvasLayer"]
offset_left = 39.0
offset_top = 119.0
offset_right = 276.0
offset_bottom = 177.0
offset_bottom = 178.0
theme_override_font_sizes/font_size = 20
text = "Press enter or B
to continue"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Textbox" type="ColorRect" parent="."]
[node name="Textbox" type="ColorRect" parent="CanvasLayer"]
offset_left = 41.0
offset_top = 319.0
offset_right = 1243.0
offset_bottom = 681.0
color = Color(0.254902, 0.254902, 0.254902, 1)
[node name="Cname" type="Label" parent="."]
[node name="Cname" type="Label" parent="CanvasLayer"]
offset_left = 41.0
offset_top = 319.0
offset_right = 1243.0
@ -48,7 +50,7 @@ text = "Character name goes here"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Dialog" type="Label" parent="."]
[node name="Dialog" type="Label" parent="CanvasLayer"]
offset_left = 41.0
offset_top = 377.0
offset_right = 1243.0

View file

@ -20,6 +20,7 @@ grow_vertical = 2
script = ExtResource("1_p5nnr")
[node name="Night Sky" type="TextureRect" parent="."]
layout_mode = 0
offset_right = 1280.0
offset_bottom = 720.0
texture = ExtResource("2_vkpo3")

View file

@ -23,6 +23,7 @@ grow_vertical = 2
script = ExtResource("1_w3aym")
[node name="Night Sky" type="TextureRect" parent="."]
layout_mode = 0
offset_right = 1280.0
offset_bottom = 720.0
texture = ExtResource("2_sqp06")

View file

@ -20,24 +20,24 @@ var topminibg
# Called when the node enters the scene tree for the first time.
func _ready():
topleft = $Topleft
topleftbg = $Topleftbg
topmini = $Topmini
topminibg = $Topminibg
cn1 = $Topleft/Character1/VBoxContainer/HBoxContainer/Label
cn2 = $Topleft/Character2/VBoxContainer/HBoxContainer/Label
cn3 = $Topleft/Character3/VBoxContainer/HBoxContainer/Label
cn4 = $Topleft/Character4/VBoxContainer/HBoxContainer/Label
cf1 = $Topleft/Character1/TextureRect
cf2 = $Topleft/Character2/TextureRect
cf3 = $Topleft/Character3/TextureRect
cf4 = $Topleft/Character4/TextureRect
focus1 = $Topleft/Character1/ColorRect2
focus2 = $Topleft/Character2/ColorRect2
focus3 = $Topleft/Character3/ColorRect2
focus4 = $Topleft/Character4/ColorRect2
cnf = $Topmini/VBoxContainer/HBoxContainer/Label
cff = $Topmini/TextureRect
topleft = $CanvasLayer/Topleft
topleftbg = $CanvasLayer/Topleftbg
topmini = $CanvasLayer/Topmini
topminibg = $CanvasLayer/Topminibg
cn1 = $CanvasLayer/Topleft/Character1/VBoxContainer/HBoxContainer/Label
cn2 = $CanvasLayer/Topleft/Character2/VBoxContainer/HBoxContainer/Label
cn3 = $CanvasLayer/Topleft/Character3/VBoxContainer/HBoxContainer/Label
cn4 = $CanvasLayer/Topleft/Character4/VBoxContainer/HBoxContainer/Label
cf1 = $CanvasLayer/Topleft/Character1/TextureRect
cf2 = $CanvasLayer/Topleft/Character2/TextureRect
cf3 = $CanvasLayer/Topleft/Character3/TextureRect
cf4 = $CanvasLayer/Topleft/Character4/TextureRect
focus1 = $CanvasLayer/Topleft/Character1/ColorRect2
focus2 = $CanvasLayer/Topleft/Character2/ColorRect2
focus3 = $CanvasLayer/Topleft/Character3/ColorRect2
focus4 = $CanvasLayer/Topleft/Character4/ColorRect2
cnf = $CanvasLayer/Topmini/VBoxContainer/HBoxContainer/Label
cff = $CanvasLayer/Topmini/TextureRect
topleft.visible = false
topleftbg.visible = false
if Global.mangohud:

View file

@ -23,454 +23,452 @@ grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_pntuv")
[node name="Topminibg" type="ColorRect" parent="."]
layout_mode = 0
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="Topminibg" type="ColorRect" parent="CanvasLayer"]
offset_right = 377.0
offset_bottom = 116.0
color = Color(0.254902, 0.254902, 0.254902, 1)
[node name="Topmini" type="HBoxContainer" parent="."]
layout_mode = 2
[node name="Topmini" type="HBoxContainer" parent="CanvasLayer"]
offset_right = 377.0
offset_bottom = 116.0
[node name="TextureRect" type="TextureRect" parent="Topmini"]
[node name="TextureRect" type="TextureRect" parent="CanvasLayer/Topmini"]
custom_minimum_size = Vector2(116, 116)
layout_mode = 2
[node name="VBoxContainer" type="VBoxContainer" parent="Topmini"]
[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/Topmini"]
layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="Topmini/VBoxContainer"]
[node name="HBoxContainer" type="HBoxContainer" parent="CanvasLayer/Topmini/VBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="Topmini/VBoxContainer/HBoxContainer"]
[node name="Label" type="Label" parent="CanvasLayer/Topmini/VBoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(174, 0)
layout_mode = 2
text = "Name"
[node name="Label3" type="Label" parent="Topmini/VBoxContainer/HBoxContainer"]
[node name="Label3" type="Label" parent="CanvasLayer/Topmini/VBoxContainer/HBoxContainer"]
layout_mode = 2
text = "R1"
horizontal_alignment = 2
[node name="HBoxContainer2" type="HBoxContainer" parent="Topmini/VBoxContainer"]
[node name="HBoxContainer2" type="HBoxContainer" parent="CanvasLayer/Topmini/VBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="Topmini/VBoxContainer/HBoxContainer2"]
[node name="Label" type="Label" parent="CanvasLayer/Topmini/VBoxContainer/HBoxContainer2"]
custom_minimum_size = Vector2(70, 0)
layout_mode = 2
text = "Health"
[node name="ProgressBar" type="ProgressBar" parent="Topmini/VBoxContainer/HBoxContainer2"]
[node name="ProgressBar" type="ProgressBar" parent="CanvasLayer/Topmini/VBoxContainer/HBoxContainer2"]
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
theme_override_styles/background = SubResource("StyleBoxFlat_ualpu")
theme_override_styles/fill = SubResource("StyleBoxFlat_patnr")
[node name="Label2" type="Label" parent="Topmini/VBoxContainer/HBoxContainer2"]
[node name="Label2" type="Label" parent="CanvasLayer/Topmini/VBoxContainer/HBoxContainer2"]
custom_minimum_size = Vector2(63, 0)
layout_mode = 2
text = "100/100"
horizontal_alignment = 2
[node name="HBoxContainer3" type="HBoxContainer" parent="Topmini/VBoxContainer"]
[node name="HBoxContainer3" type="HBoxContainer" parent="CanvasLayer/Topmini/VBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="Topmini/VBoxContainer/HBoxContainer3"]
[node name="Label" type="Label" parent="CanvasLayer/Topmini/VBoxContainer/HBoxContainer3"]
custom_minimum_size = Vector2(70, 0)
layout_mode = 2
text = "Stamina"
[node name="ProgressBar" type="ProgressBar" parent="Topmini/VBoxContainer/HBoxContainer3"]
[node name="ProgressBar" type="ProgressBar" parent="CanvasLayer/Topmini/VBoxContainer/HBoxContainer3"]
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
theme_override_styles/background = SubResource("StyleBoxFlat_05pau")
theme_override_styles/fill = SubResource("StyleBoxFlat_u3vj7")
[node name="Label2" type="Label" parent="Topmini/VBoxContainer/HBoxContainer3"]
[node name="Label2" type="Label" parent="CanvasLayer/Topmini/VBoxContainer/HBoxContainer3"]
custom_minimum_size = Vector2(63, 0)
layout_mode = 2
text = "100/100"
horizontal_alignment = 2
[node name="HBoxContainer4" type="HBoxContainer" parent="Topmini/VBoxContainer"]
[node name="HBoxContainer4" type="HBoxContainer" parent="CanvasLayer/Topmini/VBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="Topmini/VBoxContainer/HBoxContainer4"]
[node name="Label" type="Label" parent="CanvasLayer/Topmini/VBoxContainer/HBoxContainer4"]
custom_minimum_size = Vector2(70, 0)
layout_mode = 2
text = "Skill"
[node name="ProgressBar" type="ProgressBar" parent="Topmini/VBoxContainer/HBoxContainer4"]
[node name="ProgressBar" type="ProgressBar" parent="CanvasLayer/Topmini/VBoxContainer/HBoxContainer4"]
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
theme_override_styles/background = SubResource("StyleBoxFlat_ftyws")
[node name="Label2" type="Label" parent="Topmini/VBoxContainer/HBoxContainer4"]
[node name="Label2" type="Label" parent="CanvasLayer/Topmini/VBoxContainer/HBoxContainer4"]
custom_minimum_size = Vector2(63, 0)
layout_mode = 2
text = "100/100"
horizontal_alignment = 2
[node name="ColorRect2" type="ColorRect" parent="Topmini"]
[node name="ColorRect2" type="ColorRect" parent="CanvasLayer/Topmini"]
custom_minimum_size = Vector2(12, 64)
layout_mode = 2
color = Color(0, 0, 1, 1)
[node name="Topleftbg" type="ColorRect" parent="."]
[node name="Topleftbg" type="ColorRect" parent="CanvasLayer"]
visible = false
layout_mode = 0
offset_right = 377.0
offset_bottom = 476.0
color = Color(0.254902, 0.254902, 0.254902, 1)
[node name="Topleft" type="VBoxContainer" parent="."]
[node name="Topleft" type="VBoxContainer" parent="CanvasLayer"]
visible = false
layout_mode = 0
offset_right = 377.0
offset_bottom = 476.0
[node name="Character1" type="HBoxContainer" parent="Topleft"]
[node name="Character1" type="HBoxContainer" parent="CanvasLayer/Topleft"]
layout_mode = 2
[node name="TextureRect" type="TextureRect" parent="Topleft/Character1"]
[node name="TextureRect" type="TextureRect" parent="CanvasLayer/Topleft/Character1"]
custom_minimum_size = Vector2(116, 116)
layout_mode = 2
[node name="VBoxContainer" type="VBoxContainer" parent="Topleft/Character1"]
[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/Topleft/Character1"]
layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="Topleft/Character1/VBoxContainer"]
[node name="HBoxContainer" type="HBoxContainer" parent="CanvasLayer/Topleft/Character1/VBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="Topleft/Character1/VBoxContainer/HBoxContainer"]
[node name="Label" type="Label" parent="CanvasLayer/Topleft/Character1/VBoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(174, 0)
layout_mode = 2
text = "Name"
[node name="Label3" type="Label" parent="Topleft/Character1/VBoxContainer/HBoxContainer"]
[node name="Label3" type="Label" parent="CanvasLayer/Topleft/Character1/VBoxContainer/HBoxContainer"]
layout_mode = 2
text = "R1 + ↑"
horizontal_alignment = 2
[node name="HBoxContainer2" type="HBoxContainer" parent="Topleft/Character1/VBoxContainer"]
[node name="HBoxContainer2" type="HBoxContainer" parent="CanvasLayer/Topleft/Character1/VBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="Topleft/Character1/VBoxContainer/HBoxContainer2"]
[node name="Label" type="Label" parent="CanvasLayer/Topleft/Character1/VBoxContainer/HBoxContainer2"]
custom_minimum_size = Vector2(70, 0)
layout_mode = 2
text = "Health"
[node name="ProgressBar" type="ProgressBar" parent="Topleft/Character1/VBoxContainer/HBoxContainer2"]
[node name="ProgressBar" type="ProgressBar" parent="CanvasLayer/Topleft/Character1/VBoxContainer/HBoxContainer2"]
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
theme_override_styles/background = SubResource("StyleBoxFlat_ualpu")
theme_override_styles/fill = SubResource("StyleBoxFlat_patnr")
[node name="Label2" type="Label" parent="Topleft/Character1/VBoxContainer/HBoxContainer2"]
[node name="Label2" type="Label" parent="CanvasLayer/Topleft/Character1/VBoxContainer/HBoxContainer2"]
custom_minimum_size = Vector2(63, 0)
layout_mode = 2
text = "100/100"
horizontal_alignment = 2
[node name="HBoxContainer3" type="HBoxContainer" parent="Topleft/Character1/VBoxContainer"]
[node name="HBoxContainer3" type="HBoxContainer" parent="CanvasLayer/Topleft/Character1/VBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="Topleft/Character1/VBoxContainer/HBoxContainer3"]
[node name="Label" type="Label" parent="CanvasLayer/Topleft/Character1/VBoxContainer/HBoxContainer3"]
custom_minimum_size = Vector2(70, 0)
layout_mode = 2
text = "Stamina"
[node name="ProgressBar" type="ProgressBar" parent="Topleft/Character1/VBoxContainer/HBoxContainer3"]
[node name="ProgressBar" type="ProgressBar" parent="CanvasLayer/Topleft/Character1/VBoxContainer/HBoxContainer3"]
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
theme_override_styles/background = SubResource("StyleBoxFlat_05pau")
theme_override_styles/fill = SubResource("StyleBoxFlat_u3vj7")
[node name="Label2" type="Label" parent="Topleft/Character1/VBoxContainer/HBoxContainer3"]
[node name="Label2" type="Label" parent="CanvasLayer/Topleft/Character1/VBoxContainer/HBoxContainer3"]
custom_minimum_size = Vector2(63, 0)
layout_mode = 2
text = "100/100"
horizontal_alignment = 2
[node name="HBoxContainer4" type="HBoxContainer" parent="Topleft/Character1/VBoxContainer"]
[node name="HBoxContainer4" type="HBoxContainer" parent="CanvasLayer/Topleft/Character1/VBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="Topleft/Character1/VBoxContainer/HBoxContainer4"]
[node name="Label" type="Label" parent="CanvasLayer/Topleft/Character1/VBoxContainer/HBoxContainer4"]
custom_minimum_size = Vector2(70, 0)
layout_mode = 2
text = "Skill"
[node name="ProgressBar" type="ProgressBar" parent="Topleft/Character1/VBoxContainer/HBoxContainer4"]
[node name="ProgressBar" type="ProgressBar" parent="CanvasLayer/Topleft/Character1/VBoxContainer/HBoxContainer4"]
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
theme_override_styles/background = SubResource("StyleBoxFlat_ftyws")
[node name="Label2" type="Label" parent="Topleft/Character1/VBoxContainer/HBoxContainer4"]
[node name="Label2" type="Label" parent="CanvasLayer/Topleft/Character1/VBoxContainer/HBoxContainer4"]
custom_minimum_size = Vector2(63, 0)
layout_mode = 2
text = "100/100"
horizontal_alignment = 2
[node name="ColorRect2" type="ColorRect" parent="Topleft/Character1"]
[node name="ColorRect2" type="ColorRect" parent="CanvasLayer/Topleft/Character1"]
custom_minimum_size = Vector2(12, 64)
layout_mode = 2
[node name="Character2" type="HBoxContainer" parent="Topleft"]
[node name="Character2" type="HBoxContainer" parent="CanvasLayer/Topleft"]
layout_mode = 2
[node name="TextureRect" type="TextureRect" parent="Topleft/Character2"]
[node name="TextureRect" type="TextureRect" parent="CanvasLayer/Topleft/Character2"]
custom_minimum_size = Vector2(116, 116)
layout_mode = 2
[node name="VBoxContainer" type="VBoxContainer" parent="Topleft/Character2"]
[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/Topleft/Character2"]
layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="Topleft/Character2/VBoxContainer"]
[node name="HBoxContainer" type="HBoxContainer" parent="CanvasLayer/Topleft/Character2/VBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="Topleft/Character2/VBoxContainer/HBoxContainer"]
[node name="Label" type="Label" parent="CanvasLayer/Topleft/Character2/VBoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(174, 0)
layout_mode = 2
text = "Name"
[node name="Label3" type="Label" parent="Topleft/Character2/VBoxContainer/HBoxContainer"]
[node name="Label3" type="Label" parent="CanvasLayer/Topleft/Character2/VBoxContainer/HBoxContainer"]
layout_mode = 2
text = "R1 + →"
horizontal_alignment = 2
[node name="HBoxContainer2" type="HBoxContainer" parent="Topleft/Character2/VBoxContainer"]
[node name="HBoxContainer2" type="HBoxContainer" parent="CanvasLayer/Topleft/Character2/VBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="Topleft/Character2/VBoxContainer/HBoxContainer2"]
[node name="Label" type="Label" parent="CanvasLayer/Topleft/Character2/VBoxContainer/HBoxContainer2"]
custom_minimum_size = Vector2(70, 0)
layout_mode = 2
text = "Health"
[node name="ProgressBar" type="ProgressBar" parent="Topleft/Character2/VBoxContainer/HBoxContainer2"]
[node name="ProgressBar" type="ProgressBar" parent="CanvasLayer/Topleft/Character2/VBoxContainer/HBoxContainer2"]
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
theme_override_styles/background = SubResource("StyleBoxFlat_ualpu")
theme_override_styles/fill = SubResource("StyleBoxFlat_patnr")
[node name="Label2" type="Label" parent="Topleft/Character2/VBoxContainer/HBoxContainer2"]
[node name="Label2" type="Label" parent="CanvasLayer/Topleft/Character2/VBoxContainer/HBoxContainer2"]
custom_minimum_size = Vector2(63, 0)
layout_mode = 2
text = "100/100"
horizontal_alignment = 2
[node name="HBoxContainer3" type="HBoxContainer" parent="Topleft/Character2/VBoxContainer"]
[node name="HBoxContainer3" type="HBoxContainer" parent="CanvasLayer/Topleft/Character2/VBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="Topleft/Character2/VBoxContainer/HBoxContainer3"]
[node name="Label" type="Label" parent="CanvasLayer/Topleft/Character2/VBoxContainer/HBoxContainer3"]
custom_minimum_size = Vector2(70, 0)
layout_mode = 2
text = "Stamina"
[node name="ProgressBar" type="ProgressBar" parent="Topleft/Character2/VBoxContainer/HBoxContainer3"]
[node name="ProgressBar" type="ProgressBar" parent="CanvasLayer/Topleft/Character2/VBoxContainer/HBoxContainer3"]
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
theme_override_styles/background = SubResource("StyleBoxFlat_05pau")
theme_override_styles/fill = SubResource("StyleBoxFlat_u3vj7")
[node name="Label2" type="Label" parent="Topleft/Character2/VBoxContainer/HBoxContainer3"]
[node name="Label2" type="Label" parent="CanvasLayer/Topleft/Character2/VBoxContainer/HBoxContainer3"]
custom_minimum_size = Vector2(63, 0)
layout_mode = 2
text = "100/100"
horizontal_alignment = 2
[node name="HBoxContainer4" type="HBoxContainer" parent="Topleft/Character2/VBoxContainer"]
[node name="HBoxContainer4" type="HBoxContainer" parent="CanvasLayer/Topleft/Character2/VBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="Topleft/Character2/VBoxContainer/HBoxContainer4"]
[node name="Label" type="Label" parent="CanvasLayer/Topleft/Character2/VBoxContainer/HBoxContainer4"]
custom_minimum_size = Vector2(70, 0)
layout_mode = 2
text = "Skill"
[node name="ProgressBar" type="ProgressBar" parent="Topleft/Character2/VBoxContainer/HBoxContainer4"]
[node name="ProgressBar" type="ProgressBar" parent="CanvasLayer/Topleft/Character2/VBoxContainer/HBoxContainer4"]
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
theme_override_styles/background = SubResource("StyleBoxFlat_ftyws")
[node name="Label2" type="Label" parent="Topleft/Character2/VBoxContainer/HBoxContainer4"]
[node name="Label2" type="Label" parent="CanvasLayer/Topleft/Character2/VBoxContainer/HBoxContainer4"]
custom_minimum_size = Vector2(63, 0)
layout_mode = 2
text = "100/100"
horizontal_alignment = 2
[node name="ColorRect2" type="ColorRect" parent="Topleft/Character2"]
[node name="ColorRect2" type="ColorRect" parent="CanvasLayer/Topleft/Character2"]
custom_minimum_size = Vector2(12, 64)
layout_mode = 2
[node name="Character3" type="HBoxContainer" parent="Topleft"]
[node name="Character3" type="HBoxContainer" parent="CanvasLayer/Topleft"]
layout_mode = 2
[node name="TextureRect" type="TextureRect" parent="Topleft/Character3"]
[node name="TextureRect" type="TextureRect" parent="CanvasLayer/Topleft/Character3"]
custom_minimum_size = Vector2(116, 116)
layout_mode = 2
[node name="VBoxContainer" type="VBoxContainer" parent="Topleft/Character3"]
[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/Topleft/Character3"]
layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="Topleft/Character3/VBoxContainer"]
[node name="HBoxContainer" type="HBoxContainer" parent="CanvasLayer/Topleft/Character3/VBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="Topleft/Character3/VBoxContainer/HBoxContainer"]
[node name="Label" type="Label" parent="CanvasLayer/Topleft/Character3/VBoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(174, 0)
layout_mode = 2
text = "Name"
[node name="Label3" type="Label" parent="Topleft/Character3/VBoxContainer/HBoxContainer"]
[node name="Label3" type="Label" parent="CanvasLayer/Topleft/Character3/VBoxContainer/HBoxContainer"]
layout_mode = 2
text = "R1 + ↓"
horizontal_alignment = 2
[node name="HBoxContainer2" type="HBoxContainer" parent="Topleft/Character3/VBoxContainer"]
[node name="HBoxContainer2" type="HBoxContainer" parent="CanvasLayer/Topleft/Character3/VBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="Topleft/Character3/VBoxContainer/HBoxContainer2"]
[node name="Label" type="Label" parent="CanvasLayer/Topleft/Character3/VBoxContainer/HBoxContainer2"]
custom_minimum_size = Vector2(70, 0)
layout_mode = 2
text = "Health"
[node name="ProgressBar" type="ProgressBar" parent="Topleft/Character3/VBoxContainer/HBoxContainer2"]
[node name="ProgressBar" type="ProgressBar" parent="CanvasLayer/Topleft/Character3/VBoxContainer/HBoxContainer2"]
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
theme_override_styles/background = SubResource("StyleBoxFlat_ualpu")
theme_override_styles/fill = SubResource("StyleBoxFlat_patnr")
[node name="Label2" type="Label" parent="Topleft/Character3/VBoxContainer/HBoxContainer2"]
[node name="Label2" type="Label" parent="CanvasLayer/Topleft/Character3/VBoxContainer/HBoxContainer2"]
custom_minimum_size = Vector2(63, 0)
layout_mode = 2
text = "100/100"
horizontal_alignment = 2
[node name="HBoxContainer3" type="HBoxContainer" parent="Topleft/Character3/VBoxContainer"]
[node name="HBoxContainer3" type="HBoxContainer" parent="CanvasLayer/Topleft/Character3/VBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="Topleft/Character3/VBoxContainer/HBoxContainer3"]
[node name="Label" type="Label" parent="CanvasLayer/Topleft/Character3/VBoxContainer/HBoxContainer3"]
custom_minimum_size = Vector2(70, 0)
layout_mode = 2
text = "Stamina"
[node name="ProgressBar" type="ProgressBar" parent="Topleft/Character3/VBoxContainer/HBoxContainer3"]
[node name="ProgressBar" type="ProgressBar" parent="CanvasLayer/Topleft/Character3/VBoxContainer/HBoxContainer3"]
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
theme_override_styles/background = SubResource("StyleBoxFlat_05pau")
theme_override_styles/fill = SubResource("StyleBoxFlat_u3vj7")
[node name="Label2" type="Label" parent="Topleft/Character3/VBoxContainer/HBoxContainer3"]
[node name="Label2" type="Label" parent="CanvasLayer/Topleft/Character3/VBoxContainer/HBoxContainer3"]
custom_minimum_size = Vector2(63, 0)
layout_mode = 2
text = "100/100"
horizontal_alignment = 2
[node name="HBoxContainer4" type="HBoxContainer" parent="Topleft/Character3/VBoxContainer"]
[node name="HBoxContainer4" type="HBoxContainer" parent="CanvasLayer/Topleft/Character3/VBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="Topleft/Character3/VBoxContainer/HBoxContainer4"]
[node name="Label" type="Label" parent="CanvasLayer/Topleft/Character3/VBoxContainer/HBoxContainer4"]
custom_minimum_size = Vector2(70, 0)
layout_mode = 2
text = "Skill"
[node name="ProgressBar" type="ProgressBar" parent="Topleft/Character3/VBoxContainer/HBoxContainer4"]
[node name="ProgressBar" type="ProgressBar" parent="CanvasLayer/Topleft/Character3/VBoxContainer/HBoxContainer4"]
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
theme_override_styles/background = SubResource("StyleBoxFlat_ftyws")
[node name="Label2" type="Label" parent="Topleft/Character3/VBoxContainer/HBoxContainer4"]
[node name="Label2" type="Label" parent="CanvasLayer/Topleft/Character3/VBoxContainer/HBoxContainer4"]
custom_minimum_size = Vector2(63, 0)
layout_mode = 2
text = "100/100"
horizontal_alignment = 2
[node name="ColorRect2" type="ColorRect" parent="Topleft/Character3"]
[node name="ColorRect2" type="ColorRect" parent="CanvasLayer/Topleft/Character3"]
custom_minimum_size = Vector2(12, 64)
layout_mode = 2
[node name="Character4" type="HBoxContainer" parent="Topleft"]
[node name="Character4" type="HBoxContainer" parent="CanvasLayer/Topleft"]
layout_mode = 2
[node name="TextureRect" type="TextureRect" parent="Topleft/Character4"]
[node name="TextureRect" type="TextureRect" parent="CanvasLayer/Topleft/Character4"]
custom_minimum_size = Vector2(116, 116)
layout_mode = 2
[node name="VBoxContainer" type="VBoxContainer" parent="Topleft/Character4"]
[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/Topleft/Character4"]
layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="Topleft/Character4/VBoxContainer"]
[node name="HBoxContainer" type="HBoxContainer" parent="CanvasLayer/Topleft/Character4/VBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="Topleft/Character4/VBoxContainer/HBoxContainer"]
[node name="Label" type="Label" parent="CanvasLayer/Topleft/Character4/VBoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(174, 0)
layout_mode = 2
text = "Name"
[node name="Label3" type="Label" parent="Topleft/Character4/VBoxContainer/HBoxContainer"]
[node name="Label3" type="Label" parent="CanvasLayer/Topleft/Character4/VBoxContainer/HBoxContainer"]
layout_mode = 2
text = "R1 + ←"
horizontal_alignment = 2
[node name="HBoxContainer2" type="HBoxContainer" parent="Topleft/Character4/VBoxContainer"]
[node name="HBoxContainer2" type="HBoxContainer" parent="CanvasLayer/Topleft/Character4/VBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="Topleft/Character4/VBoxContainer/HBoxContainer2"]
[node name="Label" type="Label" parent="CanvasLayer/Topleft/Character4/VBoxContainer/HBoxContainer2"]
custom_minimum_size = Vector2(70, 0)
layout_mode = 2
text = "Health"
[node name="ProgressBar" type="ProgressBar" parent="Topleft/Character4/VBoxContainer/HBoxContainer2"]
[node name="ProgressBar" type="ProgressBar" parent="CanvasLayer/Topleft/Character4/VBoxContainer/HBoxContainer2"]
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
theme_override_styles/background = SubResource("StyleBoxFlat_ualpu")
theme_override_styles/fill = SubResource("StyleBoxFlat_patnr")
[node name="Label2" type="Label" parent="Topleft/Character4/VBoxContainer/HBoxContainer2"]
[node name="Label2" type="Label" parent="CanvasLayer/Topleft/Character4/VBoxContainer/HBoxContainer2"]
custom_minimum_size = Vector2(63, 0)
layout_mode = 2
text = "100/100"
horizontal_alignment = 2
[node name="HBoxContainer3" type="HBoxContainer" parent="Topleft/Character4/VBoxContainer"]
[node name="HBoxContainer3" type="HBoxContainer" parent="CanvasLayer/Topleft/Character4/VBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="Topleft/Character4/VBoxContainer/HBoxContainer3"]
[node name="Label" type="Label" parent="CanvasLayer/Topleft/Character4/VBoxContainer/HBoxContainer3"]
custom_minimum_size = Vector2(70, 0)
layout_mode = 2
text = "Stamina"
[node name="ProgressBar" type="ProgressBar" parent="Topleft/Character4/VBoxContainer/HBoxContainer3"]
[node name="ProgressBar" type="ProgressBar" parent="CanvasLayer/Topleft/Character4/VBoxContainer/HBoxContainer3"]
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
theme_override_styles/background = SubResource("StyleBoxFlat_05pau")
theme_override_styles/fill = SubResource("StyleBoxFlat_u3vj7")
[node name="Label2" type="Label" parent="Topleft/Character4/VBoxContainer/HBoxContainer3"]
[node name="Label2" type="Label" parent="CanvasLayer/Topleft/Character4/VBoxContainer/HBoxContainer3"]
custom_minimum_size = Vector2(63, 0)
layout_mode = 2
text = "100/100"
horizontal_alignment = 2
[node name="HBoxContainer4" type="HBoxContainer" parent="Topleft/Character4/VBoxContainer"]
[node name="HBoxContainer4" type="HBoxContainer" parent="CanvasLayer/Topleft/Character4/VBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="Topleft/Character4/VBoxContainer/HBoxContainer4"]
[node name="Label" type="Label" parent="CanvasLayer/Topleft/Character4/VBoxContainer/HBoxContainer4"]
custom_minimum_size = Vector2(70, 0)
layout_mode = 2
text = "Skill"
[node name="ProgressBar" type="ProgressBar" parent="Topleft/Character4/VBoxContainer/HBoxContainer4"]
[node name="ProgressBar" type="ProgressBar" parent="CanvasLayer/Topleft/Character4/VBoxContainer/HBoxContainer4"]
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
theme_override_styles/background = SubResource("StyleBoxFlat_ftyws")
[node name="Label2" type="Label" parent="Topleft/Character4/VBoxContainer/HBoxContainer4"]
[node name="Label2" type="Label" parent="CanvasLayer/Topleft/Character4/VBoxContainer/HBoxContainer4"]
custom_minimum_size = Vector2(63, 0)
layout_mode = 2
text = "100/100"
horizontal_alignment = 2
[node name="ColorRect2" type="ColorRect" parent="Topleft/Character4"]
[node name="ColorRect2" type="ColorRect" parent="CanvasLayer/Topleft/Character4"]
custom_minimum_size = Vector2(12, 64)
layout_mode = 2

View file

@ -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://title.tscn")
get_tree().change_scene_to_file("res://backgounds/disclaimer.tscn")
#get_tree().root.add_child(title)
#get_tree().root.remove_child(boot)
#boot.queue_free()

View file

@ -176,3 +176,6 @@ shape = SubResource("RectangleShape2D_dj8gt")
libraries = {
"": SubResource("AnimationLibrary_mh65y")
}
[node name="Camera2D" type="Camera2D" parent="."]
position = Vector2(0, 57)