update to godot 4.5
This commit is contained in:
parent
67e71181f6
commit
dd69287497
16 changed files with 137 additions and 24 deletions
|
|
@ -87,7 +87,7 @@ func _ready() -> void:
|
|||
if autoload_fresh_game:
|
||||
start_fresh()
|
||||
if artwork_texture == null:
|
||||
artwork_texture = NewGamePanel.default_artwork_texture
|
||||
artwork_texture = NewGamePanel. default_artwork_texture
|
||||
new_game(NewGamePanel.normal_columns, NewGamePanel.normal_rows, NewGamePanel.normal_iterations, artwork_texture)
|
||||
|
||||
func _unhandled_input(event):
|
||||
|
|
@ -218,7 +218,7 @@ func sliding_piece_for_direction(direction) -> Piece:
|
|||
|
||||
if (destination.x < 0 || destination.x >= columns
|
||||
|| destination.y < 0 || destination.y >= rows):
|
||||
print("\/!\\ Impossible move")
|
||||
print("/!\\ Impossible move")
|
||||
return null
|
||||
|
||||
var piece = pieces[destination.x][destination.y]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue