Compare commits
23 Commits
Author | SHA1 | Date | |
---|---|---|---|
bdbeb399d5 | |||
976bc01c20 | |||
4424107f16 | |||
bdba103417 | |||
9e42789e1e | |||
667cde38a1 | |||
f2655a075e | |||
92b97dbfb3 | |||
ac6e561c3d | |||
6e75bcf968 | |||
a9118f0563 | |||
33f7994997 | |||
c4ce4af524 | |||
1df8562765 | |||
9d43e6346d | |||
cdec5e6c2e | |||
cad0577e54 | |||
e6d4ef2c67 | |||
d1bc3ac764 | |||
b79413f85c | |||
33ad2357ad | |||
57d3cf0a35 | |||
cf63698dde |
2
.gitignore
vendored
2
.gitignore
vendored
@ -11,3 +11,5 @@ midi/FluidR3 GM.sf2
|
|||||||
release/
|
release/
|
||||||
*.import
|
*.import
|
||||||
*.tmp
|
*.tmp
|
||||||
|
|
||||||
|
desktop.ini
|
||||||
|
@ -10,7 +10,5 @@ func print(text):
|
|||||||
$AnimationPlayer.play("Flash")
|
$AnimationPlayer.play("Flash")
|
||||||
|
|
||||||
func _on_AnimationPlayer_animation_finished(anim_name):
|
func _on_AnimationPlayer_animation_finished(anim_name):
|
||||||
texts = PoolStringArray()
|
texts.resize(0)
|
||||||
|
|
||||||
func _on_Stats_flash_text(text):
|
|
||||||
self.print(text)
|
|
||||||
|
@ -43,10 +43,10 @@ func new_game(level):
|
|||||||
func new_piece():
|
func new_piece():
|
||||||
current_piece = next_piece
|
current_piece = next_piece
|
||||||
current_piece.translation = $Matrix/Position3D.translation
|
current_piece.translation = $Matrix/Position3D.translation
|
||||||
current_piece.emit_trail(true)
|
current_piece.move_ghost()
|
||||||
next_piece = random_piece()
|
next_piece = random_piece()
|
||||||
next_piece.translation = $Next/Position3D.translation
|
next_piece.translation = $Next/Position3D.translation
|
||||||
if current_piece.move(THERE):
|
if $Matrix/GridMap.possible_positions(current_piece.get_translations(), THERE):
|
||||||
$DropTimer.start()
|
$DropTimer.start()
|
||||||
current_piece_held = false
|
current_piece_held = false
|
||||||
else:
|
else:
|
||||||
@ -66,7 +66,7 @@ func random_piece():
|
|||||||
|
|
||||||
func new_level(level):
|
func new_level(level):
|
||||||
if level <= 15:
|
if level <= 15:
|
||||||
$DropTimer.wait_time = pow(0.8 - ((level - 1) * 0.007), level - 1)
|
$DropTimer.wait_time = pow(0.8 - ((level-1)*0.007), level-1)
|
||||||
else:
|
else:
|
||||||
$LockDelay.wait_time = 0.5 * pow(0.9, level-15)
|
$LockDelay.wait_time = 0.5 * pow(0.9, level-15)
|
||||||
|
|
||||||
@ -125,19 +125,21 @@ func hard_drop():
|
|||||||
$Stats.piece_dropped(score)
|
$Stats.piece_dropped(score)
|
||||||
var translations = current_piece.get_translations()
|
var translations = current_piece.get_translations()
|
||||||
for i in range(Tetromino.NB_MINOES):
|
for i in range(Tetromino.NB_MINOES):
|
||||||
get_node("DropTrail/"+str(i)).translation = translations[i]
|
get_node("Matrix/DropTrail/"+str(i)).translation = translations[i]
|
||||||
$DropTrail.visible = true
|
$Matrix/DropTrail.visible = true
|
||||||
$DropTrail/Delay.start()
|
$Matrix/DropTrail/Delay.start()
|
||||||
$LockDelay.stop()
|
$LockDelay.stop()
|
||||||
lock()
|
lock()
|
||||||
|
|
||||||
func _on_DropTrailDelay_timeout():
|
func _on_DropTrailDelay_timeout():
|
||||||
$DropTrail.visible = false
|
$Matrix/DropTrail.visible = false
|
||||||
|
|
||||||
func _on_DropTimer_timeout():
|
func _on_DropTimer_timeout():
|
||||||
if not current_piece.move(movements["soft_drop"]):
|
current_piece.move(movements["soft_drop"])
|
||||||
if $LockDelay.is_stopped():
|
|
||||||
lock()
|
func _on_LockDelay_timeout():
|
||||||
|
if not $Matrix/GridMap.possible_positions(current_piece.get_translations(), movements["soft_drop"]):
|
||||||
|
lock()
|
||||||
|
|
||||||
func lock():
|
func lock():
|
||||||
if $Matrix/GridMap.lock(current_piece):
|
if $Matrix/GridMap.lock(current_piece):
|
||||||
@ -157,18 +159,18 @@ func hold():
|
|||||||
var swap = current_piece
|
var swap = current_piece
|
||||||
current_piece = held_piece
|
current_piece = held_piece
|
||||||
held_piece = swap
|
held_piece = swap
|
||||||
held_piece.emit_trail(false)
|
for mino in held_piece.minoes:
|
||||||
|
mino.get_node("LockingMesh").visible = false
|
||||||
held_piece.translation = $Hold/Position3D.translation
|
held_piece.translation = $Hold/Position3D.translation
|
||||||
if current_piece:
|
if current_piece:
|
||||||
current_piece.translation = $Matrix/Position3D.translation
|
current_piece.translation = $Matrix/Position3D.translation
|
||||||
current_piece.emit_trail(true)
|
current_piece.move_ghost()
|
||||||
else:
|
else:
|
||||||
new_piece()
|
new_piece()
|
||||||
|
|
||||||
func resume():
|
func resume():
|
||||||
playing = true
|
playing = true
|
||||||
$DropTimer.start()
|
$DropTimer.start()
|
||||||
$LockDelay.start()
|
|
||||||
$Stats.time = OS.get_system_time_secs() - $Stats.time
|
$Stats.time = OS.get_system_time_secs() - $Stats.time
|
||||||
$Stats/Clock.start()
|
$Stats/Clock.start()
|
||||||
$MidiPlayer.resume()
|
$MidiPlayer.resume()
|
||||||
@ -179,6 +181,7 @@ func resume():
|
|||||||
$Hold.visible = true
|
$Hold.visible = true
|
||||||
$Next.visible = true
|
$Next.visible = true
|
||||||
current_piece.visible = true
|
current_piece.visible = true
|
||||||
|
$Ghost.visible = true
|
||||||
if held_piece:
|
if held_piece:
|
||||||
held_piece.visible = true
|
held_piece.visible = true
|
||||||
next_piece.visible = true
|
next_piece.visible = true
|
||||||
@ -200,13 +203,13 @@ func pause(gui=null):
|
|||||||
$Hold.visible = false
|
$Hold.visible = false
|
||||||
$Next.visible = false
|
$Next.visible = false
|
||||||
current_piece.visible = false
|
current_piece.visible = false
|
||||||
|
$Ghost.visible = false
|
||||||
if held_piece:
|
if held_piece:
|
||||||
held_piece.visible = false
|
held_piece.visible = false
|
||||||
next_piece.visible = false
|
next_piece.visible = false
|
||||||
|
|
||||||
func game_over():
|
func game_over():
|
||||||
pause()
|
pause()
|
||||||
current_piece.emit_trail(false)
|
|
||||||
$FlashText.print("GAME\nOVER")
|
$FlashText.print("GAME\nOVER")
|
||||||
$ReplayButton.visible = true
|
$ReplayButton.visible = true
|
||||||
|
|
||||||
|
381
source/Main.tscn
381
source/Main.tscn
@ -1,19 +1,20 @@
|
|||||||
[gd_scene load_steps=21 format=2]
|
[gd_scene load_steps=22 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://Environment.tres" type="Environment" id=1]
|
[ext_resource path="res://Environment.tres" type="Environment" id=1]
|
||||||
[ext_resource path="res://Main.gd" type="Script" id=2]
|
[ext_resource path="res://Main.gd" type="Script" id=2]
|
||||||
[ext_resource path="res://aperture-vintage-472251-unsplash.jpg" type="Texture" id=3]
|
[ext_resource path="res://aperture-vintage-472251-unsplash.jpg" type="Texture" id=3]
|
||||||
[ext_resource path="res://Tetrominos/Mino/MinoLibrary.tres" type="MeshLibrary" id=4]
|
[ext_resource path="res://Tetrominos/Mino/MinoLibrary.tres" type="MeshLibrary" id=4]
|
||||||
[ext_resource path="res://GridMap.gd" type="Script" id=5]
|
[ext_resource path="res://GridMap.gd" type="Script" id=5]
|
||||||
[ext_resource path="res://midi/MidiPlayer.tscn" type="PackedScene" id=6]
|
[ext_resource path="res://Tetrominos/Mino/drop_trail.png" type="Texture" id=6]
|
||||||
[ext_resource path="res://MidiPlayer.gd" type="Script" id=7]
|
[ext_resource path="res://midi/MidiPlayer.tscn" type="PackedScene" id=7]
|
||||||
[ext_resource path="res://FlashText.gd" type="Script" id=8]
|
[ext_resource path="res://MidiPlayer.gd" type="Script" id=8]
|
||||||
[ext_resource path="res://fonts/525-ROUN.TTF" type="DynamicFontData" id=9]
|
[ext_resource path="res://FlashText.gd" type="Script" id=9]
|
||||||
[ext_resource path="res://Stats.tscn" type="PackedScene" id=10]
|
[ext_resource path="res://fonts/525-ROUN.TTF" type="DynamicFontData" id=10]
|
||||||
[ext_resource path="res://controls.tscn" type="PackedScene" id=11]
|
[ext_resource path="res://Stats.tscn" type="PackedScene" id=11]
|
||||||
[ext_resource path="res://Start.tscn" type="PackedScene" id=12]
|
[ext_resource path="res://controls.tscn" type="PackedScene" id=12]
|
||||||
[ext_resource path="res://fonts/Gamer.ttf" type="DynamicFontData" id=13]
|
[ext_resource path="res://Start.tscn" type="PackedScene" id=13]
|
||||||
[ext_resource path="res://Tetrominos/drop_trail.png" type="Texture" id=14]
|
[ext_resource path="res://fonts/Gamer.ttf" type="DynamicFontData" id=14]
|
||||||
|
[ext_resource path="res://Tetrominos/Ghost.tscn" type="PackedScene" id=15]
|
||||||
|
|
||||||
[sub_resource type="SpatialMaterial" id=1]
|
[sub_resource type="SpatialMaterial" id=1]
|
||||||
|
|
||||||
@ -66,7 +67,7 @@ uv2_triplanar_sharpness = 1.0
|
|||||||
proximity_fade_enable = true
|
proximity_fade_enable = true
|
||||||
proximity_fade_distance = 1.0
|
proximity_fade_distance = 1.0
|
||||||
distance_fade_enable = false
|
distance_fade_enable = false
|
||||||
_sections_unfolded = [ "Albedo", "Emission", "Flags", "Metallic", "NormalMap", "Proximity Fade" ]
|
_sections_unfolded = [ "Albedo", "Anisotropy", "Clearcoat", "Detail", "Distance Fade", "Emission", "Flags", "Metallic", "NormalMap", "Parameters", "Proximity Fade", "Rim", "Roughness" ]
|
||||||
|
|
||||||
[sub_resource type="CubeMesh" id=2]
|
[sub_resource type="CubeMesh" id=2]
|
||||||
|
|
||||||
@ -88,10 +89,10 @@ subdivide_depth = 0
|
|||||||
|
|
||||||
[sub_resource type="DynamicFont" id=4]
|
[sub_resource type="DynamicFont" id=4]
|
||||||
|
|
||||||
size = 30
|
size = 50
|
||||||
use_mipmaps = true
|
use_mipmaps = true
|
||||||
use_filter = false
|
use_filter = false
|
||||||
font_data = ExtResource( 9 )
|
font_data = ExtResource( 10 )
|
||||||
_sections_unfolded = [ "Font", "Settings" ]
|
_sections_unfolded = [ "Font", "Settings" ]
|
||||||
|
|
||||||
[sub_resource type="Animation" id=5]
|
[sub_resource type="Animation" id=5]
|
||||||
@ -143,7 +144,7 @@ size = 20
|
|||||||
use_mipmaps = false
|
use_mipmaps = false
|
||||||
use_filter = false
|
use_filter = false
|
||||||
extra_spacing_bottom = 5
|
extra_spacing_bottom = 5
|
||||||
font_data = ExtResource( 13 )
|
font_data = ExtResource( 14 )
|
||||||
_sections_unfolded = [ "Extra Spacing", "Font", "Settings" ]
|
_sections_unfolded = [ "Extra Spacing", "Font", "Settings" ]
|
||||||
|
|
||||||
[node name="Main" type="WorldEnvironment" index="0"]
|
[node name="Main" type="WorldEnvironment" index="0"]
|
||||||
@ -153,7 +154,7 @@ script = ExtResource( 2 )
|
|||||||
|
|
||||||
[node name="Background" type="Sprite3D" parent="." index="0"]
|
[node name="Background" type="Sprite3D" parent="." index="0"]
|
||||||
|
|
||||||
transform = Transform( 12.8, 0, 0, 0, 8.53, 0, 0, 0, 1, 4.5, 25, -32 )
|
transform = Transform( 12.8, 0, 0, 0, 8.53, 0, 0, 0, 1, 4.5, 28.8, -34 )
|
||||||
layers = 1
|
layers = 1
|
||||||
material_override = null
|
material_override = null
|
||||||
cast_shadow = 1
|
cast_shadow = 1
|
||||||
@ -185,7 +186,7 @@ _sections_unfolded = [ "Animation", "Flags", "Geometry", "Transform" ]
|
|||||||
|
|
||||||
[node name="Camera" type="Camera" parent="." index="1"]
|
[node name="Camera" type="Camera" parent="." index="1"]
|
||||||
|
|
||||||
transform = Transform( 1, 0, 0, 0, 0.939693, -0.34202, 0, 0.34202, 0.939693, 4.5, 2, 17 )
|
transform = Transform( 1, 0, 0, 0, 0.939693, -0.34202, 0, 0.34202, 0.939693, 4.5, 2, 19 )
|
||||||
keep_aspect = 1
|
keep_aspect = 1
|
||||||
cull_mask = 1048575
|
cull_mask = 1048575
|
||||||
environment = null
|
environment = null
|
||||||
@ -273,6 +274,167 @@ __meta__ = {
|
|||||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 5, 20, 0 )
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 5, 20, 0 )
|
||||||
_sections_unfolded = [ "Transform" ]
|
_sections_unfolded = [ "Transform" ]
|
||||||
|
|
||||||
|
[node name="DropTrail" type="Spatial" parent="Matrix" index="2"]
|
||||||
|
|
||||||
|
editor/display_folded = true
|
||||||
|
transform = Transform( 0.1, 0, 0, 0, 0.05, 0, 0, 0, 1, -0.45, -0.475, 0 )
|
||||||
|
visible = false
|
||||||
|
_sections_unfolded = [ "Transform" ]
|
||||||
|
|
||||||
|
[node name="0" type="Spatial" parent="Matrix/DropTrail" index="0"]
|
||||||
|
|
||||||
|
_sections_unfolded = [ "Transform" ]
|
||||||
|
|
||||||
|
[node name="Sprite" type="Sprite3D" parent="Matrix/DropTrail/0" index="0"]
|
||||||
|
|
||||||
|
transform = Transform( 1.5, 0, 0, 0, 5, 0, 0, 0, 1, 0, 8, 0 )
|
||||||
|
layers = 1
|
||||||
|
material_override = null
|
||||||
|
cast_shadow = 1
|
||||||
|
extra_cull_margin = 0.0
|
||||||
|
use_in_baked_light = false
|
||||||
|
lod_min_distance = 0.0
|
||||||
|
lod_min_hysteresis = 0.0
|
||||||
|
lod_max_distance = 0.0
|
||||||
|
lod_max_hysteresis = 0.0
|
||||||
|
centered = true
|
||||||
|
offset = Vector2( 0, 0 )
|
||||||
|
flip_h = false
|
||||||
|
flip_v = false
|
||||||
|
modulate = Color( 1, 1, 1, 1 )
|
||||||
|
opacity = 0.1
|
||||||
|
pixel_size = 0.01
|
||||||
|
axis = 2
|
||||||
|
transparent = true
|
||||||
|
shaded = false
|
||||||
|
double_sided = true
|
||||||
|
alpha_cut = 0
|
||||||
|
texture = ExtResource( 6 )
|
||||||
|
vframes = 1
|
||||||
|
hframes = 1
|
||||||
|
frame = 0
|
||||||
|
region_enabled = false
|
||||||
|
region_rect = Rect2( 0, 0, 0, 0 )
|
||||||
|
_sections_unfolded = [ "Flags", "Transform" ]
|
||||||
|
|
||||||
|
[node name="1" type="Spatial" parent="Matrix/DropTrail" index="1"]
|
||||||
|
|
||||||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, 0 )
|
||||||
|
_sections_unfolded = [ "Transform" ]
|
||||||
|
|
||||||
|
[node name="Sprite" type="Sprite3D" parent="Matrix/DropTrail/1" index="0"]
|
||||||
|
|
||||||
|
transform = Transform( 1.5, 0, 0, 0, 5, 0, 0, 0, 1, 0, 8, 0 )
|
||||||
|
layers = 1
|
||||||
|
material_override = null
|
||||||
|
cast_shadow = 1
|
||||||
|
extra_cull_margin = 0.0
|
||||||
|
use_in_baked_light = false
|
||||||
|
lod_min_distance = 0.0
|
||||||
|
lod_min_hysteresis = 0.0
|
||||||
|
lod_max_distance = 0.0
|
||||||
|
lod_max_hysteresis = 0.0
|
||||||
|
centered = true
|
||||||
|
offset = Vector2( 0, 0 )
|
||||||
|
flip_h = false
|
||||||
|
flip_v = false
|
||||||
|
modulate = Color( 1, 1, 1, 1 )
|
||||||
|
opacity = 0.1
|
||||||
|
pixel_size = 0.01
|
||||||
|
axis = 2
|
||||||
|
transparent = true
|
||||||
|
shaded = false
|
||||||
|
double_sided = true
|
||||||
|
alpha_cut = 0
|
||||||
|
texture = ExtResource( 6 )
|
||||||
|
vframes = 1
|
||||||
|
hframes = 1
|
||||||
|
frame = 0
|
||||||
|
region_enabled = false
|
||||||
|
region_rect = Rect2( 0, 0, 0, 0 )
|
||||||
|
_sections_unfolded = [ "Flags", "Transform" ]
|
||||||
|
|
||||||
|
[node name="2" type="Spatial" parent="Matrix/DropTrail" index="2"]
|
||||||
|
|
||||||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0 )
|
||||||
|
_sections_unfolded = [ "Transform" ]
|
||||||
|
|
||||||
|
[node name="Sprite" type="Sprite3D" parent="Matrix/DropTrail/2" index="0"]
|
||||||
|
|
||||||
|
transform = Transform( 1.5, 0, 0, 0, 5, 0, 0, 0, 1, 0, 8, 0 )
|
||||||
|
layers = 1
|
||||||
|
material_override = null
|
||||||
|
cast_shadow = 1
|
||||||
|
extra_cull_margin = 0.0
|
||||||
|
use_in_baked_light = false
|
||||||
|
lod_min_distance = 0.0
|
||||||
|
lod_min_hysteresis = 0.0
|
||||||
|
lod_max_distance = 0.0
|
||||||
|
lod_max_hysteresis = 0.0
|
||||||
|
centered = true
|
||||||
|
offset = Vector2( 0, 0 )
|
||||||
|
flip_h = false
|
||||||
|
flip_v = false
|
||||||
|
modulate = Color( 1, 1, 1, 1 )
|
||||||
|
opacity = 0.1
|
||||||
|
pixel_size = 0.01
|
||||||
|
axis = 2
|
||||||
|
transparent = true
|
||||||
|
shaded = false
|
||||||
|
double_sided = true
|
||||||
|
alpha_cut = 0
|
||||||
|
texture = ExtResource( 6 )
|
||||||
|
vframes = 1
|
||||||
|
hframes = 1
|
||||||
|
frame = 0
|
||||||
|
region_enabled = false
|
||||||
|
region_rect = Rect2( 0, 0, 0, 0 )
|
||||||
|
_sections_unfolded = [ "Flags", "Transform" ]
|
||||||
|
|
||||||
|
[node name="3" type="Spatial" parent="Matrix/DropTrail" index="3"]
|
||||||
|
|
||||||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
|
||||||
|
_sections_unfolded = [ "Transform" ]
|
||||||
|
|
||||||
|
[node name="Sprite" type="Sprite3D" parent="Matrix/DropTrail/3" index="0"]
|
||||||
|
|
||||||
|
transform = Transform( 1.5, 0, 0, 0, 5, 0, 0, 0, 1, 0, 8, 0 )
|
||||||
|
layers = 1
|
||||||
|
material_override = null
|
||||||
|
cast_shadow = 1
|
||||||
|
extra_cull_margin = 0.0
|
||||||
|
use_in_baked_light = false
|
||||||
|
lod_min_distance = 0.0
|
||||||
|
lod_min_hysteresis = 0.0
|
||||||
|
lod_max_distance = 0.0
|
||||||
|
lod_max_hysteresis = 0.0
|
||||||
|
centered = true
|
||||||
|
offset = Vector2( 0, 0 )
|
||||||
|
flip_h = false
|
||||||
|
flip_v = false
|
||||||
|
modulate = Color( 1, 1, 1, 1 )
|
||||||
|
opacity = 0.1
|
||||||
|
pixel_size = 0.01
|
||||||
|
axis = 2
|
||||||
|
transparent = true
|
||||||
|
shaded = false
|
||||||
|
double_sided = true
|
||||||
|
alpha_cut = 0
|
||||||
|
texture = ExtResource( 6 )
|
||||||
|
vframes = 1
|
||||||
|
hframes = 1
|
||||||
|
frame = 0
|
||||||
|
region_enabled = false
|
||||||
|
region_rect = Rect2( 0, 0, 0, 0 )
|
||||||
|
_sections_unfolded = [ "Flags", "Transform" ]
|
||||||
|
|
||||||
|
[node name="Delay" type="Timer" parent="Matrix/DropTrail" index="4"]
|
||||||
|
|
||||||
|
process_mode = 1
|
||||||
|
wait_time = 0.06
|
||||||
|
one_shot = true
|
||||||
|
autostart = false
|
||||||
|
|
||||||
[node name="Hold" type="MeshInstance" parent="." index="4"]
|
[node name="Hold" type="MeshInstance" parent="." index="4"]
|
||||||
|
|
||||||
transform = Transform( 7, 0, 0, 0, 7, 0, 0, 0, 1, -5, 16, 0 )
|
transform = Transform( 7, 0, 0, 0, 7, 0, 0, 0, 1, -5, 16, 0 )
|
||||||
@ -347,15 +509,14 @@ wait_time = 0.03
|
|||||||
one_shot = false
|
one_shot = false
|
||||||
autostart = false
|
autostart = false
|
||||||
|
|
||||||
[node name="MidiPlayer" parent="." index="10" instance=ExtResource( 6 )]
|
[node name="MidiPlayer" parent="." index="10" instance=ExtResource( 7 )]
|
||||||
|
|
||||||
editor/display_folded = true
|
editor/display_folded = true
|
||||||
script = ExtResource( 7 )
|
script = ExtResource( 8 )
|
||||||
_sections_unfolded = [ "Pause" ]
|
_sections_unfolded = [ "Pause" ]
|
||||||
file = "res://midi/Korobeiniki.mid"
|
file = "res://midi/music-a-dance-remix-.mid"
|
||||||
volume_db = -24
|
volume_db = -24
|
||||||
loop = true
|
loop = true
|
||||||
loop_start = 1.81
|
|
||||||
soundfont = "res://midi/TimGM6mb.sf2"
|
soundfont = "res://midi/TimGM6mb.sf2"
|
||||||
|
|
||||||
[node name="LineCLearTimer" type="Timer" parent="MidiPlayer" index="1"]
|
[node name="LineCLearTimer" type="Timer" parent="MidiPlayer" index="1"]
|
||||||
@ -372,17 +533,17 @@ anchor_top = 0.5
|
|||||||
anchor_right = 0.5
|
anchor_right = 0.5
|
||||||
anchor_bottom = 0.5
|
anchor_bottom = 0.5
|
||||||
margin_left = -250.0
|
margin_left = -250.0
|
||||||
margin_top = -250.0
|
margin_top = -300.0
|
||||||
margin_right = 250.0
|
margin_right = 250.0
|
||||||
margin_bottom = 250.0
|
margin_bottom = 200.0
|
||||||
rect_pivot_offset = Vector2( 0, 0 )
|
rect_pivot_offset = Vector2( 0, 0 )
|
||||||
rect_clip_content = false
|
rect_clip_content = false
|
||||||
mouse_filter = 0
|
mouse_filter = 0
|
||||||
mouse_default_cursor_shape = 0
|
mouse_default_cursor_shape = 0
|
||||||
size_flags_horizontal = 1
|
size_flags_horizontal = 1
|
||||||
size_flags_vertical = 1
|
size_flags_vertical = 1
|
||||||
script = ExtResource( 8 )
|
script = ExtResource( 9 )
|
||||||
_sections_unfolded = [ "Material", "Size Flags", "Theme" ]
|
_sections_unfolded = [ "Material", "Rect", "Size Flags", "Theme" ]
|
||||||
|
|
||||||
[node name="Label" type="Label" parent="FlashText" index="0"]
|
[node name="Label" type="Label" parent="FlashText" index="0"]
|
||||||
|
|
||||||
@ -390,9 +551,9 @@ anchor_left = 0.0
|
|||||||
anchor_top = 0.0
|
anchor_top = 0.0
|
||||||
anchor_right = 0.0
|
anchor_right = 0.0
|
||||||
anchor_bottom = 0.0
|
anchor_bottom = 0.0
|
||||||
margin_top = 190.0
|
margin_top = -100.0
|
||||||
margin_right = 500.0
|
margin_right = 500.0
|
||||||
margin_bottom = 690.0
|
margin_bottom = 400.0
|
||||||
rect_pivot_offset = Vector2( 0, 0 )
|
rect_pivot_offset = Vector2( 0, 0 )
|
||||||
rect_clip_content = false
|
rect_clip_content = false
|
||||||
mouse_filter = 2
|
mouse_filter = 2
|
||||||
@ -419,7 +580,7 @@ anims/Flash = SubResource( 5 )
|
|||||||
blend_times = [ ]
|
blend_times = [ ]
|
||||||
_sections_unfolded = [ "Playback Options" ]
|
_sections_unfolded = [ "Playback Options" ]
|
||||||
|
|
||||||
[node name="Stats" parent="." index="12" instance=ExtResource( 10 )]
|
[node name="Stats" parent="." index="12" instance=ExtResource( 11 )]
|
||||||
|
|
||||||
visible = false
|
visible = false
|
||||||
anchor_left = 0.0
|
anchor_left = 0.0
|
||||||
@ -431,11 +592,11 @@ margin_top = -220.0
|
|||||||
margin_right = 140.0
|
margin_right = 140.0
|
||||||
margin_bottom = -25.0
|
margin_bottom = -25.0
|
||||||
|
|
||||||
[node name="controls_ui" parent="." index="13" instance=ExtResource( 11 )]
|
[node name="controls_ui" parent="." index="13" instance=ExtResource( 12 )]
|
||||||
|
|
||||||
visible = false
|
visible = false
|
||||||
|
|
||||||
[node name="Start" parent="." index="14" instance=ExtResource( 12 )]
|
[node name="Start" parent="." index="14" instance=ExtResource( 13 )]
|
||||||
|
|
||||||
[node name="ReplayButton" type="Button" parent="." index="15"]
|
[node name="ReplayButton" type="Button" parent="." index="15"]
|
||||||
|
|
||||||
@ -466,166 +627,16 @@ flat = false
|
|||||||
align = 1
|
align = 1
|
||||||
_sections_unfolded = [ "Margin", "custom_colors", "custom_fonts" ]
|
_sections_unfolded = [ "Margin", "custom_colors", "custom_fonts" ]
|
||||||
|
|
||||||
[node name="DropTrail" type="Spatial" parent="." index="16"]
|
[node name="Ghost" parent="." index="16" instance=ExtResource( 15 )]
|
||||||
|
|
||||||
_sections_unfolded = [ "Transform" ]
|
visible = false
|
||||||
|
|
||||||
[node name="0" type="Spatial" parent="DropTrail" index="0"]
|
[connection signal="timeout" from="Matrix/DropTrail/Delay" to="." method="_on_DropTrailDelay_timeout"]
|
||||||
|
|
||||||
_sections_unfolded = [ "Transform" ]
|
|
||||||
|
|
||||||
[node name="Sprite" type="Sprite3D" parent="DropTrail/0" index="0"]
|
|
||||||
|
|
||||||
transform = Transform( 3, 0, 0, 0, 5, 0, 0, 0, 1, 0, 6, 0 )
|
|
||||||
layers = 1
|
|
||||||
material_override = null
|
|
||||||
cast_shadow = 1
|
|
||||||
extra_cull_margin = 0.0
|
|
||||||
use_in_baked_light = false
|
|
||||||
lod_min_distance = 0.0
|
|
||||||
lod_min_hysteresis = 0.0
|
|
||||||
lod_max_distance = 0.0
|
|
||||||
lod_max_hysteresis = 0.0
|
|
||||||
centered = true
|
|
||||||
offset = Vector2( 0, 0 )
|
|
||||||
flip_h = false
|
|
||||||
flip_v = false
|
|
||||||
modulate = Color( 1, 1, 1, 1 )
|
|
||||||
opacity = 0.3
|
|
||||||
pixel_size = 0.01
|
|
||||||
axis = 2
|
|
||||||
transparent = true
|
|
||||||
shaded = false
|
|
||||||
double_sided = true
|
|
||||||
alpha_cut = 0
|
|
||||||
texture = ExtResource( 14 )
|
|
||||||
vframes = 1
|
|
||||||
hframes = 1
|
|
||||||
frame = 0
|
|
||||||
region_enabled = false
|
|
||||||
region_rect = Rect2( 0, 0, 0, 0 )
|
|
||||||
_sections_unfolded = [ "Flags", "Transform" ]
|
|
||||||
|
|
||||||
[node name="1" type="Spatial" parent="DropTrail" index="1"]
|
|
||||||
|
|
||||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, 0 )
|
|
||||||
_sections_unfolded = [ "Transform" ]
|
|
||||||
|
|
||||||
[node name="Sprite" type="Sprite3D" parent="DropTrail/1" index="0"]
|
|
||||||
|
|
||||||
transform = Transform( 3, 0, 0, 0, 5, 0, 0, 0, 1, 0, 6, 0 )
|
|
||||||
layers = 1
|
|
||||||
material_override = null
|
|
||||||
cast_shadow = 1
|
|
||||||
extra_cull_margin = 0.0
|
|
||||||
use_in_baked_light = false
|
|
||||||
lod_min_distance = 0.0
|
|
||||||
lod_min_hysteresis = 0.0
|
|
||||||
lod_max_distance = 0.0
|
|
||||||
lod_max_hysteresis = 0.0
|
|
||||||
centered = true
|
|
||||||
offset = Vector2( 0, 0 )
|
|
||||||
flip_h = false
|
|
||||||
flip_v = false
|
|
||||||
modulate = Color( 1, 1, 1, 1 )
|
|
||||||
opacity = 0.3
|
|
||||||
pixel_size = 0.01
|
|
||||||
axis = 2
|
|
||||||
transparent = true
|
|
||||||
shaded = false
|
|
||||||
double_sided = true
|
|
||||||
alpha_cut = 0
|
|
||||||
texture = ExtResource( 14 )
|
|
||||||
vframes = 1
|
|
||||||
hframes = 1
|
|
||||||
frame = 0
|
|
||||||
region_enabled = false
|
|
||||||
region_rect = Rect2( 0, 0, 0, 0 )
|
|
||||||
_sections_unfolded = [ "Flags", "Transform" ]
|
|
||||||
|
|
||||||
[node name="2" type="Spatial" parent="DropTrail" index="2"]
|
|
||||||
|
|
||||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0 )
|
|
||||||
_sections_unfolded = [ "Transform" ]
|
|
||||||
|
|
||||||
[node name="Sprite" type="Sprite3D" parent="DropTrail/2" index="0"]
|
|
||||||
|
|
||||||
transform = Transform( 3, 0, 0, 0, 5, 0, 0, 0, 1, 0, 6, 0 )
|
|
||||||
layers = 1
|
|
||||||
material_override = null
|
|
||||||
cast_shadow = 1
|
|
||||||
extra_cull_margin = 0.0
|
|
||||||
use_in_baked_light = false
|
|
||||||
lod_min_distance = 0.0
|
|
||||||
lod_min_hysteresis = 0.0
|
|
||||||
lod_max_distance = 0.0
|
|
||||||
lod_max_hysteresis = 0.0
|
|
||||||
centered = true
|
|
||||||
offset = Vector2( 0, 0 )
|
|
||||||
flip_h = false
|
|
||||||
flip_v = false
|
|
||||||
modulate = Color( 1, 1, 1, 1 )
|
|
||||||
opacity = 0.3
|
|
||||||
pixel_size = 0.01
|
|
||||||
axis = 2
|
|
||||||
transparent = true
|
|
||||||
shaded = false
|
|
||||||
double_sided = true
|
|
||||||
alpha_cut = 0
|
|
||||||
texture = ExtResource( 14 )
|
|
||||||
vframes = 1
|
|
||||||
hframes = 1
|
|
||||||
frame = 0
|
|
||||||
region_enabled = false
|
|
||||||
region_rect = Rect2( 0, 0, 0, 0 )
|
|
||||||
_sections_unfolded = [ "Flags", "Transform" ]
|
|
||||||
|
|
||||||
[node name="3" type="Spatial" parent="DropTrail" index="3"]
|
|
||||||
|
|
||||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
|
|
||||||
_sections_unfolded = [ "Transform" ]
|
|
||||||
|
|
||||||
[node name="Sprite" type="Sprite3D" parent="DropTrail/3" index="0"]
|
|
||||||
|
|
||||||
transform = Transform( 3, 0, 0, 0, 5, 0, 0, 0, 1, 0, 6, 0 )
|
|
||||||
layers = 1
|
|
||||||
material_override = null
|
|
||||||
cast_shadow = 1
|
|
||||||
extra_cull_margin = 0.0
|
|
||||||
use_in_baked_light = false
|
|
||||||
lod_min_distance = 0.0
|
|
||||||
lod_min_hysteresis = 0.0
|
|
||||||
lod_max_distance = 0.0
|
|
||||||
lod_max_hysteresis = 0.0
|
|
||||||
centered = true
|
|
||||||
offset = Vector2( 0, 0 )
|
|
||||||
flip_h = false
|
|
||||||
flip_v = false
|
|
||||||
modulate = Color( 1, 1, 1, 1 )
|
|
||||||
opacity = 0.3
|
|
||||||
pixel_size = 0.01
|
|
||||||
axis = 2
|
|
||||||
transparent = true
|
|
||||||
shaded = false
|
|
||||||
double_sided = true
|
|
||||||
alpha_cut = 0
|
|
||||||
texture = ExtResource( 14 )
|
|
||||||
vframes = 1
|
|
||||||
hframes = 1
|
|
||||||
frame = 0
|
|
||||||
region_enabled = false
|
|
||||||
region_rect = Rect2( 0, 0, 0, 0 )
|
|
||||||
_sections_unfolded = [ "Flags", "Transform" ]
|
|
||||||
|
|
||||||
[node name="Delay" type="Timer" parent="DropTrail" index="4"]
|
|
||||||
|
|
||||||
process_mode = 1
|
|
||||||
wait_time = 0.06
|
|
||||||
one_shot = true
|
|
||||||
autostart = false
|
|
||||||
|
|
||||||
[connection signal="timeout" from="DropTimer" to="." method="_on_DropTimer_timeout"]
|
[connection signal="timeout" from="DropTimer" to="." method="_on_DropTimer_timeout"]
|
||||||
|
|
||||||
|
[connection signal="timeout" from="LockDelay" to="." method="_on_LockDelay_timeout"]
|
||||||
|
|
||||||
[connection signal="timeout" from="AutoShiftDelay" to="." method="_on_AutoShiftDelay_timeout"]
|
[connection signal="timeout" from="AutoShiftDelay" to="." method="_on_AutoShiftDelay_timeout"]
|
||||||
|
|
||||||
[connection signal="timeout" from="AutoShiftTimer" to="." method="_on_AutoShiftTimer_timeout"]
|
[connection signal="timeout" from="AutoShiftTimer" to="." method="_on_AutoShiftTimer_timeout"]
|
||||||
@ -642,6 +653,4 @@ autostart = false
|
|||||||
|
|
||||||
[connection signal="pressed" from="ReplayButton" to="." method="_on_ReplayButton_pressed"]
|
[connection signal="pressed" from="ReplayButton" to="." method="_on_ReplayButton_pressed"]
|
||||||
|
|
||||||
[connection signal="timeout" from="DropTrail/Delay" to="." method="_on_DropTrailDelay_timeout"]
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ extends "midi/MidiPlayer.gd"
|
|||||||
|
|
||||||
const Tetromino = preload("res://Tetrominos/Tetromino.gd")
|
const Tetromino = preload("res://Tetrominos/Tetromino.gd")
|
||||||
|
|
||||||
const LINE_CLEAR_CHANNELS = [2]
|
const LINE_CLEAR_CHANNELS = [3]
|
||||||
|
|
||||||
var muted_events = []
|
var muted_events = []
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
[ext_resource path="res://fonts/Gamer.ttf" type="DynamicFontData" id=4]
|
[ext_resource path="res://fonts/Gamer.ttf" type="DynamicFontData" id=4]
|
||||||
[ext_resource path="res://fonts/ButtonFont.tres" type="DynamicFont" id=5]
|
[ext_resource path="res://fonts/ButtonFont.tres" type="DynamicFont" id=5]
|
||||||
|
|
||||||
[sub_resource type="DynamicFont" id=4]
|
[sub_resource type="DynamicFont" id=1]
|
||||||
|
|
||||||
size = 50
|
size = 50
|
||||||
use_mipmaps = false
|
use_mipmaps = false
|
||||||
@ -26,7 +26,7 @@ _sections_unfolded = [ "Extra Spacing", "Font", "Font/fallback", "Settings" ]
|
|||||||
|
|
||||||
default_font = SubResource( 2 )
|
default_font = SubResource( 2 )
|
||||||
|
|
||||||
[node name="Start" type="Control" index="0"]
|
[node name="Start" type="Control"]
|
||||||
|
|
||||||
anchor_left = 0.5
|
anchor_left = 0.5
|
||||||
anchor_top = 0.5
|
anchor_top = 0.5
|
||||||
@ -86,7 +86,7 @@ mouse_filter = 2
|
|||||||
mouse_default_cursor_shape = 0
|
mouse_default_cursor_shape = 0
|
||||||
size_flags_horizontal = 1
|
size_flags_horizontal = 1
|
||||||
size_flags_vertical = 4
|
size_flags_vertical = 4
|
||||||
custom_fonts/font = SubResource( 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.443137, 0.709804, 0.819608, 0.533333 )
|
||||||
custom_colors/font_color_shadow = Color( 1, 1, 1, 0.101333 )
|
custom_colors/font_color_shadow = Color( 1, 1, 1, 0.101333 )
|
||||||
text = "3000"
|
text = "3000"
|
||||||
@ -103,9 +103,9 @@ anchor_top = 0.5
|
|||||||
anchor_right = 0.5
|
anchor_right = 0.5
|
||||||
anchor_bottom = 0.5
|
anchor_bottom = 0.5
|
||||||
margin_left = -83.0
|
margin_left = -83.0
|
||||||
margin_top = -20.0
|
margin_top = 40.0
|
||||||
margin_right = 113.0
|
margin_right = 113.0
|
||||||
margin_bottom = 17.0
|
margin_bottom = 77.0
|
||||||
rect_pivot_offset = Vector2( 0, 0 )
|
rect_pivot_offset = Vector2( 0, 0 )
|
||||||
rect_clip_content = false
|
rect_clip_content = false
|
||||||
mouse_filter = 0
|
mouse_filter = 0
|
||||||
@ -132,9 +132,9 @@ anchor_top = 0.5
|
|||||||
anchor_right = 0.5
|
anchor_right = 0.5
|
||||||
anchor_bottom = 0.5
|
anchor_bottom = 0.5
|
||||||
margin_left = -85.0
|
margin_left = -85.0
|
||||||
margin_top = 29.0
|
margin_top = 89.0
|
||||||
margin_right = 85.0
|
margin_right = 85.0
|
||||||
margin_bottom = 69.0
|
margin_bottom = 129.0
|
||||||
rect_pivot_offset = Vector2( 0, 0 )
|
rect_pivot_offset = Vector2( 0, 0 )
|
||||||
rect_clip_content = false
|
rect_clip_content = false
|
||||||
focus_mode = 2
|
focus_mode = 2
|
||||||
|
247
source/Tetrominos/Ghost.tscn
Normal file
247
source/Tetrominos/Ghost.tscn
Normal file
@ -0,0 +1,247 @@
|
|||||||
|
[gd_scene load_steps=4 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://Tetrominos/TetroI.gd" type="Script" id=1]
|
||||||
|
|
||||||
|
[sub_resource type="SpatialMaterial" id=1]
|
||||||
|
|
||||||
|
render_priority = 0
|
||||||
|
flags_transparent = true
|
||||||
|
flags_unshaded = false
|
||||||
|
flags_vertex_lighting = false
|
||||||
|
flags_no_depth_test = false
|
||||||
|
flags_use_point_size = false
|
||||||
|
flags_world_triplanar = false
|
||||||
|
flags_fixed_size = false
|
||||||
|
flags_albedo_tex_force_srgb = false
|
||||||
|
vertex_color_use_as_albedo = false
|
||||||
|
vertex_color_is_srgb = false
|
||||||
|
params_diffuse_mode = 0
|
||||||
|
params_specular_mode = 0
|
||||||
|
params_blend_mode = 1
|
||||||
|
params_cull_mode = 0
|
||||||
|
params_depth_draw_mode = 0
|
||||||
|
params_line_width = 1.0
|
||||||
|
params_point_size = 1.0
|
||||||
|
params_billboard_mode = 0
|
||||||
|
params_grow = false
|
||||||
|
params_use_alpha_scissor = false
|
||||||
|
albedo_color = Color( 0.601563, 0.775878, 1, 0.259529 )
|
||||||
|
metallic = 1.0
|
||||||
|
metallic_specular = 0.63
|
||||||
|
metallic_texture_channel = 4
|
||||||
|
roughness = 0.46
|
||||||
|
roughness_texture_channel = 0
|
||||||
|
emission_enabled = true
|
||||||
|
emission = Color( 0.446159, 0.591797, 0.540939, 1 )
|
||||||
|
emission_energy = 0.15
|
||||||
|
emission_operator = 0
|
||||||
|
emission_on_uv2 = false
|
||||||
|
normal_enabled = false
|
||||||
|
rim_enabled = false
|
||||||
|
clearcoat_enabled = false
|
||||||
|
anisotropy_enabled = false
|
||||||
|
ao_enabled = false
|
||||||
|
depth_enabled = false
|
||||||
|
subsurf_scatter_enabled = false
|
||||||
|
transmission_enabled = false
|
||||||
|
refraction_enabled = false
|
||||||
|
detail_enabled = false
|
||||||
|
uv1_scale = Vector3( 1, 1, 1 )
|
||||||
|
uv1_offset = Vector3( 0, 0, 0 )
|
||||||
|
uv1_triplanar = false
|
||||||
|
uv1_triplanar_sharpness = 1.0
|
||||||
|
uv2_scale = Vector3( 1, 1, 1 )
|
||||||
|
uv2_offset = Vector3( 0, 0, 0 )
|
||||||
|
uv2_triplanar = false
|
||||||
|
uv2_triplanar_sharpness = 1.0
|
||||||
|
proximity_fade_enable = true
|
||||||
|
proximity_fade_distance = 1.0
|
||||||
|
distance_fade_enable = false
|
||||||
|
_sections_unfolded = [ "Albedo", "Emission", "Metallic", "NormalMap", "Proximity Fade" ]
|
||||||
|
|
||||||
|
[sub_resource type="CubeMesh" id=2]
|
||||||
|
|
||||||
|
material = SubResource( 1 )
|
||||||
|
custom_aabb = AABB( 0, 0, 0, 0, 0, 0 )
|
||||||
|
size = Vector3( 0.9, 0.9, 0.9 )
|
||||||
|
subdivide_width = 0
|
||||||
|
subdivide_height = 0
|
||||||
|
subdivide_depth = 0
|
||||||
|
|
||||||
|
[node name="Ghost" type="Spatial"]
|
||||||
|
|
||||||
|
script = ExtResource( 1 )
|
||||||
|
|
||||||
|
[node name="Mino0" type="Spatial" parent="." index="0"]
|
||||||
|
|
||||||
|
transform = Transform( 0.997027, 0, 0, 0, 0.997027, 0, 0, 0, 0.997027, 0, 0, 0 )
|
||||||
|
_sections_unfolded = [ "Pause", "Transform", "Visibility" ]
|
||||||
|
|
||||||
|
[node name="MinoMesh" type="MeshInstance" parent="Mino0" index="0"]
|
||||||
|
|
||||||
|
layers = 1
|
||||||
|
material_override = null
|
||||||
|
cast_shadow = 1
|
||||||
|
extra_cull_margin = 0.0
|
||||||
|
use_in_baked_light = false
|
||||||
|
lod_min_distance = 0.0
|
||||||
|
lod_min_hysteresis = 0.0
|
||||||
|
lod_max_distance = 0.0
|
||||||
|
lod_max_hysteresis = 0.0
|
||||||
|
mesh = SubResource( 2 )
|
||||||
|
skeleton = NodePath("..")
|
||||||
|
material/0 = null
|
||||||
|
_sections_unfolded = [ "Geometry", "Transform", "material" ]
|
||||||
|
|
||||||
|
[node name="OmniLight" type="OmniLight" parent="Mino0" index="1"]
|
||||||
|
|
||||||
|
layers = 1
|
||||||
|
light_color = Color( 1, 1, 1, 1 )
|
||||||
|
light_energy = 16.0
|
||||||
|
light_indirect_energy = 1.0
|
||||||
|
light_negative = false
|
||||||
|
light_specular = 0.5
|
||||||
|
light_bake_mode = 1
|
||||||
|
light_cull_mask = -1
|
||||||
|
shadow_enabled = false
|
||||||
|
shadow_color = Color( 0, 0, 0, 1 )
|
||||||
|
shadow_bias = 0.15
|
||||||
|
shadow_contact = 0.0
|
||||||
|
shadow_reverse_cull_face = false
|
||||||
|
editor_only = false
|
||||||
|
omni_range = 5.0
|
||||||
|
omni_attenuation = 1.0
|
||||||
|
omni_shadow_mode = 1
|
||||||
|
omni_shadow_detail = 1
|
||||||
|
_sections_unfolded = [ "Light" ]
|
||||||
|
|
||||||
|
[node name="Mino1" type="Spatial" parent="." index="1"]
|
||||||
|
|
||||||
|
transform = Transform( 0.997027, 0, 0, 0, 0.997027, 0, 0, 0, 0.997027, 0, 0, 0 )
|
||||||
|
_sections_unfolded = [ "Pause", "Transform", "Visibility" ]
|
||||||
|
|
||||||
|
[node name="MinoMesh" type="MeshInstance" parent="Mino1" index="0"]
|
||||||
|
|
||||||
|
layers = 1
|
||||||
|
material_override = null
|
||||||
|
cast_shadow = 1
|
||||||
|
extra_cull_margin = 0.0
|
||||||
|
use_in_baked_light = false
|
||||||
|
lod_min_distance = 0.0
|
||||||
|
lod_min_hysteresis = 0.0
|
||||||
|
lod_max_distance = 0.0
|
||||||
|
lod_max_hysteresis = 0.0
|
||||||
|
mesh = SubResource( 2 )
|
||||||
|
skeleton = NodePath("..")
|
||||||
|
material/0 = null
|
||||||
|
_sections_unfolded = [ "Geometry", "Transform", "material" ]
|
||||||
|
|
||||||
|
[node name="OmniLight" type="OmniLight" parent="Mino1" index="1"]
|
||||||
|
|
||||||
|
layers = 1
|
||||||
|
light_color = Color( 1, 1, 1, 1 )
|
||||||
|
light_energy = 16.0
|
||||||
|
light_indirect_energy = 1.0
|
||||||
|
light_negative = false
|
||||||
|
light_specular = 0.5
|
||||||
|
light_bake_mode = 1
|
||||||
|
light_cull_mask = -1
|
||||||
|
shadow_enabled = false
|
||||||
|
shadow_color = Color( 0, 0, 0, 1 )
|
||||||
|
shadow_bias = 0.15
|
||||||
|
shadow_contact = 0.0
|
||||||
|
shadow_reverse_cull_face = false
|
||||||
|
editor_only = false
|
||||||
|
omni_range = 5.0
|
||||||
|
omni_attenuation = 1.0
|
||||||
|
omni_shadow_mode = 1
|
||||||
|
omni_shadow_detail = 1
|
||||||
|
_sections_unfolded = [ "Light" ]
|
||||||
|
|
||||||
|
[node name="Mino2" type="Spatial" parent="." index="2"]
|
||||||
|
|
||||||
|
transform = Transform( 0.997027, 0, 0, 0, 0.997027, 0, 0, 0, 0.997027, 0, 0, 0 )
|
||||||
|
_sections_unfolded = [ "Pause", "Transform", "Visibility" ]
|
||||||
|
|
||||||
|
[node name="MinoMesh" type="MeshInstance" parent="Mino2" index="0"]
|
||||||
|
|
||||||
|
layers = 1
|
||||||
|
material_override = null
|
||||||
|
cast_shadow = 1
|
||||||
|
extra_cull_margin = 0.0
|
||||||
|
use_in_baked_light = false
|
||||||
|
lod_min_distance = 0.0
|
||||||
|
lod_min_hysteresis = 0.0
|
||||||
|
lod_max_distance = 0.0
|
||||||
|
lod_max_hysteresis = 0.0
|
||||||
|
mesh = SubResource( 2 )
|
||||||
|
skeleton = NodePath("..")
|
||||||
|
material/0 = null
|
||||||
|
_sections_unfolded = [ "Geometry", "Transform", "material" ]
|
||||||
|
|
||||||
|
[node name="OmniLight" type="OmniLight" parent="Mino2" index="1"]
|
||||||
|
|
||||||
|
layers = 1
|
||||||
|
light_color = Color( 1, 1, 1, 1 )
|
||||||
|
light_energy = 16.0
|
||||||
|
light_indirect_energy = 1.0
|
||||||
|
light_negative = false
|
||||||
|
light_specular = 0.5
|
||||||
|
light_bake_mode = 1
|
||||||
|
light_cull_mask = -1
|
||||||
|
shadow_enabled = false
|
||||||
|
shadow_color = Color( 0, 0, 0, 1 )
|
||||||
|
shadow_bias = 0.15
|
||||||
|
shadow_contact = 0.0
|
||||||
|
shadow_reverse_cull_face = false
|
||||||
|
editor_only = false
|
||||||
|
omni_range = 5.0
|
||||||
|
omni_attenuation = 1.0
|
||||||
|
omni_shadow_mode = 1
|
||||||
|
omni_shadow_detail = 1
|
||||||
|
_sections_unfolded = [ "Light" ]
|
||||||
|
|
||||||
|
[node name="Mino3" type="Spatial" parent="." index="3"]
|
||||||
|
|
||||||
|
transform = Transform( 0.997027, 0, 0, 0, 0.997027, 0, 0, 0, 0.997027, 0, 0, 0 )
|
||||||
|
_sections_unfolded = [ "Pause", "Transform", "Visibility" ]
|
||||||
|
|
||||||
|
[node name="MinoMesh" type="MeshInstance" parent="Mino3" index="0"]
|
||||||
|
|
||||||
|
layers = 1
|
||||||
|
material_override = null
|
||||||
|
cast_shadow = 1
|
||||||
|
extra_cull_margin = 0.0
|
||||||
|
use_in_baked_light = false
|
||||||
|
lod_min_distance = 0.0
|
||||||
|
lod_min_hysteresis = 0.0
|
||||||
|
lod_max_distance = 0.0
|
||||||
|
lod_max_hysteresis = 0.0
|
||||||
|
mesh = SubResource( 2 )
|
||||||
|
skeleton = NodePath("..")
|
||||||
|
material/0 = null
|
||||||
|
_sections_unfolded = [ "Geometry", "Transform", "material" ]
|
||||||
|
|
||||||
|
[node name="OmniLight" type="OmniLight" parent="Mino3" index="1"]
|
||||||
|
|
||||||
|
layers = 1
|
||||||
|
light_color = Color( 1, 1, 1, 1 )
|
||||||
|
light_energy = 16.0
|
||||||
|
light_indirect_energy = 1.0
|
||||||
|
light_negative = false
|
||||||
|
light_specular = 0.5
|
||||||
|
light_bake_mode = 1
|
||||||
|
light_cull_mask = -1
|
||||||
|
shadow_enabled = false
|
||||||
|
shadow_color = Color( 0, 0, 0, 1 )
|
||||||
|
shadow_bias = 0.15
|
||||||
|
shadow_contact = 0.0
|
||||||
|
shadow_reverse_cull_face = false
|
||||||
|
editor_only = false
|
||||||
|
omni_range = 5.0
|
||||||
|
omni_attenuation = 1.0
|
||||||
|
omni_shadow_mode = 1
|
||||||
|
omni_shadow_detail = 1
|
||||||
|
_sections_unfolded = [ "Light" ]
|
||||||
|
|
||||||
|
|
@ -1,9 +1,17 @@
|
|||||||
[gd_scene load_steps=8 format=2]
|
[gd_scene load_steps=5 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://Tetrominos/Mino/MinoMesh.tscn" type="PackedScene" id=1]
|
[ext_resource path="res://Tetrominos/Mino/MinoMesh.tscn" type="PackedScene" id=1]
|
||||||
[ext_resource path="res://Tetrominos/Mino/MinoMesh.tres" type="CubeMesh" id=2]
|
[ext_resource path="res://Tetrominos/Mino/MinoMesh.tres" type="CubeMesh" id=2]
|
||||||
|
|
||||||
[sub_resource type="SpatialMaterial" id=1]
|
[sub_resource type="CubeMesh" id=1]
|
||||||
|
|
||||||
|
custom_aabb = AABB( 0, 0, 0, 0, 0, 0 )
|
||||||
|
size = Vector3( 0.9, 0.9, 0.9 )
|
||||||
|
subdivide_width = 0
|
||||||
|
subdivide_height = 0
|
||||||
|
subdivide_depth = 0
|
||||||
|
|
||||||
|
[sub_resource type="SpatialMaterial" id=2]
|
||||||
|
|
||||||
render_priority = 0
|
render_priority = 0
|
||||||
flags_transparent = true
|
flags_transparent = true
|
||||||
@ -26,13 +34,17 @@ params_point_size = 1.0
|
|||||||
params_billboard_mode = 0
|
params_billboard_mode = 0
|
||||||
params_grow = false
|
params_grow = false
|
||||||
params_use_alpha_scissor = false
|
params_use_alpha_scissor = false
|
||||||
albedo_color = Color( 0.601563, 0.775878, 1, 0.270275 )
|
albedo_color = Color( 0.601563, 0.775878, 1, 0.259529 )
|
||||||
metallic = 0.68
|
metallic = 1.0
|
||||||
metallic_specular = 1.0
|
metallic_specular = 0.63
|
||||||
metallic_texture_channel = 0
|
metallic_texture_channel = 4
|
||||||
roughness = 0.0
|
roughness = 0.46
|
||||||
roughness_texture_channel = 0
|
roughness_texture_channel = 0
|
||||||
emission_enabled = false
|
emission_enabled = true
|
||||||
|
emission = Color( 0.755859, 1, 0.914169, 1 )
|
||||||
|
emission_energy = 1.0
|
||||||
|
emission_operator = 0
|
||||||
|
emission_on_uv2 = false
|
||||||
normal_enabled = false
|
normal_enabled = false
|
||||||
rim_enabled = false
|
rim_enabled = false
|
||||||
clearcoat_enabled = false
|
clearcoat_enabled = false
|
||||||
@ -56,113 +68,7 @@ proximity_fade_distance = 1.0
|
|||||||
distance_fade_enable = false
|
distance_fade_enable = false
|
||||||
_sections_unfolded = [ "Albedo", "Emission", "Metallic", "NormalMap", "Proximity Fade" ]
|
_sections_unfolded = [ "Albedo", "Emission", "Metallic", "NormalMap", "Proximity Fade" ]
|
||||||
|
|
||||||
[sub_resource type="GradientTexture" id=2]
|
[node name="Mino" type="Spatial"]
|
||||||
|
|
||||||
flags = 4
|
|
||||||
width = 2048
|
|
||||||
|
|
||||||
[sub_resource type="ParticlesMaterial" id=3]
|
|
||||||
|
|
||||||
render_priority = 0
|
|
||||||
trail_divisor = 1
|
|
||||||
emission_shape = 0
|
|
||||||
flag_align_y = false
|
|
||||||
flag_rotate_y = false
|
|
||||||
flag_disable_z = true
|
|
||||||
spread = 0.0
|
|
||||||
flatness = 0.0
|
|
||||||
gravity = Vector3( 0, 0, 0 )
|
|
||||||
initial_velocity = 0.0
|
|
||||||
initial_velocity_random = 0.0
|
|
||||||
angular_velocity = 0.0
|
|
||||||
angular_velocity_random = 0.0
|
|
||||||
orbit_velocity = 0.0
|
|
||||||
orbit_velocity_random = 0.0
|
|
||||||
linear_accel = 0.0
|
|
||||||
linear_accel_random = 0.0
|
|
||||||
radial_accel = 0.0
|
|
||||||
radial_accel_random = 0.0
|
|
||||||
tangential_accel = 0.0
|
|
||||||
tangential_accel_random = 0.0
|
|
||||||
damping = 0.0
|
|
||||||
damping_random = 0.0
|
|
||||||
angle = 0.0
|
|
||||||
angle_random = 0.0
|
|
||||||
scale = 1.0
|
|
||||||
scale_random = 0.0
|
|
||||||
color_ramp = SubResource( 2 )
|
|
||||||
hue_variation = 0.0
|
|
||||||
hue_variation_random = 0.0
|
|
||||||
anim_speed = 0.0
|
|
||||||
anim_speed_random = 0.0
|
|
||||||
anim_offset = 0.0
|
|
||||||
anim_offset_random = 0.0
|
|
||||||
anim_loop = false
|
|
||||||
_sections_unfolded = [ "Color", "Gravity" ]
|
|
||||||
|
|
||||||
[sub_resource type="SpatialMaterial" id=4]
|
|
||||||
|
|
||||||
render_priority = 0
|
|
||||||
flags_transparent = true
|
|
||||||
flags_unshaded = false
|
|
||||||
flags_vertex_lighting = false
|
|
||||||
flags_no_depth_test = false
|
|
||||||
flags_use_point_size = false
|
|
||||||
flags_world_triplanar = false
|
|
||||||
flags_fixed_size = false
|
|
||||||
flags_albedo_tex_force_srgb = false
|
|
||||||
vertex_color_use_as_albedo = false
|
|
||||||
vertex_color_is_srgb = false
|
|
||||||
params_diffuse_mode = 0
|
|
||||||
params_specular_mode = 0
|
|
||||||
params_blend_mode = 1
|
|
||||||
params_cull_mode = 0
|
|
||||||
params_depth_draw_mode = 0
|
|
||||||
params_line_width = 1.0
|
|
||||||
params_point_size = 1.0
|
|
||||||
params_billboard_mode = 0
|
|
||||||
params_grow = false
|
|
||||||
params_use_alpha_scissor = false
|
|
||||||
albedo_color = Color( 0.601563, 0.775878, 1, 0.0045098 )
|
|
||||||
metallic = 0.68
|
|
||||||
metallic_specular = 1.0
|
|
||||||
metallic_texture_channel = 0
|
|
||||||
roughness = 0.0
|
|
||||||
roughness_texture_channel = 0
|
|
||||||
emission_enabled = false
|
|
||||||
normal_enabled = false
|
|
||||||
rim_enabled = false
|
|
||||||
clearcoat_enabled = false
|
|
||||||
anisotropy_enabled = false
|
|
||||||
ao_enabled = false
|
|
||||||
depth_enabled = false
|
|
||||||
subsurf_scatter_enabled = false
|
|
||||||
transmission_enabled = false
|
|
||||||
refraction_enabled = false
|
|
||||||
detail_enabled = false
|
|
||||||
uv1_scale = Vector3( 1, 1, 1 )
|
|
||||||
uv1_offset = Vector3( 0, 0, 0 )
|
|
||||||
uv1_triplanar = false
|
|
||||||
uv1_triplanar_sharpness = 1.0
|
|
||||||
uv2_scale = Vector3( 1, 1, 1 )
|
|
||||||
uv2_offset = Vector3( 0, 0, 0 )
|
|
||||||
uv2_triplanar = false
|
|
||||||
uv2_triplanar_sharpness = 1.0
|
|
||||||
proximity_fade_enable = true
|
|
||||||
proximity_fade_distance = 1.0
|
|
||||||
distance_fade_enable = false
|
|
||||||
_sections_unfolded = [ "Albedo", "Emission", "Proximity Fade" ]
|
|
||||||
|
|
||||||
[sub_resource type="CubeMesh" id=5]
|
|
||||||
|
|
||||||
material = SubResource( 4 )
|
|
||||||
custom_aabb = AABB( 0, 0, 0, 0, 0, 0 )
|
|
||||||
size = Vector3( 0.9, 0.9, 0.9 )
|
|
||||||
subdivide_width = 0
|
|
||||||
subdivide_height = 0
|
|
||||||
subdivide_depth = 0
|
|
||||||
|
|
||||||
[node name="Mino" type="Spatial" index="0"]
|
|
||||||
|
|
||||||
transform = Transform( 0.997027, 0, 0, 0, 0.997027, 0, 0, 0, 0.997027, 0, 0, 0 )
|
transform = Transform( 0.997027, 0, 0, 0, 0.997027, 0, 0, 0, 0.997027, 0, 0, 0 )
|
||||||
_sections_unfolded = [ "Pause", "Transform", "Visibility" ]
|
_sections_unfolded = [ "Pause", "Transform", "Visibility" ]
|
||||||
@ -173,10 +79,11 @@ mesh = ExtResource( 2 )
|
|||||||
material/0 = null
|
material/0 = null
|
||||||
_sections_unfolded = [ "Geometry", "Transform", "material" ]
|
_sections_unfolded = [ "Geometry", "Transform", "material" ]
|
||||||
|
|
||||||
[node name="Trail" type="Particles" parent="." index="1"]
|
[node name="LockingMesh" type="MeshInstance" parent="." index="1"]
|
||||||
|
|
||||||
|
visible = false
|
||||||
layers = 1
|
layers = 1
|
||||||
material_override = SubResource( 1 )
|
material_override = null
|
||||||
cast_shadow = 1
|
cast_shadow = 1
|
||||||
extra_cull_margin = 0.0
|
extra_cull_margin = 0.0
|
||||||
use_in_baked_light = false
|
use_in_baked_light = false
|
||||||
@ -184,45 +91,9 @@ lod_min_distance = 0.0
|
|||||||
lod_min_hysteresis = 0.0
|
lod_min_hysteresis = 0.0
|
||||||
lod_max_distance = 0.0
|
lod_max_distance = 0.0
|
||||||
lod_max_hysteresis = 0.0
|
lod_max_hysteresis = 0.0
|
||||||
emitting = false
|
mesh = SubResource( 1 )
|
||||||
amount = 4
|
skeleton = NodePath("..")
|
||||||
lifetime = 0.05
|
material/0 = SubResource( 2 )
|
||||||
one_shot = false
|
_sections_unfolded = [ "Transform", "material" ]
|
||||||
preprocess = 0.0
|
|
||||||
speed_scale = 1.0
|
|
||||||
explosiveness = 0.0
|
|
||||||
randomness = 0.0
|
|
||||||
fixed_fps = 0
|
|
||||||
fract_delta = true
|
|
||||||
visibility_aabb = AABB( -0.5, -0.5, -0.5, 1, 1, 1 )
|
|
||||||
local_coords = false
|
|
||||||
draw_order = 0
|
|
||||||
process_material = SubResource( 3 )
|
|
||||||
draw_passes = 1
|
|
||||||
draw_pass_1 = SubResource( 5 )
|
|
||||||
_sections_unfolded = [ "Draw Passes", "Drawing", "Geometry", "LOD", "Process Material", "Time", "Transform" ]
|
|
||||||
|
|
||||||
[node name="SpotLight" type="SpotLight" parent="." index="2"]
|
|
||||||
|
|
||||||
transform = Transform( 1, 0, 0, 0, 0.0174524, 0.999848, 0, -0.999848, 0.0174524, 0, 4, 1 )
|
|
||||||
layers = 1
|
|
||||||
light_color = Color( 1, 1, 1, 1 )
|
|
||||||
light_energy = 16.0
|
|
||||||
light_indirect_energy = 1.0
|
|
||||||
light_negative = false
|
|
||||||
light_specular = 0.86
|
|
||||||
light_bake_mode = 1
|
|
||||||
light_cull_mask = -1
|
|
||||||
shadow_enabled = false
|
|
||||||
shadow_color = Color( 0, 0, 0, 1 )
|
|
||||||
shadow_bias = 0.15
|
|
||||||
shadow_contact = 0.0
|
|
||||||
shadow_reverse_cull_face = false
|
|
||||||
editor_only = false
|
|
||||||
spot_range = 30.0
|
|
||||||
spot_attenuation = 0.5
|
|
||||||
spot_angle = 5.0
|
|
||||||
spot_angle_attenuation = 2.0
|
|
||||||
_sections_unfolded = [ "Editor", "Light", "Spot", "Transform" ]
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ roughness = 0.46
|
|||||||
roughness_texture_channel = 0
|
roughness_texture_channel = 0
|
||||||
emission_enabled = true
|
emission_enabled = true
|
||||||
emission = Color( 0.755859, 1, 0.914169, 1 )
|
emission = Color( 0.755859, 1, 0.914169, 1 )
|
||||||
emission_energy = 0.1
|
emission_energy = 0.15
|
||||||
emission_operator = 0
|
emission_operator = 0
|
||||||
emission_on_uv2 = false
|
emission_on_uv2 = false
|
||||||
normal_enabled = false
|
normal_enabled = false
|
||||||
|
BIN
source/Tetrominos/Mino/drop_trail.png
Normal file
BIN
source/Tetrominos/Mino/drop_trail.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
@ -3,6 +3,7 @@ extends Spatial
|
|||||||
const NB_MINOES = 4
|
const NB_MINOES = 4
|
||||||
const CLOCKWISE = -1
|
const CLOCKWISE = -1
|
||||||
const COUNTERCLOCKWISE = 1
|
const COUNTERCLOCKWISE = 1
|
||||||
|
const DROP_MOVEMENT = Vector3(0, -1, 0)
|
||||||
|
|
||||||
var super_rotation_system = [
|
var super_rotation_system = [
|
||||||
{
|
{
|
||||||
@ -72,17 +73,19 @@ var super_rotation_system = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
var minoes = []
|
var minoes = []
|
||||||
var grid_map
|
|
||||||
var lock_delay
|
|
||||||
var orientation = 0
|
var orientation = 0
|
||||||
var rotation_point_5_used = false
|
var rotation_point_5_used = false
|
||||||
var rotated_last = false
|
var rotated_last = false
|
||||||
|
var grid_map
|
||||||
|
var lock_delay
|
||||||
|
var ghost
|
||||||
|
|
||||||
func _ready():
|
func _ready():
|
||||||
for i in range(NB_MINOES):
|
for i in range(NB_MINOES):
|
||||||
minoes.append(get_node("Mino"+str(i)))
|
minoes.append(get_node("Mino"+str(i)))
|
||||||
grid_map = get_node("../Matrix/GridMap")
|
grid_map = get_node("../Matrix/GridMap")
|
||||||
lock_delay = get_node("../LockDelay")
|
lock_delay = get_node("../LockDelay")
|
||||||
|
ghost = get_node("../Ghost")
|
||||||
|
|
||||||
func set_translations(translations):
|
func set_translations(translations):
|
||||||
for i in range(NB_MINOES):
|
for i in range(NB_MINOES):
|
||||||
@ -97,10 +100,14 @@ func get_translations():
|
|||||||
func move(movement):
|
func move(movement):
|
||||||
if grid_map.possible_positions(get_translations(), movement):
|
if grid_map.possible_positions(get_translations(), movement):
|
||||||
translate(movement)
|
translate(movement)
|
||||||
lock_delay.start()
|
unlocking()
|
||||||
rotated_last = false
|
rotated_last = false
|
||||||
|
move_ghost()
|
||||||
return true
|
return true
|
||||||
return false
|
else:
|
||||||
|
if movement == DROP_MOVEMENT:
|
||||||
|
locking()
|
||||||
|
return false
|
||||||
|
|
||||||
func turn(direction):
|
func turn(direction):
|
||||||
var translations = get_translations()
|
var translations = get_translations()
|
||||||
@ -117,20 +124,28 @@ func turn(direction):
|
|||||||
orientation = (orientation - direction) % NB_MINOES
|
orientation = (orientation - direction) % NB_MINOES
|
||||||
set_translations(rotated_translations)
|
set_translations(rotated_translations)
|
||||||
translate(movements[i])
|
translate(movements[i])
|
||||||
lock_delay.start()
|
unlocking()
|
||||||
rotated_last = true
|
rotated_last = true
|
||||||
if i == 4:
|
if i == 4:
|
||||||
rotation_point_5_used = true
|
rotation_point_5_used = true
|
||||||
|
move_ghost()
|
||||||
return true
|
return true
|
||||||
return false
|
return false
|
||||||
|
|
||||||
|
func move_ghost():
|
||||||
|
ghost.set_translations(get_translations())
|
||||||
|
while grid_map.possible_positions(ghost.get_translations(), DROP_MOVEMENT):
|
||||||
|
ghost.translate(DROP_MOVEMENT)
|
||||||
|
|
||||||
func t_spin():
|
func t_spin():
|
||||||
return ""
|
return ""
|
||||||
|
|
||||||
func emit_trail(visible):
|
func locking():
|
||||||
var trail
|
if lock_delay.is_stopped():
|
||||||
|
lock_delay.start()
|
||||||
for mino in minoes:
|
for mino in minoes:
|
||||||
trail = mino.get_node("Trail")
|
mino.get_node("LockingMesh").visible = true
|
||||||
trail.emitting = visible
|
|
||||||
trail.visible = visible
|
func unlocking():
|
||||||
mino.get_node("SpotLight").visible = visible
|
if not lock_delay.is_stopped():
|
||||||
|
lock_delay.start()
|
Binary file not shown.
Before Width: | Height: | Size: 16 KiB |
Binary file not shown.
@ -19,7 +19,7 @@ export var play_speed = 1.0
|
|||||||
export var volume_db = -30
|
export var volume_db = -30
|
||||||
export var key_shift = 0
|
export var key_shift = 0
|
||||||
export var loop = false
|
export var loop = false
|
||||||
export var loop_start = 1.81
|
export var loop_start = 0
|
||||||
export var soundfont = ""
|
export var soundfont = ""
|
||||||
export var mix_target = AudioStreamPlayer.MIX_TARGET_STEREO
|
export var mix_target = AudioStreamPlayer.MIX_TARGET_STEREO
|
||||||
export var bus = "Master"
|
export var bus = "Master"
|
||||||
|
Binary file not shown.
BIN
source/midi/music-a-dance-remix-.mid
Normal file
BIN
source/midi/music-a-dance-remix-.mid
Normal file
Binary file not shown.
@ -49,6 +49,7 @@ toggle_fullscreen=[ Object(InputEventKey,"resource_local_to_scene":false,"resour
|
|||||||
|
|
||||||
[rendering]
|
[rendering]
|
||||||
|
|
||||||
|
quality/filters/use_nearest_mipmap_filter=true
|
||||||
environment/default_clear_color=Color( 0, 0, 0, 1 )
|
environment/default_clear_color=Color( 0, 0, 0, 1 )
|
||||||
environment/default_environment="res://Environment.tres"
|
environment/default_environment="res://Environment.tres"
|
||||||
quality/main_loop_type=""
|
quality/main_loop_type=""
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 396 KiB After Width: | Height: | Size: 396 KiB |
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 396 KiB After Width: | Height: | Size: 396 KiB |
Reference in New Issue
Block a user