WIP 4-5 & dim gem on level select!

This commit is contained in:
Harmony Honey 2024-01-06 17:40:00 -05:00
parent 2432b30d67
commit 13231efc72
3 changed files with 9 additions and 5 deletions

View file

@ -15,12 +15,13 @@
script = ExtResource( 10 )
[node name="SolidTileMap" parent="." instance=ExtResource( 3 )]
tile_data = PoolIntArray( -983056, 1, 0, -983055, 1, 0, -983054, 1, 0, -983053, 1, 0, -983052, 1, 0, -983051, 1, 0, -983050, 1, 0, -983049, 1, 0, -983048, 1, 0, -983047, 1, 0, -983046, 1, 0, -983045, 1, 0, -983044, 1, 0, -983043, 1, 0, -983042, 1, 0, -983041, 1, 0, -1048576, 1, 0, -1048575, 1, 0, -1048574, 1, 0, -1048573, 1, 0, -1048572, 1, 0, -1048571, 1, 0, -1048570, 1, 0, -1048569, 1, 0, -1048568, 1, 0, -1048567, 1, 0, -1048566, 1, 0, -1048565, 1, 0, -1048564, 1, 0, -1048563, 1, 0, -917520, 1, 0, -983027, 1, 0, -851984, 1, 0, -917491, 1, 0, -786448, 1, 0, -851955, 1, 0, -720912, 1, 0, -786419, 1, 0, -655376, 1, 0, -720883, 1, 0, -589840, 1, 0, -589831, 0, 1, -589830, 0, 0, -589829, 0, 0, -589828, 0, 0, -589827, 0, 0, -589826, 0, 0, -589825, 0, 0, -655360, 0, 0, -655359, 0, 0, -655358, 0, 0, -655357, 0, 0, -655356, 0, 0, -655355, 0, 0, -655352, 0, 0, -655351, 1, 0, -655350, 1, 0, -655349, 1, 0, -655348, 1, 0, -655347, 1, 0, -524304, 1, 0, -524296, 0, 1, -524295, 0, 0, -589816, 0, 0, -458768, 1, 0, -458761, 0, 1, -458760, 0, 0, -524280, 0, 0, -393232, 1, 0, -393226, 0, 1, -393225, 0, 0, -458744, 0, 0, -327696, 1, 0, -327695, 1, 0, -327694, 1, 0, -327693, 1, 0, -327692, 1, 0, -327691, 0, 1, -327690, 0, 0, -393213, 0, 0, -393212, 0, 0, -393211, 0, 0, -393210, 0, 0, -393209, 0, 0, -393208, 0, 0, -262155, 0, 0, -327677, 0, 0, -196619, 0, 0, -262141, 0, 0, -131083, 0, 0, -196605, 0, 0, -65547, 0, 0, -65539, 0, 0, -65538, 0, 0, -65537, 0, 0, -131072, 0, 0, -131071, 0, 0, -131070, 0, 0, -131069, 0, 0, -11, 0, 0, -3, 0, 0, 65525, 0, 0, 65533, 0, 0, 131061, 0, 0, 131069, 0, 0, 196597, 0, 0, 196598, 0, 0, 196599, 0, 0, 196600, 0, 0, 196601, 0, 0, 196602, 0, 0, 196603, 0, 0, 196604, 0, 0, 196605, 0, 0 )
tile_data = PoolIntArray( -983056, 1, 0, -983055, 1, 0, -983054, 1, 0, -983053, 1, 0, -983052, 1, 0, -983051, 1, 0, -983050, 1, 0, -983049, 1, 0, -983048, 1, 0, -983047, 1, 0, -983046, 1, 0, -983045, 1, 0, -983044, 1, 0, -983043, 1, 0, -983042, 1, 0, -983041, 1, 0, -1048576, 1, 0, -1048575, 1, 0, -1048574, 1, 0, -1048573, 1, 0, -1048572, 1, 0, -1048571, 1, 0, -1048570, 1, 0, -1048569, 1, 0, -1048568, 1, 0, -1048567, 1, 0, -1048566, 1, 0, -1048565, 1, 0, -1048564, 1, 0, -1048563, 1, 0, -917520, 1, 0, -983027, 1, 0, -851984, 1, 0, -917491, 1, 0, -786448, 1, 0, -851955, 1, 0, -720912, 1, 0, -786419, 1, 0, -655376, 1, 0, -720883, 1, 0, -589840, 1, 0, -589831, 0, 0, -589830, 0, 1, -589829, 0, 1, -589828, 0, 1, -589827, 0, 1, -589826, 0, 1, -589825, 0, 1, -655360, 0, 1, -655359, 0, 1, -655358, 0, 1, -655357, 0, 1, -655356, 0, 1, -655355, 0, 0, -655352, 0, 0, -655351, 1, 0, -655350, 1, 0, -655349, 1, 0, -655348, 1, 0, -655347, 1, 0, -524304, 1, 0, -524296, 0, 0, -524295, 0, 1, -589816, 0, 1, -458768, 1, 0, -458761, 0, 0, -458760, 0, 1, -524280, 0, 1, -393232, 1, 0, -393226, 0, 0, -393225, 0, 1, -458744, 0, 1, -327696, 1, 0, -327695, 1, 0, -327694, 1, 0, -327693, 1, 0, -327692, 1, 0, -327691, 0, 0, -327690, 0, 1, -393213, 0, 0, -393212, 0, 1, -393211, 0, 1, -393210, 0, 1, -393209, 0, 1, -393208, 0, 0, -262155, 0, 1, -327677, 0, 1, -196619, 0, 1, -262141, 0, 1, -131083, 0, 1, -196605, 0, 1, -65547, 0, 1, -65539, 0, 0, -65538, 0, 1, -65537, 0, 1, -131072, 0, 1, -131071, 0, 1, -131070, 0, 1, -131069, 0, 0, -11, 0, 1, -3, 0, 1, 65525, 0, 1, 65533, 0, 1, 131061, 0, 1, 131069, 0, 1, 196597, 0, 0, 196598, 0, 1, 196599, 0, 1, 196600, 0, 1, 196601, 0, 1, 196602, 0, 1, 196603, 0, 1, 196604, 0, 1, 196605, 0, 0 )
[node name="SpikeTileMap" parent="." instance=ExtResource( 5 )]
[node name="DetailTileMap" parent="." instance=ExtResource( 2 )]
z_index = -11
tile_data = PoolIntArray( -720912, 5, 0, -720911, 5, 0, -720910, -2147483643, 0, -720909, 5, 0, -720908, -2147483643, 0, -720907, -536870907, 2, -720898, 5, 1, -655376, -1073741819, 0, -655375, -2147483643, 0, -655374, -1073741819, 0, -655373, -2147483643, 0, -655372, -536870907, 2, -655362, 5, 1, -655361, -1610612731, 2, -589840, 5, 0, -589839, 5, 0, -589838, -1073741819, 0, -589837, 1610612741, 2, -524290, 5, 1, -458755, -1073741819, 2, -458754, 1610612741, 1, -458753, -1610612731, 1, -524288, -1610612731, 1, -524287, -1610612731, 2, -393231, 5, 2, -393227, 5, 2, -393221, 5, 2, -393218, 5, 1, -393217, 1610612741, 2, -458751, 1610612741, 2, -458747, 5, 2, -458746, 1610612741, 0, -458745, -1610612731, 2, -327696, -1610612731, 1, -327695, -1610612731, 1, -327694, -1610612731, 1, -327693, -1610612731, 1, -327692, -1610612731, 1, -327689, -536870907, 2, -327686, -1073741819, 0, -327685, -1073741819, 0, -327684, -1073741819, 0, -327682, 5, 1, -262157, 1073741829, 2, -262154, 1610612741, 2, -262151, -1073741819, 2, -262150, -1073741819, 0, -262149, -1073741819, 0, -262148, -1073741819, 0, -262147, -1610612731, 1, -262146, -1610612731, 1, -262145, -1610612731, 1, -327680, -1610612731, 2, -327675, -1073741819, 2, -327674, 1610612741, 1, -327673, 1610612741, 2, -196620, 536870916, 3, -196618, 536870916, 2, -196614, -1073741819, 0, -196613, -1073741819, 0, -196612, -1073741819, 0, -196610, 1610612741, 2, -262138, 1610612741, 1, -262135, 536870917, 2, -262132, 536870917, 2, -131085, 536870916, 3, -131084, 4, 0, -131081, 5, 2, -131080, 5, 0, -131077, 1610612741, 2, -196602, 1610612741, 1, -196601, -1073741819, 1, -196600, -1073741819, 1, -196599, -1073741819, 1, -196598, -1073741819, 1, -196597, -1073741819, 1, -196596, -1073741819, 1, -196595, -1073741819, 1, -65550, 536870916, 3, -65549, 536870916, 1, -65548, 536870916, 2, -65545, -1610612731, 0, -65544, 5, 0, -65543, -1610612731, 2, -131066, 1610612741, 2, -131061, 1610612741, 2, -14, 4, 2, -13, 536870916, 0, -9, -1073741819, 2, -8, 5, 0, -7, 1610612741, 0, -6, -1610612731, 2, 65522, 4, 2, 65523, 536870916, 1, 65524, 4, 3, 65529, 1610612741, 1, 65532, 536870916, 3, 65534, 4, 3, 131059, 4, 2, 131060, 536870916, 0, 131062, 4, 3, 131064, -2147483643, 2, 131065, 1610612741, 1, 131067, 536870916, 3, 131068, 4, 0, 131070, 536870916, 0, 196592, 5, 0, 196593, 5, 0, 196594, -1610612731, 2, 196596, 4, 2, 196606, 4, 1, 196607, 536870916, 2, 262128, 5, 0, 262129, 1073741829, 0, 262130, -1610612731, 0, 262132, 4, 2, 262133, 4, 1, 262134, 536870916, 2, 262137, 1610612741, 1, 262138, -536870907, 2, 262139, 4, 2, 262140, 4, 3, 262141, 4, 2, 262142, 536870916, 2, 327664, 5, 0, 327665, 1073741829, 0, 327666, -1610612731, 0, 327668, 4, 2, 327669, 536870916, 2, 327673, 1610612741, 1 )
[node name="ObscureMap" parent="." instance=ExtResource( 4 )]
tile_data = PoolIntArray( -917519, 536870912, 0, -917518, 536870912, 0, -917517, 536870912, 0, -917516, 536870912, 0, -917515, 536870912, 0, -917514, 536870912, 0, -917513, 536870912, 0, -917512, 536870912, 0, -917511, 536870912, 0, -917510, 536870912, 0, -917509, 536870912, 0, -917508, 536870912, 0, -917507, 536870912, 0, -917506, 536870912, 0, -917505, 536870912, 0, -983040, 536870912, 0, -983039, 536870912, 0, -983038, 536870912, 0, -983037, 536870912, 0, -983036, 536870912, 0, -983035, 536870912, 0, -983034, 536870912, 0, -983033, 536870912, 0, -983032, 536870912, 0, -983031, 536870912, 0, -983030, 536870912, 0, -983029, 536870912, 0, -983028, 536870912, 0, -851983, 536870912, 0, -851982, 536870912, 0, -851981, 536870912, 0, -851980, 536870912, 0, -851979, 536870912, 0, -851978, 536870912, 0, -851977, 536870912, 0, -851976, 536870912, 0, -851975, 536870912, 0, -851974, 536870912, 0, -851973, 536870912, 0, -851972, 536870912, 0, -851971, 536870912, 0, -851970, 536870912, 0, -851969, 536870912, 0, -917504, 536870912, 0, -917503, 536870912, 0, -917502, 536870912, 0, -917501, 536870912, 0, -917500, 536870912, 0, -917499, 536870912, 0, -917498, 536870912, 0, -917497, 536870912, 0, -917496, 536870912, 0, -917495, 536870912, 0, -917494, 536870912, 0, -917493, 536870912, 0, -917492, 536870912, 0, -786447, 536870912, 0, -786446, 536870912, 0, -786445, 536870912, 0, -786444, 536870912, 0, -786443, 536870912, 0, -786442, 536870912, 0, -786441, 536870912, 0, -786440, 536870912, 0, -786439, 536870912, 0, -786438, 536870912, 0, -786437, 536870912, 0, -786436, 536870912, 0, -786435, 536870912, 0, -786434, 536870912, 0, -786433, 536870912, 0, -851968, 536870912, 0, -851967, 536870912, 0, -851966, 536870912, 0, -851965, 536870912, 0, -851964, 536870912, 0, -851963, 536870912, 0, -851962, 536870912, 0, -851961, 536870912, 0, -851960, 536870912, 0, -851959, 536870912, 0, -851958, 536870912, 0, -851957, 536870912, 0, -851956, 536870912, 0, -720911, 536870912, 0, -720910, 536870912, 0, -720909, 536870912, 0, -720908, 536870912, 0, -720907, 536870912, 0, -720906, 536870912, 0, -720905, 536870912, 0, -720904, 536870912, 0, -720903, 536870912, 0, -720902, 536870912, 0, -720901, 536870912, 0, -720900, 536870912, 0, -720899, 536870912, 0, -720898, 536870912, 0, -720897, 536870912, 0, -786432, 536870912, 0, -786431, 536870912, 0, -786430, 536870912, 0, -786429, 536870912, 0, -786428, 536870912, 0, -786427, 536870912, 0, -786426, 536870912, 0, -786425, 536870912, 0, -786424, 536870912, 0, -786423, 536870912, 0, -786422, 536870912, 0, -786421, 536870912, 0, -786420, 536870912, 0, -655375, 536870912, 0, -655374, 536870912, 0, -655373, 536870912, 0, -655372, 536870912, 0, -655371, 536870912, 0, -655370, 536870912, 0, -655369, 536870912, 0, -655368, 536870912, 0, -655367, 536870912, 0, -655366, 536870912, 0, -655365, 536870912, 0, -655364, 536870912, 0, -655363, 536870912, 0, -655362, 536870912, 0, -655361, 536870912, 0, -720896, 536870912, 0, -720895, 536870912, 0, -720894, 536870912, 0, -720893, 536870912, 0, -720892, 536870912, 0, -720891, 536870912, 0, -720890, 536870912, 0, -720889, 536870912, 0, -720888, 536870912, 0, -720887, 536870912, 0, -720886, 536870912, 0, -720885, 536870912, 0, -720884, 536870912, 0, -589839, 536870912, 0, -589838, 536870912, 0, -589837, 536870912, 0, -589836, 536870912, 0, -589835, 536870912, 0, -589834, 536870912, 0, -589833, 536870912, 0, -589832, 536870912, 0, -655354, 2, 3, -655353, 536870914, 3, -524303, 536870912, 0, -524302, 536870912, 0, -524301, 536870912, 0, -524300, 536870912, 0, -524299, 536870912, 0, -524298, 536870912, 0, -524297, 536870912, 0, -458767, 536870912, 0, -458766, 536870912, 0, -458765, 536870912, 0, -458764, 536870912, 0, -458763, 536870912, 0, -458762, 536870912, 0, -393231, 536870912, 0, -393230, 536870912, 0, -393229, 536870912, 0, -393228, 536870912, 0, -393227, 536870912, 0 )
@ -31,7 +32,7 @@ position = Vector2( -8, -28 )
[node name="Actors" type="Node2D" parent="."]
[node name="Player" parent="Actors" instance=ExtResource( 6 )]
position = Vector2( -4, -24 )
position = Vector2( 5, -24 )
[node name="Exit" parent="Actors" instance=ExtResource( 7 )]
position = Vector2( 49, -63 )
@ -40,6 +41,6 @@ position = Vector2( 49, -63 )
position = Vector2( -76, 8 )
[node name="Note" parent="Actors" instance=ExtResource( 9 )]
position = Vector2( -109, -69 )
position = Vector2( -109, -61 )
[editable path="GameCamera"]

View file

@ -43,6 +43,9 @@ export var timeout_mod := 1.0
var screen_time := 0.0
var loading_time := 0.0
export var color_gem := Color("ffec27")
export var color_new := Color("83769c")
func _ready():
Leaderboard.connect("new_score", self, "new_score")
SilentWolf.Scores.connect("sw_scores_received", self, "new_score")
@ -161,7 +164,7 @@ func make_screen(i := 0):
var is_time := Shared.map_times.has(map_name)
new.get_node("Overlay/Time").visible = is_time
new.get_node("Overlay/Gem").visible = is_time
new.get_node("Overlay/Gem").modulate = color_gem if is_time else color_new
if is_time:
new.get_node("Overlay/Time/Label").text = time_to_string(Shared.map_times[map_name])

View file

@ -166,13 +166,13 @@ text = "12:34"
align = 2
[node name="Gem" type="Control" parent="Control/Screen/Overlay"]
modulate = Color( 0.513726, 0.462745, 0.611765, 1 )
margin_left = 136.0
margin_top = 96.0
margin_right = 136.0
margin_bottom = 96.0
[node name="Sprite" type="Sprite" parent="Control/Screen/Overlay/Gem"]
modulate = Color( 1, 0.92549, 0.152941, 1 )
material = SubResource( 9 )
position = Vector2( -12, -12 )
texture = ExtResource( 8 )