Fixed a weird bug with checkpoints in the level editor + some tile fixes too

This commit is contained in:
JHDev2006
2025-09-19 17:36:18 +01:00
parent 561a3239f9
commit 394d8fa620
9 changed files with 2 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.8 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

@@ -351,6 +351,7 @@ func save_level() -> void:
$LevelSaver.write_file(level_file, file_name) $LevelSaver.write_file(level_file, file_name)
%SaveDialog.text = str("'") + file_name + "'" + " Saved." %SaveDialog.text = str("'") + file_name + "'" + " Saved."
%SaveAnimation.play("Show") %SaveAnimation.play("Show")
current_state = EditorState.TILE_MENU
level_saved.emit() level_saved.emit()
func close_save_menu() -> void: func close_save_menu() -> void:

View File

@@ -15,6 +15,7 @@ func _ready() -> void:
func load_level(level_idx := 0) -> void: func load_level(level_idx := 0) -> void:
clear_level() clear_level()
editor.sub_level_id = level_idx
sub_level_file = editor.level_file["Levels"][level_idx] sub_level_file = editor.level_file["Levels"][level_idx]
build_level() build_level()