minor changes
This commit is contained in:
parent
de54f89abb
commit
ff9cb32d15
2
Main.gd
2
Main.gd
@ -46,7 +46,7 @@ func load_user_data():
|
||||
else:
|
||||
save_game.open_encrypted_with_pass("user://data.save", File.READ, password)
|
||||
$Stats.high_score = int(save_game.get_line())
|
||||
$Stats/HBC/VBC1/HighScore.text = str($Stats.high_score)
|
||||
$Stats/VBC/HighScore.text = str($Stats.high_score)
|
||||
save_game.close()
|
||||
|
||||
func new_game():
|
||||
|
@ -219,7 +219,7 @@ tracks/2/keys = {
|
||||
"values": [ Vector2( 0, 110 ), Vector2( 0, -50 ), Vector2( 0, -60 ), Vector2( 0, -100 ) ]
|
||||
}
|
||||
|
||||
[node name="Main" type="WorldEnvironment" index="0"]
|
||||
[node name="Main" type="WorldEnvironment"]
|
||||
|
||||
environment = SubResource( 2 )
|
||||
script = ExtResource( 2 )
|
||||
|
16
Stats.gd
16
Stats.gd
@ -31,8 +31,8 @@ func new_game():
|
||||
func new_level():
|
||||
level += 1
|
||||
goal += 5 * level
|
||||
$HBC/VBC1/Level.text = str(level)
|
||||
$HBC/VBC1/Goal.text = str(goal)
|
||||
$VBC/Level.text = str(level)
|
||||
$VBC/Goal.text = str(goal)
|
||||
emit_signal("flash_text", "Level\n%d"%level)
|
||||
emit_signal("level_up")
|
||||
|
||||
@ -41,11 +41,11 @@ func _on_Clock_timeout():
|
||||
var seconds = time_elapsed % 60
|
||||
var minutes = int(time_elapsed/60) % 60
|
||||
var hours = int(time_elapsed/3600)
|
||||
$HBC/VBC1/Time.text = str(hours) + ":%02d"%minutes + ":%02d"%seconds
|
||||
$VBC/Time.text = str(hours) + ":%02d"%minutes + ":%02d"%seconds
|
||||
|
||||
func _on_Main_piece_dropped(ds):
|
||||
score += ds
|
||||
$HBC/VBC1/Score.text = str(score)
|
||||
$VBC/Score.text = str(score)
|
||||
|
||||
func _on_Main_piece_locked(lines, t_spin):
|
||||
var ds
|
||||
@ -57,14 +57,14 @@ func _on_Main_piece_locked(lines, t_spin):
|
||||
emit_signal("flash_text", text)
|
||||
ds = SCORES[lines][t_spin]
|
||||
goal -= ds
|
||||
$HBC/VBC1/Goal.text = str(goal)
|
||||
$VBC/Goal.text = str(goal)
|
||||
ds *= 100
|
||||
emit_signal("flash_text", str(ds))
|
||||
score += ds
|
||||
$HBC/VBC1/Score.text = str(score)
|
||||
$VBC/Score.text = str(score)
|
||||
if score > high_score:
|
||||
high_score = score
|
||||
$HBC/VBC1/HighScore.text = str(high_score)
|
||||
$VBC/HighScore.text = str(high_score)
|
||||
# Combos
|
||||
if lines:
|
||||
combos += 1
|
||||
@ -76,7 +76,7 @@ func _on_Main_piece_locked(lines, t_spin):
|
||||
ds = (20 if lines==1 else 50) * combos * level
|
||||
emit_signal("flash_text", str(ds))
|
||||
score += ds
|
||||
$HBC/VBC1/Score.text = str(score)
|
||||
$VBC/Score.text = str(score)
|
||||
else:
|
||||
combos = -1
|
||||
if goal <= 0:
|
||||
|
319
Stats.tscn
319
Stats.tscn
@ -5,7 +5,7 @@
|
||||
|
||||
[sub_resource type="DynamicFont" id=1]
|
||||
|
||||
size = 20
|
||||
size = 22
|
||||
use_mipmaps = false
|
||||
use_filter = false
|
||||
font_data = ExtResource( 2 )
|
||||
@ -13,21 +13,22 @@ _sections_unfolded = [ "Font", "Settings" ]
|
||||
|
||||
[sub_resource type="DynamicFont" id=2]
|
||||
|
||||
size = 18
|
||||
size = 20
|
||||
use_mipmaps = false
|
||||
use_filter = false
|
||||
font_data = ExtResource( 2 )
|
||||
_sections_unfolded = [ "Font", "Settings" ]
|
||||
|
||||
[node name="Stats" type="MarginContainer"]
|
||||
[node name="Stats" type="MarginContainer" index="0"]
|
||||
|
||||
anchor_left = 0.0
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.5
|
||||
margin_left = 20.0
|
||||
margin_right = 134.0
|
||||
margin_bottom = 51.5
|
||||
anchor_left = 0.4
|
||||
anchor_top = 0.6
|
||||
anchor_right = 0.6
|
||||
anchor_bottom = 0.6
|
||||
margin_left = -170.0
|
||||
margin_top = -70.0
|
||||
margin_right = -160.0
|
||||
margin_bottom = 140.0
|
||||
rect_pivot_offset = Vector2( 0, 0 )
|
||||
rect_clip_content = false
|
||||
mouse_filter = 0
|
||||
@ -37,32 +38,22 @@ size_flags_vertical = 0
|
||||
script = ExtResource( 1 )
|
||||
_sections_unfolded = [ "Anchor", "Margin", "Size Flags" ]
|
||||
|
||||
[node name="HBC" type="HBoxContainer" parent="." index="0"]
|
||||
[node name="Clock" type="Timer" parent="." index="0"]
|
||||
|
||||
process_mode = 1
|
||||
wait_time = 1.0
|
||||
one_shot = false
|
||||
autostart = false
|
||||
|
||||
[node name="VBC" type="VBoxContainer" parent="." index="1"]
|
||||
|
||||
anchor_left = 0.0
|
||||
anchor_top = 0.0
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_left = 16.0
|
||||
margin_right = 133.0
|
||||
margin_bottom = 77.0
|
||||
rect_pivot_offset = Vector2( 0, 0 )
|
||||
rect_clip_content = false
|
||||
mouse_filter = 1
|
||||
mouse_default_cursor_shape = 0
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 0
|
||||
alignment = 0
|
||||
_sections_unfolded = [ "Anchor", "Margin", "Size Flags", "Theme" ]
|
||||
|
||||
[node name="VBC0" type="VBoxContainer" parent="HBC" index="0"]
|
||||
|
||||
anchor_left = 0.0
|
||||
anchor_top = 0.0
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_right = 68.0
|
||||
margin_bottom = 77.0
|
||||
margin_right = 94.0
|
||||
margin_bottom = 172.0
|
||||
rect_pivot_offset = Vector2( 0, 0 )
|
||||
rect_clip_content = false
|
||||
mouse_filter = 1
|
||||
@ -73,14 +64,14 @@ custom_constants/separation = 0
|
||||
alignment = 0
|
||||
_sections_unfolded = [ "Anchor", "Margin", "Size Flags", "custom_constants" ]
|
||||
|
||||
[node name="Label" type="Label" parent="HBC/VBC0" index="0"]
|
||||
[node name="Label" type="Label" parent="VBC" index="0"]
|
||||
|
||||
anchor_left = 0.0
|
||||
anchor_top = 0.0
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_right = 68.0
|
||||
margin_bottom = 17.0
|
||||
margin_right = 78.0
|
||||
margin_bottom = 18.0
|
||||
rect_pivot_offset = Vector2( 0, 0 )
|
||||
rect_clip_content = false
|
||||
mouse_filter = 2
|
||||
@ -88,129 +79,22 @@ mouse_default_cursor_shape = 0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 4
|
||||
custom_fonts/font = SubResource( 1 )
|
||||
custom_colors/font_color = Color( 0.443137, 0.709804, 0.819608, 0.533333 )
|
||||
custom_colors/font_color = Color( 0.756214, 0.921978, 0.990234, 1 )
|
||||
text = "Score:"
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
_sections_unfolded = [ "custom_fonts" ]
|
||||
|
||||
[node name="Label2" type="Label" parent="HBC/VBC0" index="1"]
|
||||
[node name="Score" type="Label" parent="VBC" index="1"]
|
||||
|
||||
anchor_left = 0.0
|
||||
anchor_top = 0.0
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_top = 17.0
|
||||
margin_right = 68.0
|
||||
margin_bottom = 32.0
|
||||
rect_pivot_offset = Vector2( 0, 0 )
|
||||
rect_clip_content = false
|
||||
mouse_filter = 2
|
||||
mouse_default_cursor_shape = 0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 4
|
||||
custom_fonts/font = SubResource( 2 )
|
||||
custom_colors/font_color = Color( 0.443137, 0.709804, 0.819608, 0.533333 )
|
||||
text = "High score:"
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
_sections_unfolded = [ "custom_fonts" ]
|
||||
|
||||
[node name="Label3" type="Label" parent="HBC/VBC0" index="2"]
|
||||
|
||||
anchor_left = 0.0
|
||||
anchor_top = 0.0
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_top = 32.0
|
||||
margin_right = 68.0
|
||||
margin_bottom = 47.0
|
||||
rect_pivot_offset = Vector2( 0, 0 )
|
||||
rect_clip_content = false
|
||||
mouse_filter = 2
|
||||
mouse_default_cursor_shape = 0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 4
|
||||
custom_fonts/font = SubResource( 2 )
|
||||
custom_colors/font_color = Color( 0.443137, 0.709804, 0.819608, 0.533333 )
|
||||
text = "Time"
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
|
||||
[node name="Label4" type="Label" parent="HBC/VBC0" index="3"]
|
||||
|
||||
anchor_left = 0.0
|
||||
anchor_top = 0.0
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_top = 47.0
|
||||
margin_right = 68.0
|
||||
margin_bottom = 62.0
|
||||
rect_pivot_offset = Vector2( 0, 0 )
|
||||
rect_clip_content = false
|
||||
mouse_filter = 2
|
||||
mouse_default_cursor_shape = 0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 4
|
||||
custom_fonts/font = SubResource( 2 )
|
||||
custom_colors/font_color = Color( 0.443137, 0.709804, 0.819608, 0.533333 )
|
||||
text = "Level:"
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
|
||||
[node name="Label5" type="Label" parent="HBC/VBC0" index="4"]
|
||||
|
||||
anchor_left = 0.0
|
||||
anchor_top = 0.0
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_top = 62.0
|
||||
margin_right = 68.0
|
||||
margin_bottom = 77.0
|
||||
rect_pivot_offset = Vector2( 0, 0 )
|
||||
rect_clip_content = false
|
||||
mouse_filter = 2
|
||||
mouse_default_cursor_shape = 0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 4
|
||||
custom_fonts/font = SubResource( 2 )
|
||||
custom_colors/font_color = Color( 0.443137, 0.709804, 0.819608, 0.533333 )
|
||||
text = "Goal:"
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
|
||||
[node name="VBC1" type="VBoxContainer" parent="HBC" index="1"]
|
||||
|
||||
anchor_left = 0.0
|
||||
anchor_top = 0.0
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_left = 76.0
|
||||
margin_right = 117.0
|
||||
margin_bottom = 77.0
|
||||
rect_pivot_offset = Vector2( 0, 0 )
|
||||
rect_clip_content = false
|
||||
mouse_filter = 1
|
||||
mouse_default_cursor_shape = 0
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 0
|
||||
custom_constants/separation = 0
|
||||
alignment = 0
|
||||
_sections_unfolded = [ "Anchor", "Grow Direction", "Margin", "Size Flags", "Visibility", "custom_constants" ]
|
||||
|
||||
[node name="Score" type="Label" parent="HBC/VBC1" index="0"]
|
||||
|
||||
anchor_left = 0.0
|
||||
anchor_top = 0.0
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_right = 41.0
|
||||
margin_bottom = 17.0
|
||||
margin_top = 18.0
|
||||
margin_right = 78.0
|
||||
margin_bottom = 36.0
|
||||
rect_pivot_offset = Vector2( 0, 0 )
|
||||
rect_clip_content = false
|
||||
mouse_filter = 2
|
||||
@ -218,22 +102,23 @@ mouse_default_cursor_shape = 0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 4
|
||||
custom_fonts/font = SubResource( 1 )
|
||||
custom_colors/font_color = Color( 0.443137, 0.709804, 0.819608, 0.533333 )
|
||||
custom_colors/font_color = Color( 0.756214, 0.921978, 0.990234, 1 )
|
||||
text = "0"
|
||||
align = 2
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
_sections_unfolded = [ "custom_fonts" ]
|
||||
|
||||
[node name="HighScore" type="Label" parent="HBC/VBC1" index="1"]
|
||||
[node name="Label2" type="Label" parent="VBC" index="2"]
|
||||
|
||||
anchor_left = 0.0
|
||||
anchor_top = 0.0
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_top = 17.0
|
||||
margin_right = 41.0
|
||||
margin_bottom = 32.0
|
||||
margin_top = 36.0
|
||||
margin_right = 78.0
|
||||
margin_bottom = 53.0
|
||||
rect_pivot_offset = Vector2( 0, 0 )
|
||||
rect_clip_content = false
|
||||
mouse_filter = 2
|
||||
@ -241,21 +126,45 @@ mouse_default_cursor_shape = 0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 4
|
||||
custom_fonts/font = SubResource( 2 )
|
||||
custom_colors/font_color = Color( 0.443137, 0.709804, 0.819608, 0.533333 )
|
||||
custom_colors/font_color = Color( 0.756214, 0.921978, 0.990234, 1 )
|
||||
text = "High score:"
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
_sections_unfolded = [ "Anchor", "custom_fonts" ]
|
||||
|
||||
[node name="HighScore" type="Label" parent="VBC" index="3"]
|
||||
|
||||
anchor_left = 0.0
|
||||
anchor_top = 0.0
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_top = 53.0
|
||||
margin_right = 78.0
|
||||
margin_bottom = 70.0
|
||||
rect_pivot_offset = Vector2( 0, 0 )
|
||||
rect_clip_content = false
|
||||
mouse_filter = 2
|
||||
mouse_default_cursor_shape = 0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 4
|
||||
custom_fonts/font = SubResource( 2 )
|
||||
custom_colors/font_color = Color( 0.756214, 0.921978, 0.990234, 1 )
|
||||
text = "0"
|
||||
align = 2
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
|
||||
[node name="Time" type="Label" parent="HBC/VBC1" index="2"]
|
||||
[node name="Label3" type="Label" parent="VBC" index="4"]
|
||||
|
||||
anchor_left = 0.0
|
||||
anchor_top = 0.0
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_top = 32.0
|
||||
margin_right = 41.0
|
||||
margin_bottom = 47.0
|
||||
margin_top = 70.0
|
||||
margin_right = 78.0
|
||||
margin_bottom = 87.0
|
||||
rect_pivot_offset = Vector2( 0, 0 )
|
||||
rect_clip_content = false
|
||||
mouse_filter = 2
|
||||
@ -263,21 +172,44 @@ mouse_default_cursor_shape = 0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 4
|
||||
custom_fonts/font = SubResource( 2 )
|
||||
custom_colors/font_color = Color( 0.443137, 0.709804, 0.819608, 0.533333 )
|
||||
custom_colors/font_color = Color( 0.756214, 0.921978, 0.990234, 1 )
|
||||
text = "Time"
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
|
||||
[node name="Time" type="Label" parent="VBC" index="5"]
|
||||
|
||||
anchor_left = 0.0
|
||||
anchor_top = 0.0
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_top = 87.0
|
||||
margin_right = 78.0
|
||||
margin_bottom = 104.0
|
||||
rect_pivot_offset = Vector2( 0, 0 )
|
||||
rect_clip_content = false
|
||||
mouse_filter = 2
|
||||
mouse_default_cursor_shape = 0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 4
|
||||
custom_fonts/font = SubResource( 2 )
|
||||
custom_colors/font_color = Color( 0.756214, 0.921978, 0.990234, 1 )
|
||||
text = "0:00:00"
|
||||
align = 2
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
|
||||
[node name="Level" type="Label" parent="HBC/VBC1" index="3"]
|
||||
[node name="Label4" type="Label" parent="VBC" index="6"]
|
||||
|
||||
anchor_left = 0.0
|
||||
anchor_top = 0.0
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_top = 47.0
|
||||
margin_right = 41.0
|
||||
margin_bottom = 62.0
|
||||
margin_top = 104.0
|
||||
margin_right = 78.0
|
||||
margin_bottom = 121.0
|
||||
rect_pivot_offset = Vector2( 0, 0 )
|
||||
rect_clip_content = false
|
||||
mouse_filter = 2
|
||||
@ -285,21 +217,21 @@ mouse_default_cursor_shape = 0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 4
|
||||
custom_fonts/font = SubResource( 2 )
|
||||
custom_colors/font_color = Color( 0.443137, 0.709804, 0.819608, 0.533333 )
|
||||
text = "0"
|
||||
custom_colors/font_color = Color( 0.756214, 0.921978, 0.990234, 1 )
|
||||
text = "Level:"
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
|
||||
[node name="Goal" type="Label" parent="HBC/VBC1" index="4"]
|
||||
[node name="Level" type="Label" parent="VBC" index="7"]
|
||||
|
||||
anchor_left = 0.0
|
||||
anchor_top = 0.0
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_top = 62.0
|
||||
margin_right = 41.0
|
||||
margin_bottom = 77.0
|
||||
margin_top = 121.0
|
||||
margin_right = 78.0
|
||||
margin_bottom = 138.0
|
||||
rect_pivot_offset = Vector2( 0, 0 )
|
||||
rect_clip_content = false
|
||||
mouse_filter = 2
|
||||
@ -307,20 +239,59 @@ mouse_default_cursor_shape = 0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 4
|
||||
custom_fonts/font = SubResource( 2 )
|
||||
custom_colors/font_color = Color( 0.443137, 0.709804, 0.819608, 0.533333 )
|
||||
custom_colors/font_color = Color( 0.756214, 0.921978, 0.990234, 1 )
|
||||
text = "0"
|
||||
align = 2
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
|
||||
[node name="Label5" type="Label" parent="VBC" index="8"]
|
||||
|
||||
anchor_left = 0.0
|
||||
anchor_top = 0.0
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_top = 138.0
|
||||
margin_right = 78.0
|
||||
margin_bottom = 155.0
|
||||
rect_pivot_offset = Vector2( 0, 0 )
|
||||
rect_clip_content = false
|
||||
mouse_filter = 2
|
||||
mouse_default_cursor_shape = 0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 4
|
||||
custom_fonts/font = SubResource( 2 )
|
||||
custom_colors/font_color = Color( 0.756214, 0.921978, 0.990234, 1 )
|
||||
text = "Goal:"
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
|
||||
[node name="Goal" type="Label" parent="VBC" index="9"]
|
||||
|
||||
anchor_left = 0.0
|
||||
anchor_top = 0.0
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_top = 155.0
|
||||
margin_right = 78.0
|
||||
margin_bottom = 172.0
|
||||
rect_pivot_offset = Vector2( 0, 0 )
|
||||
rect_clip_content = false
|
||||
mouse_filter = 2
|
||||
mouse_default_cursor_shape = 0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 4
|
||||
custom_fonts/font = SubResource( 2 )
|
||||
custom_colors/font_color = Color( 0.756214, 0.921978, 0.990234, 1 )
|
||||
text = "0"
|
||||
align = 2
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
_sections_unfolded = [ "custom_fonts" ]
|
||||
|
||||
[node name="Clock" type="Timer" parent="." index="1"]
|
||||
|
||||
process_mode = 1
|
||||
wait_time = 1.0
|
||||
one_shot = false
|
||||
autostart = false
|
||||
|
||||
[connection signal="timeout" from="Clock" to="." method="_on_Clock_timeout"]
|
||||
|
||||
|
||||
|
@ -162,7 +162,7 @@ subdivide_width = 0
|
||||
subdivide_height = 0
|
||||
subdivide_depth = 0
|
||||
|
||||
[node name="Mino" type="Spatial" index="0"]
|
||||
[node name="Mino" type="Spatial"]
|
||||
|
||||
transform = Transform( 0.997027, 0, 0, 0, 0.997027, 0, 0, 0, 0.997027, 0, 0, 0 )
|
||||
_sections_unfolded = [ "Pause", "Transform", "Visibility" ]
|
||||
@ -207,7 +207,7 @@ _sections_unfolded = [ "Draw Passes", "Drawing", "Geometry", "LOD", "Process Mat
|
||||
transform = Transform( 1, 0, 0, 0, -4.37114e-008, 1, 0, -1, -4.37114e-008, 0, 0, 0.5 )
|
||||
layers = 1
|
||||
light_color = Color( 1, 1, 1, 1 )
|
||||
light_energy = 4.0
|
||||
light_energy = 8.0
|
||||
light_indirect_energy = 1.0
|
||||
light_negative = false
|
||||
light_specular = 0.5
|
||||
|
@ -31,7 +31,7 @@ extra_spacing_top = -4
|
||||
font_data = ExtResource( 3 )
|
||||
_sections_unfolded = [ "Extra Spacing", "Font", "Settings" ]
|
||||
|
||||
[node name="controls_ui" type="Control" index="0"]
|
||||
[node name="controls_ui" type="Control"]
|
||||
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
@ -158,7 +158,7 @@ anchor_top = 0.0
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_left = 80.0
|
||||
margin_right = 150.0
|
||||
margin_right = 155.0
|
||||
margin_bottom = 37.0
|
||||
rect_pivot_offset = Vector2( 0, 0 )
|
||||
rect_clip_content = false
|
||||
@ -225,7 +225,7 @@ anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_left = 84.0
|
||||
margin_top = -1.0
|
||||
margin_right = 154.0
|
||||
margin_right = 159.0
|
||||
margin_bottom = 36.0
|
||||
rect_pivot_offset = Vector2( 0, 0 )
|
||||
rect_clip_content = false
|
||||
@ -288,7 +288,7 @@ anchor_top = 0.0
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_left = 80.0
|
||||
margin_right = 150.0
|
||||
margin_right = 155.0
|
||||
margin_bottom = 37.0
|
||||
rect_pivot_offset = Vector2( 0, 0 )
|
||||
rect_clip_content = false
|
||||
@ -355,7 +355,7 @@ anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_left = 84.0
|
||||
margin_top = -1.0
|
||||
margin_right = 154.0
|
||||
margin_right = 159.0
|
||||
margin_bottom = 36.0
|
||||
rect_pivot_offset = Vector2( 0, 0 )
|
||||
rect_clip_content = false
|
||||
@ -419,7 +419,7 @@ anchor_top = 0.0
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_left = 80.0
|
||||
margin_right = 150.0
|
||||
margin_right = 155.0
|
||||
margin_bottom = 37.0
|
||||
rect_pivot_offset = Vector2( 0, 0 )
|
||||
rect_clip_content = false
|
||||
@ -485,7 +485,7 @@ anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_left = 84.0
|
||||
margin_top = -1.0
|
||||
margin_right = 154.0
|
||||
margin_right = 159.0
|
||||
margin_bottom = 36.0
|
||||
rect_pivot_offset = Vector2( 0, 0 )
|
||||
rect_clip_content = false
|
||||
@ -526,7 +526,7 @@ anchor_top = 0.0
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_right = 55.0
|
||||
margin_bottom = 25.0
|
||||
margin_bottom = 40.0
|
||||
rect_pivot_offset = Vector2( 0, 0 )
|
||||
rect_clip_content = false
|
||||
mouse_filter = 2
|
||||
@ -547,7 +547,7 @@ anchor_top = 0.0
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_left = 80.0
|
||||
margin_right = 150.0
|
||||
margin_right = 155.0
|
||||
margin_bottom = 37.0
|
||||
rect_pivot_offset = Vector2( 0, 0 )
|
||||
rect_clip_content = false
|
||||
@ -614,7 +614,7 @@ anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_left = 84.0
|
||||
margin_top = -1.0
|
||||
margin_right = 154.0
|
||||
margin_right = 159.0
|
||||
margin_bottom = 36.0
|
||||
rect_pivot_offset = Vector2( 0, 0 )
|
||||
rect_clip_content = false
|
||||
|
@ -25,11 +25,11 @@ theme/use_hidpi=true
|
||||
|
||||
[input]
|
||||
|
||||
hold=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":87,"unicode":0,"echo":false,"script":null)
|
||||
hold=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777237,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
pause=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777217,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
hard_drop=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777238,"unicode":0,"echo":false,"script":null)
|
||||
hard_drop=[ 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,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
move_left=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777231,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
@ -39,5 +39,5 @@ move_right=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name
|
||||
]
|
||||
rotate_clockwise=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777232,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
rotate_counterclockwise=[ 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,"unicode":0,"echo":false,"script":null)
|
||||
rotate_counterclockwise=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777238,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user