added wave viewer which required adding determinism to wave generation
This commit is contained in:
@@ -10,7 +10,7 @@ random_pitch = 1.1
|
||||
streams_count = 1
|
||||
stream_0/stream = ExtResource("6_6nu57")
|
||||
|
||||
[node name="singleplayer_lobby" type="Control" node_paths=PackedStringArray("chatbox", "audio_player")]
|
||||
[node name="singleplayer_lobby" type="Control" node_paths=PackedStringArray("audio_player")]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
@@ -20,18 +20,8 @@ grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
script = ExtResource("1_nd17k")
|
||||
character_select_screen = ExtResource("6_ltm04")
|
||||
chatbox = NodePath("Chatbox")
|
||||
audio_player = NodePath("AudioStreamPlayer")
|
||||
|
||||
[node name="Chatbox" parent="." instance=ExtResource("3_l8xy3")]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.02
|
||||
anchor_top = 0.65
|
||||
anchor_right = 0.4
|
||||
anchor_bottom = 0.98
|
||||
grow_horizontal = 1
|
||||
grow_vertical = 1
|
||||
chatbox_scene = ExtResource("3_l8xy3")
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
stream = SubResource("AudioStreamRandomizer_g5har")
|
||||
|
||||
@@ -29,7 +29,7 @@ func _on_static_body_3d_button_interacted(_value: int, callback: Hero) -> void:
|
||||
func output(cards_to_remove: Array[Card], cards_to_add: Array[Card], amount_spent: int) -> void:
|
||||
for card: Card in cards_to_remove:
|
||||
reply_player.hand.contents.erase(card)
|
||||
reply_player.check_removal()
|
||||
reply_player.hud.hot_wheel.update_cassettes(reply_player.get_wheel_cards())
|
||||
for card: Card in cards_to_add:
|
||||
reply_player.add_card(card)
|
||||
reply_player.currency -= amount_spent
|
||||
|
||||
Reference in New Issue
Block a user