Implemented Pillbug/Mosquito actions. Implemented pre-game settings. TODO: Game settings + bug testing

This commit is contained in:
Sch1nken 2024-03-30 01:43:38 +01:00
parent 397082f966
commit 2343638749
15 changed files with 477 additions and 70 deletions

View file

@ -12,6 +12,12 @@ var allow_selecting_in_stack: bool = false
var lobby_code: String = ""
var is_host_black: bool = false
var use_ladybug_extension: bool = false
var use_mosquito_extension: bool = false
var use_pillbug_extension: bool = false
# false as key = white
# true as key = black
@ -27,3 +33,7 @@ func reset() -> void:
disconnect_reason = ""
bees_placed = {}
peer_id = 1
use_ladybug_extension = false
use_mosquito_extension = false
use_pillbug_extension = false
is_host_black = false

View file

@ -19,6 +19,8 @@ signal choose_action_or_move(tile, has_action_targets, has_move_targets)
signal insect_tile_move_started(tile)
signal insect_tile_action_started(tile)
signal show_move_error(error)
# Turn started could work implicitly? We'll see...
signal pass_round
signal turn_started(turn_num, map, is_blacks_turn)