tilemap-editor 5.2.1__tar.gz → 5.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/CHANGELOG.md +16 -0
- tilemap_editor-5.3.0/LICENSE +21 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/MANIFEST.in +1 -0
- {tilemap_editor-5.2.1/src/tilemap_editor.egg-info → tilemap_editor-5.3.0}/PKG-INFO +4 -2
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/README.md +1 -0
- tilemap_editor-5.3.0/assets/icons/free.svg +5 -0
- tilemap_editor-5.3.0/assets/icons/region.svg +5 -0
- tilemap_editor-5.3.0/assets/icons/sparkle.svg +1 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/pyproject.toml +13 -2
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/editor.py +192 -16
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/layers.py +181 -24
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/node_manager.py +18 -1
- tilemap_editor-5.3.0/src/plugins/character_collision/collision_thumbs.py +142 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/character_collision/editor.py +154 -58
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/character_collision/shape_editor.py +166 -137
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/object_tileset_collision/editor.py +3 -2
- tilemap_editor-5.3.0/src/plugins/particle_editor/__init__.py +49 -0
- tilemap_editor-5.3.0/src/plugins/particle_editor/__main__.py +5 -0
- tilemap_editor-5.3.0/src/plugins/particle_editor/controls.py +469 -0
- tilemap_editor-5.3.0/src/plugins/particle_editor/editor.py +1276 -0
- tilemap_editor-5.3.0/src/plugins/particle_editor/essentials.particles.json +840 -0
- tilemap_editor-5.3.0/src/plugins/particle_editor/models.py +479 -0
- tilemap_editor-5.3.0/src/plugins/particle_editor/presets.py +794 -0
- tilemap_editor-5.3.0/src/plugins/particle_editor/preview.py +168 -0
- tilemap_editor-5.3.0/src/plugins/particle_editor/sim.py +259 -0
- tilemap_editor-5.3.0/src/plugins/particle_editor/standalone.py +173 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/sprite_animation/editor.py +326 -110
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/sprite_animation/frame_picker.py +36 -6
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/sprite_animation/standalone.py +10 -5
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/sprite_editor/clipboard.py +35 -23
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/sprite_editor/commands.py +137 -50
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/sprite_editor/document.py +190 -88
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/sprite_editor/editor.py +458 -130
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/sprite_editor/overlays.py +18 -11
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/sprite_editor/tools.py +1180 -58
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/sprite_editor/viewport.py +112 -43
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/tile_alias/editor.py +3 -2
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/tileset_collision/collision_painter.py +220 -107
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/tileset_collision/editor.py +112 -12
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/tileset_collision/models.py +9 -2
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/standalone_error_console.py +6 -6
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap.py +66 -3
- tilemap_editor-5.3.0/src/tilemap_editor/assets/icons/free.svg +5 -0
- tilemap_editor-5.3.0/src/tilemap_editor/assets/icons/region.svg +5 -0
- tilemap_editor-5.3.0/src/tilemap_editor/assets/icons/sparkle.svg +1 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/cli.py +3 -1
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0/src/tilemap_editor.egg-info}/PKG-INFO +4 -2
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor.egg-info/SOURCES.txt +48 -1
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor.egg-info/entry_points.txt +1 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/ttypes/tilemap.py +15 -8
- tilemap_editor-5.3.0/src/utils/shortcuts.py +11 -0
- tilemap_editor-5.3.0/src/utils/tile_anim.py +389 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/autotiler.py +276 -76
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/filemanager.py +20 -4
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/input.py +4 -3
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/layer_selector.py +15 -11
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/mapsetup.py +17 -0
- tilemap_editor-5.3.0/src/widgets/particle_presets.py +26 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/particle_system.py +135 -27
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/tile_grid.py +1074 -350
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/tile_selector.py +106 -11
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/ui/collision_layer_sidebar.py +9 -6
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/ui/menubar.py +9 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/ui/mode_indicator.py +23 -4
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/ui/node_editor.py +121 -74
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/ui/property_editor.py +179 -131
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/ui/region_selector.py +2 -1
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/ui/scrollbar.py +3 -1
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/ui/tileset_type_dialog.py +52 -44
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/ui/toolbar.py +7 -2
- tilemap_editor-5.3.0/src/widgets/ui/toolbar_layout.py +212 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/ui/tree_widget.py +66 -11
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_alias_composer.py +0 -4
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_alias_format.py +0 -1
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_alias_palette.py +0 -3
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_animation_library_grid_offset.py +0 -2
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_autotile_group_delete.py +0 -1
- tilemap_editor-5.3.0/tests/test_autotile_group_scroll_tmp.py +68 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_autotile_ownership.py +0 -4
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_autotile_rules.py +0 -1
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_autotile_subcases.py +0 -1
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_autotile_templates.py +0 -1
- tilemap_editor-5.3.0/tests/test_button.py +106 -0
- tilemap_editor-5.3.0/tests/test_character_collision_toast.py +95 -0
- tilemap_editor-5.3.0/tests/test_character_collision_view.py +240 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_collision_layer_mask.py +0 -3
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_collision_layer_sidebar.py +0 -3
- tilemap_editor-5.3.0/tests/test_collision_tree.py +83 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_context_dispatch.py +46 -13
- tilemap_editor-5.3.0/tests/test_dice_brush.py +459 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_edit_menu.py +4 -7
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_editor_pan_mode.py +0 -4
- tilemap_editor-5.3.0/tests/test_filemanager_ui.py +198 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_fill_tool.py +0 -1
- tilemap_editor-5.3.0/tests/test_frame_picker_fit.py +52 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_history_nodes.py +0 -1
- tilemap_editor-5.3.0/tests/test_image_layers.py +214 -0
- tilemap_editor-5.3.0/tests/test_image_placements_ux.py +234 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_key_conflicts.py +11 -3
- tilemap_editor-5.3.0/tests/test_layer_selector_keys.py +294 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_layer_selector_ops.py +0 -1
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_layers_autotile.py +79 -1
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_line_tool.py +11 -2
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_map_resize_model.py +0 -2
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_minimap.py +0 -4
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_natural_sort.py +0 -3
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_node_hotkeys.py +0 -8
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_node_panels.py +6 -10
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_object_animation.py +0 -3
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_object_properties_context.py +0 -3
- tilemap_editor-5.3.0/tests/test_particle_controls.py +39 -0
- tilemap_editor-5.3.0/tests/test_particle_models.py +209 -0
- tilemap_editor-5.3.0/tests/test_particle_nodes.py +305 -0
- tilemap_editor-5.3.0/tests/test_particle_presets.py +118 -0
- tilemap_editor-5.3.0/tests/test_particle_sim.py +449 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_pick_tool.py +0 -1
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_project_paths.py +0 -1
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_rect_fill.py +9 -4
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_render_scale.py +0 -2
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_replace_variant.py +0 -1
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_sandbox_mode.py +0 -2
- tilemap_editor-5.3.0/tests/test_scrollbar.py +118 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_serialization_regression.py +0 -1
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_settings_migration.py +0 -2
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_sprite_animation_editor_grid.py +0 -4
- tilemap_editor-5.3.0/tests/test_sprite_animation_export_tanim.py +242 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_sprite_animation_gestures.py +0 -3
- tilemap_editor-5.3.0/tests/test_sprite_animation_toolbar.py +125 -0
- tilemap_editor-5.3.0/tests/test_sprite_editor_color.py +207 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_sprite_editor_commands.py +101 -3
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_sprite_editor_drop.py +7 -10
- tilemap_editor-5.3.0/tests/test_sprite_editor_free_mode.py +721 -0
- tilemap_editor-5.3.0/tests/test_sprite_editor_grid_align.py +199 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_sprite_editor_models.py +0 -3
- tilemap_editor-5.3.0/tests/test_sprite_editor_stack.py +278 -0
- tilemap_editor-5.3.0/tests/test_sprite_editor_toolbar.py +144 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_theme.py +0 -3
- tilemap_editor-5.3.0/tests/test_tile_anim.py +267 -0
- tilemap_editor-5.3.0/tests/test_tile_grid_align.py +303 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_tile_grid_selection.py +231 -270
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_tile_selector_pick.py +0 -4
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_tilemap_save.py +0 -2
- tilemap_editor-5.3.0/tests/test_tileset_batch_import.py +233 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_tileset_collision_flip.py +68 -4
- tilemap_editor-5.3.0/tests/test_tileset_collision_seam.py +140 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_tileset_hierarchy.py +0 -3
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_tileset_integrity.py +0 -4
- tilemap_editor-5.3.0/tests/test_tileset_neighbor_trace.py +193 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_timeline_invalidate_cache.py +0 -4
- tilemap_editor-5.3.0/tests/test_toast.py +63 -0
- tilemap_editor-5.3.0/tests/test_tool_manager.py +54 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_tool_shortcuts.py +0 -8
- tilemap_editor-5.3.0/tests/test_toolbar_layout.py +171 -0
- tilemap_editor-5.3.0/tests/test_toolbar_tools.py +144 -0
- tilemap_editor-5.3.0/tests/test_unicode.py +45 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_view_menu.py +16 -8
- tilemap_editor-5.2.1/LICENSE +0 -24
- tilemap_editor-5.2.1/src/widgets/particle_presets.py +0 -2420
- tilemap_editor-5.2.1/tests/test_dice_brush.py +0 -250
- tilemap_editor-5.2.1/tests/test_filemanager_ui.py +0 -303
- tilemap_editor-5.2.1/tests/test_image_layers.py +0 -92
- tilemap_editor-5.2.1/tests/test_layer_selector_keys.py +0 -145
- tilemap_editor-5.2.1/tests/test_sprite_editor_interaction.py +0 -829
- tilemap_editor-5.2.1/tests/test_sprite_editor_stack.py +0 -168
- tilemap_editor-5.2.1/tests/test_toolbar_tools.py +0 -394
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/fonts/jetbrain-fonts/JetBrainsMono-Bold.ttf +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/fonts/jetbrain-fonts/JetBrainsMono-BoldItalic.ttf +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/fonts/jetbrain-fonts/JetBrainsMono-Italic.ttf +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/fonts/jetbrain-fonts/JetBrainsMono-Regular.ttf +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/fonts/noto/NotoSans-Bold.ttf +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/fonts/noto/NotoSans-BoldItalic.ttf +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/fonts/noto/NotoSans-Italic.ttf +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/fonts/noto/NotoSans-Regular.ttf +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/arrow-down.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/check.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/checked.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/close.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/duplicate.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/error.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/file.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/filedead.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/fill.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/fit.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/folder.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/grid.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/image.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/info.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/load.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/loop.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/onion.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/pan.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/pause.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/pencil.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/pick.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/play.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/plus.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/radio.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/reset.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/save.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/skip-back.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/skip-forward.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/stop.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/tilemap.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/tileset.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/unchecked.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/warning.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/zoomin.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/assets/icons/zoomout.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/setup.cfg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/aliases.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/constants.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/event_map.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/main.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/nodes.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/__init__.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/character_collision/__init__.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/character_collision/models.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/character_collision/protocols.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/character_collision/standalone.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/object_tileset_collision/__init__.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/object_tileset_collision/models.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/object_tileset_collision/protocols.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/object_tileset_collision/standalone.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/sprite_animation/__init__.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/sprite_animation/__main__.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/sprite_animation/clipboard_util.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/sprite_animation/models.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/sprite_animation/preview.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/sprite_animation/protocols.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/sprite_animation/runtime_load.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/sprite_animation/timeline.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/sprite_animation/validation.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/sprite_editor/__init__.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/sprite_editor/camera.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/sprite_editor/dialogs.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/sprite_editor/region_export.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/sprite_editor/selection.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/sprite_editor/standalone.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/tile_alias/__init__.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/tile_alias/standalone.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/tileset_collision/__init__.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/tileset_collision/protocols.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/plugins/tileset_collision/standalone.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/run.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/standalone_automap.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/standalone_filemanager.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/standalone_image_viewer.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/standalone_marker_palette.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/__init__.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/__main__.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/__init__.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/fonts/jetbrain-fonts/JetBrainsMono-Bold.ttf +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/fonts/jetbrain-fonts/JetBrainsMono-BoldItalic.ttf +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/fonts/jetbrain-fonts/JetBrainsMono-Italic.ttf +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/fonts/jetbrain-fonts/JetBrainsMono-Regular.ttf +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/fonts/noto/NotoSans-Bold.ttf +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/fonts/noto/NotoSans-BoldItalic.ttf +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/fonts/noto/NotoSans-Italic.ttf +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/fonts/noto/NotoSans-Regular.ttf +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/ToolMove.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/arrow-down.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/check.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/checked.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/close.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/dice.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/duplicate.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/error.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/file.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/filedead.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/fill.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/fit.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/fold_down_arrow.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/folder.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/gear.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/grid.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/image.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/info.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/line.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/load.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/loop.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/miniobj.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/onion.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/pan.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/pause.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/pencil.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/pick.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/play.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/plus.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/radio.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/rect.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/redo.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/reset.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/save.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/skip-back.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/skip-forward.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/stop.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/text.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/tilemap.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/tileset.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/unchecked.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/undo.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/unfold_right_arrow.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/warning.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/zoomin.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/assets/icons/zoomout.svg +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/main.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor/settings.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor.egg-info/dependency_links.txt +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor.egg-info/requires.txt +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/tilemap_editor.egg-info/top_level.txt +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/ttypes/__init__.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/utils/__init__.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/utils/context_dispatch.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/utils/editor_preference.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/utils/error_handler.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/utils/font_manager.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/utils/history.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/utils/icon_manager.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/utils/icons_cache.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/utils/log_capture.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/utils/natural_sort.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/utils/project_paths.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/utils/property_suggestions.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/utils/serialization.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/utils/standalone.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/utils/tileset_hierarchy.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/utils/tileset_ops.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/utils/validation.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/__init__.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/automap_models.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/autotile_template.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/map_properties.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/minimap.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/regex_automap_designer.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/ui/alias_palette.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/ui/button.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/ui/checkbox.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/ui/collision_layer_mask.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/ui/confirm_dialog.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/ui/context_menu.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/ui/dialog_base.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/ui/drag_tracker.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/ui/draw_utils.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/ui/fileinput.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/ui/label.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/ui/layer_type_dialog.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/ui/node_selector.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/ui/notification.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/ui/particle_config_dialog.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/ui/resize_map_dialog.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/ui/sidebar_container.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/ui/splitter.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/ui/status_bar.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/ui/theme.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/ui/toast.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/ui/tool_manager.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/ui/tooltip.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/src/widgets/widget_base.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_drag_tracker.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_gid_collision.py +0 -0
- {tilemap_editor-5.2.1 → tilemap_editor-5.3.0}/tests/test_marker_palette.py +0 -0
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
3
|
<!-- towncrier release notes start -->
|
|
4
|
+
# tilemap_editor 5.3.0 (2026-09-22)
|
|
5
|
+
|
|
6
|
+
## Features
|
|
7
|
+
|
|
8
|
+
- Tile flip end to end: flip the brush with Shift+H/V, mirror placed selections in place, and keep flips through render, move preview, save, and load.
|
|
9
|
+
- Recent maps and reload: reopen recent maps on startup, reload with F5, and track unsaved changes.
|
|
10
|
+
- Sprite tools: crop, flip, and probe tiles; collision image paths stay relative so maps stay portable.
|
|
11
|
+
- Image copies: duplicate, remove, and cycle copies, with grid snap and seam-exact placement ghosts.
|
|
12
|
+
- Particle editor: standalone editor with viewer integration.
|
|
13
|
+
- Toolbar and paint upgrades: toolbar layout engine, free pixel mode, and batch tileset import.
|
|
14
|
+
|
|
15
|
+
## Bug Fixes
|
|
16
|
+
|
|
17
|
+
- Fixed grid calculation and zoom step behavior.
|
|
18
|
+
- Fixed transient keys leaking into particle exports and preset sidecars.
|
|
19
|
+
|
|
4
20
|
# tilemap_editor 5.2.1 (2026-09-11)
|
|
5
21
|
|
|
6
22
|
## Bug Fixes
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 tilemap editor contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -2,6 +2,7 @@ include README.md
|
|
|
2
2
|
include CHANGELOG.md
|
|
3
3
|
include LICENSE
|
|
4
4
|
recursive-include src *.py
|
|
5
|
+
recursive-include src/plugins/particle_editor *.particles.json
|
|
5
6
|
recursive-include assets/icons *.svg
|
|
6
7
|
recursive-include assets/fonts *.ttf *.otf
|
|
7
8
|
global-exclude *.py[cod] __pycache__/* *.spec *.spec.bak *.sh
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tilemap-editor
|
|
3
|
-
Version: 5.
|
|
3
|
+
Version: 5.3.0
|
|
4
4
|
Summary: Pygame tilemap editor with collision, animation, sprite & particle tools
|
|
5
5
|
Author: tilemap editor contributors
|
|
6
|
-
License:
|
|
6
|
+
License: MIT
|
|
7
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
7
8
|
Classifier: Programming Language :: Python :: 3
|
|
8
9
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
9
10
|
Classifier: Topic :: Games/Entertainment
|
|
@@ -17,6 +18,7 @@ Requires-Dist: towncrier; extra == "dev"
|
|
|
17
18
|
Dynamic: license-file
|
|
18
19
|
|
|
19
20
|
# tilemap-editor
|
|
21
|
+
<img width="2832" height="1746" alt="image" src="https://github.com/user-attachments/assets/7da34b28-da45-4993-a09f-bdbd7085352c" />
|
|
20
22
|
|
|
21
23
|
`tilemap-editor` is a pygame-based map editor focused on fast iteration for 2D games.
|
|
22
24
|
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<!-- Adapted from the Godot engine RemoteTransform2D editor icon
|
|
2
|
+
(MIT license, https://github.com/godotengine/godot/blob/master/LICENSE.txt):
|
|
3
|
+
kept as the "free transform" glyph for Free pixel mode. Plain
|
|
4
|
+
light fill so IconManager can MULT-tint it to the theme. -->
|
|
5
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path fill="#e0e0e0" d="M8 1a8 8 0 0 0-6.928 4 1 1 0 0 0 1.733 1 6 6 0 0 1 10.39 0 1 1 0 0 0 1.733-1A8 8 0 0 0 8 1zm0 4a4 4 0 0 0-3.863 2.965 1 1 0 0 0 1.931.517 2 2 0 0 1 3.864 0 1 1 0 0 0 1.931-.517A4 4 0 0 0 8 5zm0 4a1 1 0 0 0-1 1v1H4a4 4 0 0 0 8 0H9v-1a1 1 0 0 0-1-1z"/></svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<!-- Adapted from the Godot engine RegionEdit editor icon (MIT license,
|
|
2
|
+
https://github.com/godotengine/godot/blob/master/LICENSE.txt):
|
|
3
|
+
a sheet grid with one region picked out. Recolored to a plain
|
|
4
|
+
light fill so IconManager can MULT-tint it to the theme. -->
|
|
5
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><g fill="#e0e0e0"><path d="M6 6h6v6H6z"/><path fill-opacity=".325" d="M1 1v4h4V1zm5 0v4h6V1zm7 0v4h2V1zM1 6v6h4V6zm12 0v6h2V6zM1 13v2h4v-2zm5 0v2h6v-2zm7 0v2h2v-2z"/></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path fill="#e0e0e0" d="M8 1c.6 3.2 2.2 4.8 5.4 5.4-3.2.6-4.8 2.2-5.4 5.4-.6-3.2-2.2-4.8-5.4-5.4C5.8 5.8 7.4 4.2 8 1z"/><circle fill="#e0e0e0" cx="12.6" cy="12.6" r="1.6"/></svg>
|
|
@@ -4,16 +4,17 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "tilemap-editor"
|
|
7
|
-
version = "5.
|
|
7
|
+
version = "5.3.0"
|
|
8
8
|
description = "Pygame tilemap editor with collision, animation, sprite & particle tools"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.11"
|
|
11
|
-
license = { text = "
|
|
11
|
+
license = { text = "MIT" }
|
|
12
12
|
authors = [{ name = "tilemap editor contributors" }]
|
|
13
13
|
dependencies = [
|
|
14
14
|
"pygame-ce>=2.5",
|
|
15
15
|
]
|
|
16
16
|
classifiers = [
|
|
17
|
+
"License :: OSI Approved :: MIT License",
|
|
17
18
|
"Programming Language :: Python :: 3",
|
|
18
19
|
"Programming Language :: Python :: 3 :: Only",
|
|
19
20
|
"Topic :: Games/Entertainment",
|
|
@@ -23,6 +24,7 @@ classifiers = [
|
|
|
23
24
|
[project.scripts]
|
|
24
25
|
tilemap-editor = "tilemap_editor.cli:main"
|
|
25
26
|
tilemap-anim-editor = "plugins.sprite_animation.standalone:main"
|
|
27
|
+
tilemap-particle-editor = "plugins.particle_editor.standalone:main"
|
|
26
28
|
|
|
27
29
|
[project.optional-dependencies]
|
|
28
30
|
dev = ["towncrier"]
|
|
@@ -96,6 +98,15 @@ namespaces = true
|
|
|
96
98
|
"fonts/noto/*.ttf",
|
|
97
99
|
"fonts/jetbrain-fonts/*.ttf"
|
|
98
100
|
]
|
|
101
|
+
"plugins.particle_editor" = [
|
|
102
|
+
"*.particles.json",
|
|
103
|
+
]
|
|
99
104
|
|
|
100
105
|
[tool.setuptools.exclude-package-data]
|
|
101
106
|
"*" = ["*.spec", "*.sh"]
|
|
107
|
+
|
|
108
|
+
[tool.pytest.ini_options]
|
|
109
|
+
markers = [
|
|
110
|
+
"unit: fast functional unit and integration tests",
|
|
111
|
+
"e2e: whole-flow UI interaction tests (fake editors, synthetic events)",
|
|
112
|
+
]
|
|
@@ -19,7 +19,7 @@ if sys.platform == "darwin":
|
|
|
19
19
|
os.environ.setdefault("SDL_VIDEO_MAC_SCREEN_SCALE", "1")
|
|
20
20
|
|
|
21
21
|
from constants import BASE_PATH
|
|
22
|
-
from node_manager import NodeManager
|
|
22
|
+
from node_manager import TRANSIENT_PROPERTY_KEYS, NodeManager
|
|
23
23
|
from tilemap import Tilemap
|
|
24
24
|
from tilemap_editor.settings import BUILTIN_THEMES
|
|
25
25
|
from utils import error_context, error_handler
|
|
@@ -42,7 +42,6 @@ from widgets.ui.menubar import MenuBar
|
|
|
42
42
|
from widgets.ui.node_editor import NodeEditor
|
|
43
43
|
from widgets.ui.node_selector import NodeSelector
|
|
44
44
|
from widgets.ui.notification import NotificationManager
|
|
45
|
-
from widgets.ui.particle_config_dialog import ParticleConfigDialog
|
|
46
45
|
from widgets.ui.property_editor import PropertyEditor
|
|
47
46
|
from widgets.ui.resize_map_dialog import ResizeMapDialog
|
|
48
47
|
from widgets.ui.sidebar_container import SidebarContainer, ToolbarAction
|
|
@@ -172,6 +171,14 @@ def _display_load_path(path: Path) -> Path:
|
|
|
172
171
|
return path
|
|
173
172
|
|
|
174
173
|
|
|
174
|
+
def build_particle_editor_args(node, data_root, export=None) -> list[str]:
|
|
175
|
+
"""Build argv for standalone particle editor."""
|
|
176
|
+
args = ["--data-root", str(data_root)]
|
|
177
|
+
if node is not None and export is not None:
|
|
178
|
+
args += ["--import-node", str(export), "--export-node", str(export)]
|
|
179
|
+
return args
|
|
180
|
+
|
|
181
|
+
|
|
175
182
|
class Editor:
|
|
176
183
|
def __init__(
|
|
177
184
|
self,
|
|
@@ -214,6 +221,7 @@ class Editor:
|
|
|
214
221
|
self.autotile_mode = False
|
|
215
222
|
self.node_editing_mode = False
|
|
216
223
|
self.show_nodes = False
|
|
224
|
+
self.show_particles = True
|
|
217
225
|
self.dice_brush = False
|
|
218
226
|
self.last_picked: tuple[int, int] | None = None
|
|
219
227
|
self.tool_manager = ToolManager()
|
|
@@ -251,7 +259,7 @@ class Editor:
|
|
|
251
259
|
self.context_dispatch = PropertyContextDispatcher()
|
|
252
260
|
self.error_console_process: subprocess.Popen | None = None
|
|
253
261
|
self.property_editor: PropertyEditor | None = None
|
|
254
|
-
self.
|
|
262
|
+
self._particle_exports: dict[str, Path] = {}
|
|
255
263
|
|
|
256
264
|
self.child_processes: list[subprocess.Popen] = []
|
|
257
265
|
self.file_manager_process: subprocess.Popen | None = None
|
|
@@ -325,6 +333,7 @@ class Editor:
|
|
|
325
333
|
self.node_manager = NodeManager(self)
|
|
326
334
|
self.node_selector = NodeSelector(self, 0, 65, 260, 240)
|
|
327
335
|
self.node_editor = NodeEditor(self, 0, 310, 260, 230)
|
|
336
|
+
self.maybe_load_recent()
|
|
328
337
|
|
|
329
338
|
def open_file_manager(
|
|
330
339
|
self,
|
|
@@ -466,7 +475,8 @@ class Editor:
|
|
|
466
475
|
return
|
|
467
476
|
if self.tilemap.active_project_path:
|
|
468
477
|
try:
|
|
469
|
-
self.tilemap.save_map()
|
|
478
|
+
if self.tilemap.save_map():
|
|
479
|
+
self._remember_recent(self.tilemap.active_project_path)
|
|
470
480
|
except Exception as e:
|
|
471
481
|
error_handler.capture(e, context="save_map")
|
|
472
482
|
else:
|
|
@@ -492,7 +502,8 @@ class Editor:
|
|
|
492
502
|
target = self._project_data_root / filename
|
|
493
503
|
self._sandbox_save_as(target)
|
|
494
504
|
return
|
|
495
|
-
self.tilemap.save_map(filename)
|
|
505
|
+
if self.tilemap.save_map(filename):
|
|
506
|
+
self._remember_recent(self.tilemap.active_project_path)
|
|
496
507
|
except Exception as e:
|
|
497
508
|
error_handler.capture(e, context="save_map_as")
|
|
498
509
|
|
|
@@ -501,7 +512,8 @@ class Editor:
|
|
|
501
512
|
if self.is_sandbox:
|
|
502
513
|
self._sandbox_save_as(path)
|
|
503
514
|
return
|
|
504
|
-
self.tilemap.save_map(path)
|
|
515
|
+
if self.tilemap.save_map(path):
|
|
516
|
+
self._remember_recent(self.tilemap.active_project_path)
|
|
505
517
|
except Exception as e:
|
|
506
518
|
error_handler.capture(e, context="save_map_selected")
|
|
507
519
|
|
|
@@ -743,6 +755,73 @@ class Editor:
|
|
|
743
755
|
allowed_exts=[".json", ".tmx"],
|
|
744
756
|
)
|
|
745
757
|
|
|
758
|
+
def reload_map(self):
|
|
759
|
+
"""Reload active map from disk."""
|
|
760
|
+
path = self.tilemap.active_project_path
|
|
761
|
+
if path is None:
|
|
762
|
+
self.notifications.notify("No map loaded", duration=2.0)
|
|
763
|
+
return
|
|
764
|
+
if self.loading_state["active"]:
|
|
765
|
+
return
|
|
766
|
+
if self.tilemap.has_unsaved_changes():
|
|
767
|
+
name = path.name
|
|
768
|
+
self.confirm_dialog.show(
|
|
769
|
+
title="Reload Map?",
|
|
770
|
+
message=f"Unsaved changes in {name} will be lost. Reload from disk?",
|
|
771
|
+
on_confirm=lambda: self.start_async_load_map(path),
|
|
772
|
+
on_cancel=lambda: None,
|
|
773
|
+
)
|
|
774
|
+
return
|
|
775
|
+
self.start_async_load_map(path)
|
|
776
|
+
|
|
777
|
+
def _recents_path(self) -> Path:
|
|
778
|
+
if self.data_root:
|
|
779
|
+
return self.data_root / "recents.json"
|
|
780
|
+
return BASE_PATH / "data" / "recents.json"
|
|
781
|
+
|
|
782
|
+
def _read_recents(self) -> list[Path]:
|
|
783
|
+
try:
|
|
784
|
+
rp = self._recents_path()
|
|
785
|
+
if not rp.exists():
|
|
786
|
+
return []
|
|
787
|
+
data = json.loads(rp.read_text(encoding="utf-8"))
|
|
788
|
+
if not isinstance(data, list):
|
|
789
|
+
return []
|
|
790
|
+
return [Path(p) for p in data if Path(p).exists()]
|
|
791
|
+
except Exception:
|
|
792
|
+
return []
|
|
793
|
+
|
|
794
|
+
def _write_recents(self, paths: list[Path]) -> None:
|
|
795
|
+
try:
|
|
796
|
+
rp = self._recents_path()
|
|
797
|
+
if not rp.parent.exists():
|
|
798
|
+
rp.parent.mkdir(parents=True, exist_ok=True)
|
|
799
|
+
rp.write_text(
|
|
800
|
+
json.dumps([str(p) for p in paths[:20]], indent=2),
|
|
801
|
+
encoding="utf-8",
|
|
802
|
+
)
|
|
803
|
+
except Exception as e:
|
|
804
|
+
error_handler.capture(e, context="editor_save_recents")
|
|
805
|
+
|
|
806
|
+
def _remember_recent(self, path: Path | None) -> None:
|
|
807
|
+
if path is None:
|
|
808
|
+
return
|
|
809
|
+
path = Path(path)
|
|
810
|
+
self._write_recents([path] + [p for p in self._read_recents() if p != path])
|
|
811
|
+
|
|
812
|
+
def maybe_load_recent(self) -> None:
|
|
813
|
+
"""Load the most recent map on startup; silent fallback to setup."""
|
|
814
|
+
recents = self._read_recents()
|
|
815
|
+
if not recents:
|
|
816
|
+
return
|
|
817
|
+
head, rest = recents[0], recents[1:]
|
|
818
|
+
try:
|
|
819
|
+
self.tilemap.read_map_payload(head)
|
|
820
|
+
except Exception:
|
|
821
|
+
self._write_recents(rest)
|
|
822
|
+
return
|
|
823
|
+
self.start_async_load_map(head)
|
|
824
|
+
|
|
746
825
|
def on_map_file_selected(self, path: Path):
|
|
747
826
|
self.start_async_load_map(path)
|
|
748
827
|
|
|
@@ -781,6 +860,9 @@ class Editor:
|
|
|
781
860
|
try:
|
|
782
861
|
self.handle_resize(self.width, self.height)
|
|
783
862
|
self.tilemap.apply_map_payload(path, payload_or_error)
|
|
863
|
+
self._remember_recent(path)
|
|
864
|
+
if self.map_setup_widget:
|
|
865
|
+
self.map_setup_widget.visible = False
|
|
784
866
|
if getattr(self, "is_sandbox", False):
|
|
785
867
|
self.notifications.notify(f"SANDBOX map loaded: {path.name}", duration=4.0)
|
|
786
868
|
except Exception as e:
|
|
@@ -869,11 +951,89 @@ class Editor:
|
|
|
869
951
|
if self.show_nodes:
|
|
870
952
|
self.node_editing_mode = False
|
|
871
953
|
|
|
954
|
+
def toggle_show_particles(self):
|
|
955
|
+
"""Toggle particle emitter previews on the tile grid canvas."""
|
|
956
|
+
self.show_particles = not self.show_particles
|
|
957
|
+
status = "Shown" if self.show_particles else "Hidden"
|
|
958
|
+
self.notifications.notify(f"Particle Previews {status}")
|
|
959
|
+
|
|
960
|
+
def _particle_export_path(self, node) -> Path:
|
|
961
|
+
directory = self.data_root / "particles" / ".exchange"
|
|
962
|
+
directory.mkdir(parents=True, exist_ok=True)
|
|
963
|
+
return directory / f"{node.node_id}.node.json"
|
|
964
|
+
|
|
965
|
+
def launch_particle_editor(self, node=None):
|
|
966
|
+
"""Open standalone particle editor."""
|
|
967
|
+
try:
|
|
968
|
+
args = build_particle_editor_args(node, self.data_root)
|
|
969
|
+
if node is not None:
|
|
970
|
+
export = self._particle_export_path(node)
|
|
971
|
+
try:
|
|
972
|
+
export.write_text(
|
|
973
|
+
json.dumps(
|
|
974
|
+
{
|
|
975
|
+
"name": node.name,
|
|
976
|
+
"config": {
|
|
977
|
+
k: v
|
|
978
|
+
for k, v in dict(node.properties).items()
|
|
979
|
+
if k not in TRANSIENT_PROPERTY_KEYS
|
|
980
|
+
},
|
|
981
|
+
},
|
|
982
|
+
indent=2,
|
|
983
|
+
),
|
|
984
|
+
encoding="utf-8",
|
|
985
|
+
)
|
|
986
|
+
except OSError as e:
|
|
987
|
+
self.notifications.notify(f"Particle export failed: {e}")
|
|
988
|
+
return
|
|
989
|
+
self._particle_exports[node.node_id] = export
|
|
990
|
+
args = build_particle_editor_args(node, self.data_root, export)
|
|
991
|
+
process = launch_standalone(
|
|
992
|
+
"plugins.particle_editor.standalone",
|
|
993
|
+
args,
|
|
994
|
+
cwd=self.base_path,
|
|
995
|
+
text=True,
|
|
996
|
+
)
|
|
997
|
+
self.child_processes.append(process)
|
|
998
|
+
print("Launched particle editor")
|
|
999
|
+
except Exception as e:
|
|
1000
|
+
error_handler.capture(e, context="launch_particle_editor")
|
|
1001
|
+
|
|
1002
|
+
def reload_particle_from_export(self, node) -> bool:
|
|
1003
|
+
"""Apply saved export to node. Returns True if applied."""
|
|
1004
|
+
export = self._particle_exports.get(node.node_id)
|
|
1005
|
+
if export is None or not export.is_file():
|
|
1006
|
+
self.notifications.notify(
|
|
1007
|
+
"No particle export yet - open in Particle Editor and Save first"
|
|
1008
|
+
)
|
|
1009
|
+
return False
|
|
1010
|
+
try:
|
|
1011
|
+
from plugins.particle_editor.models import normalize_config
|
|
1012
|
+
|
|
1013
|
+
payload = json.loads(export.read_text(encoding="utf-8"))
|
|
1014
|
+
config, warnings = normalize_config(payload.get("config"))
|
|
1015
|
+
node.properties.clear()
|
|
1016
|
+
node.properties.update(config)
|
|
1017
|
+
for warning in warnings:
|
|
1018
|
+
print(f"particle reload warning: {warning}")
|
|
1019
|
+
if self.tile_grid_widget:
|
|
1020
|
+
self.tile_grid_widget.reset_particle_preview(node.node_id, config)
|
|
1021
|
+
self.suggestion_registry.refresh(self)
|
|
1022
|
+
if hasattr(self.tilemap, "capture_history"):
|
|
1023
|
+
self.tilemap.capture_history("Reload Particle Export")
|
|
1024
|
+
self.notifications.notify(f"Reloaded particles for {node.name}")
|
|
1025
|
+
return True
|
|
1026
|
+
except (OSError, ValueError) as e:
|
|
1027
|
+
error_handler.capture(e, context="reload_particle_from_export")
|
|
1028
|
+
self.notifications.notify(f"Particle reload failed: {e}")
|
|
1029
|
+
return False
|
|
1030
|
+
|
|
872
1031
|
def open_map_setup(self):
|
|
873
1032
|
if self.map_setup_widget is None:
|
|
874
1033
|
logger.warning({"msg": "map_setup_widget is not initialized"})
|
|
875
1034
|
return
|
|
876
1035
|
self.map_setup_widget.visible = True
|
|
1036
|
+
self.map_setup_widget.focus_first_field()
|
|
877
1037
|
|
|
878
1038
|
def open_map_properties(self):
|
|
879
1039
|
if self.map_properties_dialog is None:
|
|
@@ -1044,10 +1204,26 @@ class Editor:
|
|
|
1044
1204
|
try:
|
|
1045
1205
|
from plugins.sprite_animation.models import AnimationLibrary
|
|
1046
1206
|
from utils.project_paths import resolve_project_path
|
|
1207
|
+
from utils.tile_anim import TileAnimFile, detect_anim_schema_file
|
|
1208
|
+
|
|
1209
|
+
schema = detect_anim_schema_file(path)
|
|
1210
|
+
if schema == "tile":
|
|
1211
|
+
tanim = TileAnimFile.load(path)
|
|
1212
|
+
spritesheet_path = tanim.tileset or None
|
|
1213
|
+
tile_size = None
|
|
1214
|
+
elif schema == "sprite":
|
|
1215
|
+
lib = AnimationLibrary.load(path)
|
|
1216
|
+
spritesheet_path = lib.spritesheet_path
|
|
1217
|
+
tile_size = lib.tile_size
|
|
1218
|
+
else:
|
|
1219
|
+
self.notifications.notify(f"Unrecognized animation file: {path.name}", duration=2.0)
|
|
1220
|
+
return
|
|
1047
1221
|
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1222
|
+
if tile_size is None and hasattr(self.tilemap, "tile_size") and self.tilemap.tile_size:
|
|
1223
|
+
tw, th = self.tilemap.tile_size
|
|
1224
|
+
tile_size = (tw, th)
|
|
1225
|
+
if tile_size is None:
|
|
1226
|
+
tile_size = (32, 32)
|
|
1051
1227
|
|
|
1052
1228
|
if spritesheet_path:
|
|
1053
1229
|
resolved = resolve_project_path(
|
|
@@ -1350,8 +1526,11 @@ class Editor:
|
|
|
1350
1526
|
def autotile_active(self):
|
|
1351
1527
|
active_layer = self.tilemap.layer_manager.get_active_layer()
|
|
1352
1528
|
if active_layer and hasattr(self, "autotiler"):
|
|
1529
|
+
from layers import build_variant_props_lookup
|
|
1530
|
+
|
|
1353
1531
|
rules = getattr(self.autotiler, "rules", [])
|
|
1354
|
-
|
|
1532
|
+
tileset_map = getattr(self.tileset_widget, "tileset_map", {})
|
|
1533
|
+
active_layer.autotile_layer(rules, build_variant_props_lookup(tileset_map))
|
|
1355
1534
|
print(f"Autotiling layer: {active_layer.name}")
|
|
1356
1535
|
|
|
1357
1536
|
def flood_fill_active(self):
|
|
@@ -1452,10 +1631,6 @@ class Editor:
|
|
|
1452
1631
|
if self.property_editor.handle_event(event):
|
|
1453
1632
|
continue
|
|
1454
1633
|
|
|
1455
|
-
if self.particle_config_dialog and self.particle_config_dialog.active:
|
|
1456
|
-
if self.particle_config_dialog.handle_event(event):
|
|
1457
|
-
continue
|
|
1458
|
-
|
|
1459
1634
|
if self.autotiler.visible:
|
|
1460
1635
|
if self.autotiler.handle_event(event):
|
|
1461
1636
|
continue
|
|
@@ -1506,6 +1681,9 @@ class Editor:
|
|
|
1506
1681
|
if event.key == pygame.K_o and (ctrl_held or meta_held):
|
|
1507
1682
|
self.perform_load()
|
|
1508
1683
|
continue
|
|
1684
|
+
if event.key == pygame.K_F5:
|
|
1685
|
+
self.reload_map()
|
|
1686
|
+
continue
|
|
1509
1687
|
if event.key == pygame.K_SPACE and (ctrl_held or meta_held):
|
|
1510
1688
|
if self.tool_manager.is_active(ToolKind.PAN):
|
|
1511
1689
|
restored = self.tool_manager.restore_previous()
|
|
@@ -1700,8 +1878,6 @@ class Editor:
|
|
|
1700
1878
|
|
|
1701
1879
|
if self.property_editor and self.property_editor.active:
|
|
1702
1880
|
self.property_editor.draw(self.screen)
|
|
1703
|
-
if self.particle_config_dialog and self.particle_config_dialog.active:
|
|
1704
|
-
self.particle_config_dialog.draw(self.screen)
|
|
1705
1881
|
self.menubar.draw(self.screen)
|
|
1706
1882
|
self.tooltip.draw(self.screen)
|
|
1707
1883
|
|