From aff18ec43cee5dac0955f83bdad3ec86d1971e56 Mon Sep 17 00:00:00 2001 From: Lilith Schier Date: Wed, 9 Sep 2026 15:58:20 +0200 Subject: [PATCH] the small --- addons/ldtk-importer/README.md | 5 + addons/ldtk-importer/ldtk-importer.gd | 329 ++ addons/ldtk-importer/ldtk-importer.gd.uid | 1 + addons/ldtk-importer/plugin.cfg | 7 + addons/ldtk-importer/plugin.gd | 19 + addons/ldtk-importer/plugin.gd.uid | 1 + .../post-import/entity-template.gd | 15 + .../post-import/entity-template.gd.uid | 1 + .../post-import/level-template.gd | 8 + .../post-import/level-template.gd.uid | 1 + .../post-import/tileset-template.gd | 9 + .../post-import/tileset-template.gd.uid | 1 + .../post-import/world-template.gd | 8 + .../post-import/world-template.gd.uid | 1 + .../src/components/ldtk-entity-layer.gd | 8 + .../src/components/ldtk-entity-layer.gd.uid | 1 + .../src/components/ldtk-entity-layer.svg | 1 + .../components/ldtk-entity-layer.svg.import | 43 + .../src/components/ldtk-entity-layer.tscn | 6 + .../src/components/ldtk-entity.gd | 96 + .../src/components/ldtk-entity.gd.uid | 1 + .../src/components/ldtk-entity.svg | 14 + .../src/components/ldtk-entity.svg.import | 43 + .../src/components/ldtk-entity.tscn | 9 + .../src/components/ldtk-level.gd | 18 + .../src/components/ldtk-level.gd.uid | 1 + .../src/components/ldtk-level.svg | 1 + .../src/components/ldtk-level.svg.import | 43 + .../src/components/ldtk-level.tscn | 6 + .../src/components/ldtk-world-layer.gd | 9 + .../src/components/ldtk-world-layer.gd.uid | 1 + .../src/components/ldtk-world-layer.tscn | 6 + .../src/components/ldtk-world.gd | 22 + .../src/components/ldtk-world.gd.uid | 1 + .../src/components/ldtk-world.svg | 1 + .../src/components/ldtk-world.svg.import | 43 + .../src/components/ldtk-world.tscn | 6 + addons/ldtk-importer/src/layer.gd | 291 ++ addons/ldtk-importer/src/layer.gd.uid | 1 + addons/ldtk-importer/src/level.gd | 198 + addons/ldtk-importer/src/level.gd.uid | 1 + addons/ldtk-importer/src/post-import.gd | 60 + addons/ldtk-importer/src/post-import.gd.uid | 1 + addons/ldtk-importer/src/tileset.gd | 352 ++ addons/ldtk-importer/src/tileset.gd.uid | 1 + .../ldtk-importer/src/util/definition_util.gd | 111 + .../src/util/definition_util.gd.uid | 1 + addons/ldtk-importer/src/util/field-util.gd | 126 + .../ldtk-importer/src/util/field-util.gd.uid | 1 + addons/ldtk-importer/src/util/layer-util.gd | 68 + .../ldtk-importer/src/util/layer-util.gd.uid | 1 + addons/ldtk-importer/src/util/level-util.gd | 54 + .../ldtk-importer/src/util/level-util.gd.uid | 1 + addons/ldtk-importer/src/util/tile-util.gd | 126 + .../ldtk-importer/src/util/tile-util.gd.uid | 1 + addons/ldtk-importer/src/util/time-util.gd | 48 + .../ldtk-importer/src/util/time-util.gd.uid | 1 + addons/ldtk-importer/src/util/util.gd | 224 + addons/ldtk-importer/src/util/util.gd.uid | 1 + addons/ldtk-importer/src/world.gd | 89 + addons/ldtk-importer/src/world.gd.uid | 1 + project.godot | 8 +- src/game.tscn | 596 +-- src/level/levels/level_0.scn | Bin 0 -> 16530 bytes src/level/levels/level_1.scn | Bin 0 -> 2716 bytes src/level/levels/level_2.scn | Bin 0 -> 12968 bytes src/level/levels/level_3.scn | Bin 0 -> 9061 bytes src/level/tiles.aseprite | 4 +- src/level/tiles.png | 4 +- src/level/tilesets/tileset_8px.res | Bin 0 -> 6701 bytes src/level/world.import | 39 + src/level/world.ldtk | 3725 +++++++++++++++++ src/level/world.ldtk.import | 39 + src/player/Player.cs | 63 +- src/player/attack_placeholder.tscn | 4 +- src/player/player.aseprite | 4 +- src/player/player.png | 4 +- src/player/player.tscn | 19 +- src/shaders/vertex_fun.gdshaderinc | 4 +- src/ui/player_hud.tscn | 3 - src/ui/poly_bar.gdshader | 3 +- src/ui/wobbly.gdshader | 2 +- 82 files changed, 6436 insertions(+), 630 deletions(-) create mode 100644 addons/ldtk-importer/README.md create mode 100644 addons/ldtk-importer/ldtk-importer.gd create mode 100644 addons/ldtk-importer/ldtk-importer.gd.uid create mode 100644 addons/ldtk-importer/plugin.cfg create mode 100644 addons/ldtk-importer/plugin.gd create mode 100644 addons/ldtk-importer/plugin.gd.uid create mode 100644 addons/ldtk-importer/post-import/entity-template.gd create mode 100644 addons/ldtk-importer/post-import/entity-template.gd.uid create mode 100644 addons/ldtk-importer/post-import/level-template.gd create mode 100644 addons/ldtk-importer/post-import/level-template.gd.uid create mode 100644 addons/ldtk-importer/post-import/tileset-template.gd create mode 100644 addons/ldtk-importer/post-import/tileset-template.gd.uid create mode 100644 addons/ldtk-importer/post-import/world-template.gd create mode 100644 addons/ldtk-importer/post-import/world-template.gd.uid create mode 100644 addons/ldtk-importer/src/components/ldtk-entity-layer.gd create mode 100644 addons/ldtk-importer/src/components/ldtk-entity-layer.gd.uid create mode 100644 addons/ldtk-importer/src/components/ldtk-entity-layer.svg create mode 100644 addons/ldtk-importer/src/components/ldtk-entity-layer.svg.import create mode 100644 addons/ldtk-importer/src/components/ldtk-entity-layer.tscn create mode 100644 addons/ldtk-importer/src/components/ldtk-entity.gd create mode 100644 addons/ldtk-importer/src/components/ldtk-entity.gd.uid create mode 100644 addons/ldtk-importer/src/components/ldtk-entity.svg create mode 100644 addons/ldtk-importer/src/components/ldtk-entity.svg.import create mode 100644 addons/ldtk-importer/src/components/ldtk-entity.tscn create mode 100644 addons/ldtk-importer/src/components/ldtk-level.gd create mode 100644 addons/ldtk-importer/src/components/ldtk-level.gd.uid create mode 100644 addons/ldtk-importer/src/components/ldtk-level.svg create mode 100644 addons/ldtk-importer/src/components/ldtk-level.svg.import create mode 100644 addons/ldtk-importer/src/components/ldtk-level.tscn create mode 100644 addons/ldtk-importer/src/components/ldtk-world-layer.gd create mode 100644 addons/ldtk-importer/src/components/ldtk-world-layer.gd.uid create mode 100644 addons/ldtk-importer/src/components/ldtk-world-layer.tscn create mode 100644 addons/ldtk-importer/src/components/ldtk-world.gd create mode 100644 addons/ldtk-importer/src/components/ldtk-world.gd.uid create mode 100644 addons/ldtk-importer/src/components/ldtk-world.svg create mode 100644 addons/ldtk-importer/src/components/ldtk-world.svg.import create mode 100644 addons/ldtk-importer/src/components/ldtk-world.tscn create mode 100644 addons/ldtk-importer/src/layer.gd create mode 100644 addons/ldtk-importer/src/layer.gd.uid create mode 100644 addons/ldtk-importer/src/level.gd create mode 100644 addons/ldtk-importer/src/level.gd.uid create mode 100644 addons/ldtk-importer/src/post-import.gd create mode 100644 addons/ldtk-importer/src/post-import.gd.uid create mode 100644 addons/ldtk-importer/src/tileset.gd create mode 100644 addons/ldtk-importer/src/tileset.gd.uid create mode 100644 addons/ldtk-importer/src/util/definition_util.gd create mode 100644 addons/ldtk-importer/src/util/definition_util.gd.uid create mode 100644 addons/ldtk-importer/src/util/field-util.gd create mode 100644 addons/ldtk-importer/src/util/field-util.gd.uid create mode 100644 addons/ldtk-importer/src/util/layer-util.gd create mode 100644 addons/ldtk-importer/src/util/layer-util.gd.uid create mode 100644 addons/ldtk-importer/src/util/level-util.gd create mode 100644 addons/ldtk-importer/src/util/level-util.gd.uid create mode 100644 addons/ldtk-importer/src/util/tile-util.gd create mode 100644 addons/ldtk-importer/src/util/tile-util.gd.uid create mode 100644 addons/ldtk-importer/src/util/time-util.gd create mode 100644 addons/ldtk-importer/src/util/time-util.gd.uid create mode 100644 addons/ldtk-importer/src/util/util.gd create mode 100644 addons/ldtk-importer/src/util/util.gd.uid create mode 100644 addons/ldtk-importer/src/world.gd create mode 100644 addons/ldtk-importer/src/world.gd.uid create mode 100644 src/level/levels/level_0.scn create mode 100644 src/level/levels/level_1.scn create mode 100644 src/level/levels/level_2.scn create mode 100644 src/level/levels/level_3.scn create mode 100644 src/level/tilesets/tileset_8px.res create mode 100644 src/level/world.import create mode 100644 src/level/world.ldtk create mode 100644 src/level/world.ldtk.import diff --git a/addons/ldtk-importer/README.md b/addons/ldtk-importer/README.md new file mode 100644 index 0000000..238e2b2 --- /dev/null +++ b/addons/ldtk-importer/README.md @@ -0,0 +1,5 @@ +# ldtk-importer / godot-ldtk + +[LDtk](https://ldtk.io/) importer for [Godot 4](https://godotengine.org/) + +[Github](https://github.com/heygleeson/godot-ldtk) diff --git a/addons/ldtk-importer/ldtk-importer.gd b/addons/ldtk-importer/ldtk-importer.gd new file mode 100644 index 0000000..31b2b07 --- /dev/null +++ b/addons/ldtk-importer/ldtk-importer.gd @@ -0,0 +1,329 @@ +@tool +extends EditorImportPlugin + +const LDTK_LATEST_VERSION = "1.5.3" + +enum Presets {DEFAULT} +enum LevelSaveExtensions { + SCN, + TSCN +} + +const Util = preload("src/util/util.gd") +const World = preload("src/world.gd") +const Level = preload("src/level.gd") +const Tileset = preload("src/tileset.gd") +const DefinitionUtil = preload("src/util/definition_util.gd") + +#region EditorImportPlugin Overrides + +#region Simple +func _get_importer_name(): + return "ldtk.import" + +func _get_visible_name(): + return "LDTK Scene" + +func _get_priority(): + return 1.0 + +func _get_import_order(): + return IMPORT_ORDER_SCENE + +func _get_resource_type(): + return "PackedScene" + +func _get_recognized_extensions(): + return ["ldtk"] + +func _get_save_extension(): + return LevelSaveExtensions.keys()[Util.options.level_save_extension].to_lower() + +func _get_preset_count(): + return Presets.size() + +func _get_preset_name(index): + match index: + Presets.DEFAULT: + return "Default" + _: + return "Unknown" + +func _get_option_visibility(path, option_name, options): + match option_name: + _: + return true + return true + +func _can_import_threaded() -> bool: + return false + +#endregion + +func _get_import_options(path, index): + return [ + # --- World --- # + {"name": "World", "default_value":"", "usage": PROPERTY_USAGE_GROUP}, + { + # Group LDTKLevels in 'LDTKWorldLayer' nodes if using LDTK's WorldDepth. + "name": "group_world_layers", + "default_value": false, + }, + # --- Levels --- # + {"name": "Level", "default_value":"", "usage": PROPERTY_USAGE_GROUP}, + { + # Save LDTKLevels as PackedScenes. + "name": "pack_levels", + "default_value": true, + }, + { + # Define LDTKLevels save extension. + "name": "level_save_extension", + "default_value": 0, + "property_hint": PROPERTY_HINT_ENUM, + "hint_string": "scn,tscn", + }, + # --- Layers --- # + {"name": "Layer", "default_value":"", "usage": PROPERTY_USAGE_GROUP}, + { + # Save LDTKLevels as PackedScenes. + "name": "layers_always_visible", + "default_value": false, + }, + # --- Tileset --- # + {"name": "Tileset", "default_value":"", "usage": PROPERTY_USAGE_GROUP}, + { + # Add LDTK Custom Data to Tilesets + "name": "tileset_custom_data", + "default_value": false, + }, + { + # Create TileAtlasSources & TileMapLayers for IntGrid Layers + "name": "integer_grid_tilesets", + "default_value": false, + }, + { + # Define default texture type for TilesetAtlasSource (e.g. to apply normal maps to tilesets after import) + "name": "atlas_texture_type", + "default_value": 0, + "property_hint": PROPERTY_HINT_ENUM, + "hint_string": "CompressedTexture2D,CanvasTexture", + }, + { + # Define Godot tileset save extension. + "name": "tileset_save_extension", + "default_value": 0, + "property_hint": PROPERTY_HINT_ENUM, + "hint_string": "res,tres", + }, + # --- Entities --- # + {"name": "Entity", "default_value":"", "usage": PROPERTY_USAGE_GROUP}, + { + # + "name": "resolve_entityrefs", + "default_value": true, + }, + { + # Create LDTKEntityPlaceholder nodes to help debug importing. + "name": "use_entity_placeholders", + "default_value": false, + }, + # --- Post Import --- # + {"name": "Post Import", "default_value":"", "usage": PROPERTY_USAGE_GROUP}, + { + # Define a post-import script to apply on imported Tilesets. + "name": "tileset_post_import", + "default_value": "", + "property_hint": PROPERTY_HINT_FILE, + "hint_string": "*.gd;GDScript" + }, + { + # Define a post-import script to apply on imported Entities. + "name": "entities_post_import", + "default_value": "", + "property_hint": PROPERTY_HINT_FILE, + "hint_string": "*.gd;GDScript" + }, + { + # Define a post-import script to apply on imported Levels. + "name": "level_post_import", + "default_value": "", + "property_hint": PROPERTY_HINT_FILE, + "hint_string": "*.gd;GDScript" + }, + { + # Define a post-import script to apply on imported Worlds. + "name": "world_post_import", + "default_value": "", + "property_hint": PROPERTY_HINT_FILE, + "hint_string": "*.gd;GDScript" + }, + # --- Debug --- # + {"name": "Debug", "default_value":"", "usage": PROPERTY_USAGE_GROUP}, + { + # Force Tilesets to be recreated, resetting modifications (if experiencing import issues) + "name": "force_tileset_reimport", + "default_value": false, + }, + { + # Debug: Enable Verbose Output (used by the importer) + "name": "verbose_output", "default_value": false + } + ] + +func _import( + source_file: String, + save_path: String, + options: Dictionary, + platform_variants: Array[String], + gen_files: Array[String] +) -> Error: + + Util.timer_reset() + Util.timer_start(Util.DebugTime.TOTAL) + Util.print("import_start", source_file) + + # Add options to static var in "Util", accessible from any script. + Util.options = options + + # Parse source_file + var base_dir := source_file.get_base_dir() + "/" + var file_name := source_file.get_file() + var world_name := file_name.split(".")[0] + + Util.timer_start(Util.DebugTime.LOAD) + var world_data := Util.parse_file(source_file) + var external_levels: bool = world_data.externalLevels + Util.timer_finish("File parsed") + + # Check version + if Util.check_version(world_data.jsonVersion, LDTK_LATEST_VERSION): + Util.print("item_ok", "LDTK VERSION (%s) OK" % [world_data.jsonVersion]) + else: + return ERR_PARSE_ERROR + + Util.timer_start(Util.DebugTime.GENERAL) + var definitions := DefinitionUtil.build_definitions(world_data) + var tileset_overrides := Tileset.get_tileset_overrides(world_data, base_dir, external_levels) + Util.timer_finish("Definitions Created") + + # Build Tilesets and save as Resources + if Util.options.verbose_output: Util.print("block", "Tilesets") + var tileset_paths := Tileset.build_tilesets(definitions, base_dir, tileset_overrides) + gen_files.append_array(tileset_paths) + + # Fetch EntityDef Tile textures + Tileset.get_entity_def_tiles(definitions, Util.tilesets) + + # Detect Multi-Worlds + var world_iid: String = world_data.iid + + var world: LDTKWorld + if world_data.worldLayout == null: + var world_nodes: Array[LDTKWorld] = [] + var world_instances: Array = world_data.worlds + # Build each world instance + for world_instance in world_instances: + var world_instance_name: String = world_instance.identifier + var world_instance_iid: String = world_instance.iid + var levels := Level.build_levels(world_instance, definitions, base_dir, external_levels) + var world_node := World.create_world(world_instance_name, world_instance_iid, levels, base_dir) + world_nodes.append(world_node) + + world = World.create_multi_world(world_name, world_iid, world_nodes) + else: + if Util.options.verbose_output: Util.print("block", "Levels") + var levels := Level.build_levels(world_data, definitions, base_dir, external_levels) + + # Save Levels (after Level Post-Import) + if (Util.options.pack_levels): + var levels_path := base_dir + 'levels/' + var directory = DirAccess.open(base_dir) + if not directory.dir_exists(levels_path): + directory.make_dir(levels_path) + + # Resolve Refs + Cleanup Resolvers. We don't want to save 'NodePathResolver' in the Level scene. + #if (Util.options.verbose_output): Util.print("block", "References") + if (Util.options.verbose_output): Util.print("block", "Save Levels") + Util.handle_references() + var packed_levels = save_levels(levels, levels_path, gen_files) + + if (Util.options.verbose_output): Util.print("block", "Save World") + world = World.create_world(world_name, world_iid, packed_levels, base_dir) + else: + if (Util.options.verbose_output): Util.print("block", "Save World") + world = World.create_world(world_name, world_iid, levels, base_dir) + + Util.handle_references() + + # Save World as PackedScene + Util.timer_start(Util.DebugTime.SAVE) + var err = save_world(world, save_path, gen_files) + Util.timer_finish("World Saved", 1) + + if Util.options.verbose_output: Util.print("block", "Results") + + Util.timer_finish("Completed.") + + var total_time: int = Util.DebugTime.get_total_time() + var result_message: String = Util.DebugTime.get_result() + + if Util.options.verbose_output: Util.print("item_info", result_message) + Util.print("import_finish", str(total_time)) + + return err + +#endregion + +func save_world( + world: LDTKWorld, + save_path: String, + gen_files: Array[String] +) -> Error: + var packed_world = PackedScene.new() + packed_world.pack(world) + + Util.print("item_save", "Saving World [color=#fe8019][i]'%s'[/i][/color]" % [save_path], 1) + + var world_path = "%s.%s" % [save_path, _get_save_extension()] + var err = ResourceSaver.save(packed_world, world_path) + if err == OK: + gen_files.append(world_path) + return err + +func save_levels( + levels: Array[LDTKLevel], + save_path: String, + gen_files: Array[String] +) -> Array[LDTKLevel]: + Util.timer_start(Util.DebugTime.SAVE) + var packed_levels: Array[LDTKLevel] = [] + + + var level_names := levels.map(func(elem): return elem.name) + Util.print("item_save", "Saving Levels: [color=#fe8019]%s[/color]" % [level_names], 1) + + for level in levels: + for child in level.get_children(): + Util.recursive_set_owner(child, level) + var level_path = save_level(level, save_path, gen_files) + var packed_level = load(level_path).instantiate() + packed_levels.append(packed_level) + + Util.timer_finish("%s Levels Saved" % [levels.size()], 1) + return packed_levels + +func save_level( + level: LDTKLevel, + save_path: String, + gen_files: Array[String] +) -> String: + var packed_level = PackedScene.new() + packed_level.pack(level) + var level_path = "%s%s.%s" % [save_path, level.name, _get_save_extension()] + + var err = ResourceSaver.save(packed_level, level_path) + if err == OK: + gen_files.append(level_path) + + return level_path diff --git a/addons/ldtk-importer/ldtk-importer.gd.uid b/addons/ldtk-importer/ldtk-importer.gd.uid new file mode 100644 index 0000000..385caac --- /dev/null +++ b/addons/ldtk-importer/ldtk-importer.gd.uid @@ -0,0 +1 @@ +uid://ci5bx3af7ceii diff --git a/addons/ldtk-importer/plugin.cfg b/addons/ldtk-importer/plugin.cfg new file mode 100644 index 0000000..fc06bfc --- /dev/null +++ b/addons/ldtk-importer/plugin.cfg @@ -0,0 +1,7 @@ +[plugin] + +name="LDTK" +description="LDtk Import plugin for Godot 4!" +author="Andy Gleeson (gleeson.dev)" +version="2.0" +script="plugin.gd" diff --git a/addons/ldtk-importer/plugin.gd b/addons/ldtk-importer/plugin.gd new file mode 100644 index 0000000..3681af8 --- /dev/null +++ b/addons/ldtk-importer/plugin.gd @@ -0,0 +1,19 @@ +@tool +extends EditorPlugin + +var ldtk_plugin +var config = ConfigFile.new() + +func _enter_tree() -> void: + ldtk_plugin = preload("ldtk-importer.gd").new() + add_import_plugin(ldtk_plugin) + + var config = ConfigFile.new() + var err = config.load("res://addons/ldtk-importer/plugin.cfg") + var version = config.get_value("plugin", "version", "0.0") + + print_rich("[color=#ffcc00]█ Godot-LDtk-Importer █[/color] %s | [url=https://gleeson.dev]@gleeson.dev[/url] | [url=https://github.com/heygleeson/godot-ldtk-importer]View on Github[/url]" % [version]) + +func _exit_tree() -> void: + remove_import_plugin(ldtk_plugin) + ldtk_plugin = null diff --git a/addons/ldtk-importer/plugin.gd.uid b/addons/ldtk-importer/plugin.gd.uid new file mode 100644 index 0000000..d9185e0 --- /dev/null +++ b/addons/ldtk-importer/plugin.gd.uid @@ -0,0 +1 @@ +uid://crysprb5a8p74 diff --git a/addons/ldtk-importer/post-import/entity-template.gd b/addons/ldtk-importer/post-import/entity-template.gd new file mode 100644 index 0000000..42d00f7 --- /dev/null +++ b/addons/ldtk-importer/post-import/entity-template.gd @@ -0,0 +1,15 @@ +@tool + +# Entity Post-Import Template for LDTK-Importer. + +func post_import(entity_layer: LDTKEntityLayer) -> LDTKEntityLayer: + var definition: Dictionary = entity_layer.definition + var entities: Array = entity_layer.entities + + print("EntityLayer: ", entity_layer.name, " | Count: ", entities.size()) + + for entity in entities: + # Perform operations here + pass + + return entity_layer diff --git a/addons/ldtk-importer/post-import/entity-template.gd.uid b/addons/ldtk-importer/post-import/entity-template.gd.uid new file mode 100644 index 0000000..5885897 --- /dev/null +++ b/addons/ldtk-importer/post-import/entity-template.gd.uid @@ -0,0 +1 @@ +uid://xm2daqcapb3 diff --git a/addons/ldtk-importer/post-import/level-template.gd b/addons/ldtk-importer/post-import/level-template.gd new file mode 100644 index 0000000..ea3f86a --- /dev/null +++ b/addons/ldtk-importer/post-import/level-template.gd @@ -0,0 +1,8 @@ +@tool + +# Level Post-Import Template for LDTK-Importer. + +func post_import(level: LDTKLevel) -> LDTKLevel: + # Behaviour goes here + print("Level: ", level) + return level diff --git a/addons/ldtk-importer/post-import/level-template.gd.uid b/addons/ldtk-importer/post-import/level-template.gd.uid new file mode 100644 index 0000000..673c209 --- /dev/null +++ b/addons/ldtk-importer/post-import/level-template.gd.uid @@ -0,0 +1 @@ +uid://gn6h3yyffwll diff --git a/addons/ldtk-importer/post-import/tileset-template.gd b/addons/ldtk-importer/post-import/tileset-template.gd new file mode 100644 index 0000000..375ee2d --- /dev/null +++ b/addons/ldtk-importer/post-import/tileset-template.gd @@ -0,0 +1,9 @@ +@tool + +# Tileset Post-Import Template for LDTK-Importer. + +func post_import(tilesets: Dictionary) -> Dictionary: + # Behaviour goes here + for tileset: TileSet in tilesets.values(): + print("Tileset: ", tileset, tileset.tile_size) + return tilesets diff --git a/addons/ldtk-importer/post-import/tileset-template.gd.uid b/addons/ldtk-importer/post-import/tileset-template.gd.uid new file mode 100644 index 0000000..632e723 --- /dev/null +++ b/addons/ldtk-importer/post-import/tileset-template.gd.uid @@ -0,0 +1 @@ +uid://bkwk4dt3lrlh3 diff --git a/addons/ldtk-importer/post-import/world-template.gd b/addons/ldtk-importer/post-import/world-template.gd new file mode 100644 index 0000000..b39de87 --- /dev/null +++ b/addons/ldtk-importer/post-import/world-template.gd @@ -0,0 +1,8 @@ +@tool + +# World Post-Import Template for LDTK-Importer. + +func post_import(world: LDTKWorld) -> LDTKWorld: + # Behaviour goes here + print("World: ", world) + return world diff --git a/addons/ldtk-importer/post-import/world-template.gd.uid b/addons/ldtk-importer/post-import/world-template.gd.uid new file mode 100644 index 0000000..c3d4a64 --- /dev/null +++ b/addons/ldtk-importer/post-import/world-template.gd.uid @@ -0,0 +1 @@ +uid://bh8x86p2eq475 diff --git a/addons/ldtk-importer/src/components/ldtk-entity-layer.gd b/addons/ldtk-importer/src/components/ldtk-entity-layer.gd new file mode 100644 index 0000000..ec48f9a --- /dev/null +++ b/addons/ldtk-importer/src/components/ldtk-entity-layer.gd @@ -0,0 +1,8 @@ +@tool +@icon("ldtk-entity-layer.svg") +class_name LDTKEntityLayer +extends Node2D + +@export var iid: String +@export var definition: Dictionary +@export var entities: Array diff --git a/addons/ldtk-importer/src/components/ldtk-entity-layer.gd.uid b/addons/ldtk-importer/src/components/ldtk-entity-layer.gd.uid new file mode 100644 index 0000000..d7004e2 --- /dev/null +++ b/addons/ldtk-importer/src/components/ldtk-entity-layer.gd.uid @@ -0,0 +1 @@ +uid://bhxcf4ct3g18m diff --git a/addons/ldtk-importer/src/components/ldtk-entity-layer.svg b/addons/ldtk-importer/src/components/ldtk-entity-layer.svg new file mode 100644 index 0000000..3d2f9da --- /dev/null +++ b/addons/ldtk-importer/src/components/ldtk-entity-layer.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/addons/ldtk-importer/src/components/ldtk-entity-layer.svg.import b/addons/ldtk-importer/src/components/ldtk-entity-layer.svg.import new file mode 100644 index 0000000..728314c --- /dev/null +++ b/addons/ldtk-importer/src/components/ldtk-entity-layer.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cjhytibfjjb2y" +path="res://.godot/imported/ldtk-entity-layer.svg-4429574458c1abbb5905ae9e6174fef3.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/ldtk-importer/src/components/ldtk-entity-layer.svg" +dest_files=["res://.godot/imported/ldtk-entity-layer.svg-4429574458c1abbb5905ae9e6174fef3.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/addons/ldtk-importer/src/components/ldtk-entity-layer.tscn b/addons/ldtk-importer/src/components/ldtk-entity-layer.tscn new file mode 100644 index 0000000..a658482 --- /dev/null +++ b/addons/ldtk-importer/src/components/ldtk-entity-layer.tscn @@ -0,0 +1,6 @@ +[gd_scene load_steps=2 format=3 uid="uid://dndtl8sgpdo6m"] + +[ext_resource type="Script" path="res://addons/ldtk-importer/src/components/ldtk-entity-layer.gd" id="1_kdfje"] + +[node name="LDTK Entity Layer" type="Node2D"] +script = ExtResource("1_kdfje") diff --git a/addons/ldtk-importer/src/components/ldtk-entity.gd b/addons/ldtk-importer/src/components/ldtk-entity.gd new file mode 100644 index 0000000..b95f575 --- /dev/null +++ b/addons/ldtk-importer/src/components/ldtk-entity.gd @@ -0,0 +1,96 @@ +@icon("ldtk-entity.svg") +@tool +class_name LDTKEntity +extends Node2D + +## Placeholder Node for importing LDTK maps. +## Used to demonstrate import functionality - please write an Entity Post-Import script to spawn +## your own instances when using this in your project. + +@export var iid: String +@export var identifier := "EntityPlaceholder" +@export var fields := {} +@export var pivot := Vector2.ZERO +@export var size := Vector2.ZERO +@export var smart_color := Color.hex(0xffcc0088) +@export var definition := {} + +@onready var sprite: Sprite2D = $Sprite + +var _refs := [] +var _points := [] +var _drawPaths := false + +func _ready() -> void: + _points.append(Vector2.ZERO) + for key in fields: + if fields[key] is NodePath: + _refs.append(fields[key]) + elif fields[key] is Vector2i: + _points.append(fields[key]) + elif fields[key] is Array: + for value in fields[key]: + if value is NodePath: + _refs.append(value) + elif value is Vector2i: + _points.append(value) + else: + break + _drawPaths = _refs.size() > 0 or _points.size() > 0 + _points = _parse_points(_points) + queue_redraw() + +func _draw() -> void: + if definition.is_empty(): + return + + match definition.renderMode: + "Ellipse": + if definition.hollow: + draw_arc((size * 0.5) + size * -pivot, size.x * 0.5, 0, TAU, 24, smart_color, 1.0) + else: + draw_circle((size * 0.5) + size * -pivot, size.x * 0.5, smart_color) + "Rectangle": + if definition.hollow: + draw_rect(Rect2(size * -pivot, size), smart_color, false, 1.0) + else: + draw_rect(Rect2(size * -pivot, size), smart_color, true) + "Cross": + draw_line(Vector2.ZERO, size, smart_color, 3.0) + draw_line(Vector2(0, size.y), Vector2(size.x, 0), smart_color, 3.0) + "Tile": + if definition.tile == null: + pass + if definition.tile is Texture2D: + sprite.texture = definition.tile + + if _drawPaths: + for path in _refs: + if path is not NodePath: + continue + elif path.is_empty(): + continue + var node = get_node(path) + if node != null: + draw_dashed_line(Vector2.ZERO, node.global_position - global_position, smart_color) + + var previousPoint = _points[0] + for point in _points: + if point == previousPoint: + continue + draw_dashed_line(Vector2(previousPoint), Vector2(point), smart_color, 1.0, 4.0) + draw_arc(point, 4.0, 0, TAU, 5, smart_color, 1.0) + previousPoint = point + +func _parse_points(points: Array) -> Array: + if points.size() == 0: + return points + if get_parent() is SubViewport: + return points + var origin = get_parent().global_position - global_position + var gridSize = get_parent().definition.gridSize + var cellOffset = gridSize * Vector2(0.5, 0.5) + for index in range(1, points.size()): + var pixelCoord = points[index] * gridSize + points[index] = origin + pixelCoord + cellOffset + return points diff --git a/addons/ldtk-importer/src/components/ldtk-entity.gd.uid b/addons/ldtk-importer/src/components/ldtk-entity.gd.uid new file mode 100644 index 0000000..a5afa0d --- /dev/null +++ b/addons/ldtk-importer/src/components/ldtk-entity.gd.uid @@ -0,0 +1 @@ +uid://5mwvks3sl4sq diff --git a/addons/ldtk-importer/src/components/ldtk-entity.svg b/addons/ldtk-importer/src/components/ldtk-entity.svg new file mode 100644 index 0000000..3396243 --- /dev/null +++ b/addons/ldtk-importer/src/components/ldtk-entity.svg @@ -0,0 +1,14 @@ + + + + + + + + + + diff --git a/addons/ldtk-importer/src/components/ldtk-entity.svg.import b/addons/ldtk-importer/src/components/ldtk-entity.svg.import new file mode 100644 index 0000000..352412f --- /dev/null +++ b/addons/ldtk-importer/src/components/ldtk-entity.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c8jokgcqymy8i" +path="res://.godot/imported/ldtk-entity.svg-0e9e158ef8dc55d8602ffe476bdddfa3.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/ldtk-importer/src/components/ldtk-entity.svg" +dest_files=["res://.godot/imported/ldtk-entity.svg-0e9e158ef8dc55d8602ffe476bdddfa3.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/addons/ldtk-importer/src/components/ldtk-entity.tscn b/addons/ldtk-importer/src/components/ldtk-entity.tscn new file mode 100644 index 0000000..b48b4e6 --- /dev/null +++ b/addons/ldtk-importer/src/components/ldtk-entity.tscn @@ -0,0 +1,9 @@ +[gd_scene load_steps=2 format=3 uid="uid://c36l6fpttus66"] + +[ext_resource type="Script" path="res://addons/ldtk-importer/src/components/ldtk-entity.gd" id="1_hclg8"] + +[node name="LDTK Entity" type="Node2D"] +script = ExtResource("1_hclg8") +smart_color = Color(1, 0.8, 0, 0.533333) + +[node name="Sprite" type="Sprite2D" parent="."] diff --git a/addons/ldtk-importer/src/components/ldtk-level.gd b/addons/ldtk-importer/src/components/ldtk-level.gd new file mode 100644 index 0000000..a1a98e7 --- /dev/null +++ b/addons/ldtk-importer/src/components/ldtk-level.gd @@ -0,0 +1,18 @@ +@icon("ldtk-level.svg") +@tool +class_name LDTKLevel +extends Node2D + +@export var iid: String +@export var world_position: Vector2 +@export var size: Vector2i +@export var fields: Dictionary +@export var neighbours: Array +@export var bg_color: Color + +func _ready() -> void: + queue_redraw() + +func _draw() -> void: + if Engine.is_editor_hint(): + draw_rect(Rect2(Vector2.ZERO, size), bg_color, false, 2.0) diff --git a/addons/ldtk-importer/src/components/ldtk-level.gd.uid b/addons/ldtk-importer/src/components/ldtk-level.gd.uid new file mode 100644 index 0000000..68a4d38 --- /dev/null +++ b/addons/ldtk-importer/src/components/ldtk-level.gd.uid @@ -0,0 +1 @@ +uid://bl2sus60d8sj4 diff --git a/addons/ldtk-importer/src/components/ldtk-level.svg b/addons/ldtk-importer/src/components/ldtk-level.svg new file mode 100644 index 0000000..00a76fa --- /dev/null +++ b/addons/ldtk-importer/src/components/ldtk-level.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/addons/ldtk-importer/src/components/ldtk-level.svg.import b/addons/ldtk-importer/src/components/ldtk-level.svg.import new file mode 100644 index 0000000..c06264f --- /dev/null +++ b/addons/ldtk-importer/src/components/ldtk-level.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bn8846b01v84" +path="res://.godot/imported/ldtk-level.svg-7c4c13bcdc12c18fc0e3338deb18be11.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/ldtk-importer/src/components/ldtk-level.svg" +dest_files=["res://.godot/imported/ldtk-level.svg-7c4c13bcdc12c18fc0e3338deb18be11.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/addons/ldtk-importer/src/components/ldtk-level.tscn b/addons/ldtk-importer/src/components/ldtk-level.tscn new file mode 100644 index 0000000..465fbfe --- /dev/null +++ b/addons/ldtk-importer/src/components/ldtk-level.tscn @@ -0,0 +1,6 @@ +[gd_scene load_steps=2 format=3 uid="uid://5jp4st4vnouy"] + +[ext_resource type="Script" path="res://addons/ldtk-importer/src/components/ldtk-level.gd" id="1_4fbyi"] + +[node name="LDTK Level" type="Node2D"] +script = ExtResource("1_4fbyi") diff --git a/addons/ldtk-importer/src/components/ldtk-world-layer.gd b/addons/ldtk-importer/src/components/ldtk-world-layer.gd new file mode 100644 index 0000000..b04db2c --- /dev/null +++ b/addons/ldtk-importer/src/components/ldtk-world-layer.gd @@ -0,0 +1,9 @@ +@tool +@icon("ldtk-entity-layer.svg") +class_name LDTKWorldLayer +extends Node2D + +@export var depth: int: + set(d): + depth = d + z_index = depth diff --git a/addons/ldtk-importer/src/components/ldtk-world-layer.gd.uid b/addons/ldtk-importer/src/components/ldtk-world-layer.gd.uid new file mode 100644 index 0000000..34a8f36 --- /dev/null +++ b/addons/ldtk-importer/src/components/ldtk-world-layer.gd.uid @@ -0,0 +1 @@ +uid://dsyrtgx024qv3 diff --git a/addons/ldtk-importer/src/components/ldtk-world-layer.tscn b/addons/ldtk-importer/src/components/ldtk-world-layer.tscn new file mode 100644 index 0000000..ed54260 --- /dev/null +++ b/addons/ldtk-importer/src/components/ldtk-world-layer.tscn @@ -0,0 +1,6 @@ +[gd_scene load_steps=2 format=3 uid="uid://tiadjdf7bmjd"] + +[ext_resource type="Script" path="res://addons/ldtk-importer/src/components/ldtk-world-layer.gd" id="1_tla3i"] + +[node name="World Layer" type="Node2D"] +script = ExtResource("1_tla3i") diff --git a/addons/ldtk-importer/src/components/ldtk-world.gd b/addons/ldtk-importer/src/components/ldtk-world.gd new file mode 100644 index 0000000..73335b1 --- /dev/null +++ b/addons/ldtk-importer/src/components/ldtk-world.gd @@ -0,0 +1,22 @@ +@tool +@icon("ldtk-world.svg") +class_name LDTKWorld +extends Node2D + +@export var iid: String +@export var rect: Rect2i +@export var levels: Array[LDTKLevel] + +func _init() -> void: + child_order_changed.connect(_find_level_children) + +func _find_level_children() -> void: + for child in get_children(): + if child is LDTKLevel: + if not levels.has(child): + levels.append(child) + else: + for grandchild in child.get_children(): + if grandchild is LDTKLevel: + if not levels.has(grandchild): + levels.append(grandchild) diff --git a/addons/ldtk-importer/src/components/ldtk-world.gd.uid b/addons/ldtk-importer/src/components/ldtk-world.gd.uid new file mode 100644 index 0000000..38bb364 --- /dev/null +++ b/addons/ldtk-importer/src/components/ldtk-world.gd.uid @@ -0,0 +1 @@ +uid://cdtgtd8b3vq7l diff --git a/addons/ldtk-importer/src/components/ldtk-world.svg b/addons/ldtk-importer/src/components/ldtk-world.svg new file mode 100644 index 0000000..975c0a7 --- /dev/null +++ b/addons/ldtk-importer/src/components/ldtk-world.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/addons/ldtk-importer/src/components/ldtk-world.svg.import b/addons/ldtk-importer/src/components/ldtk-world.svg.import new file mode 100644 index 0000000..c96d877 --- /dev/null +++ b/addons/ldtk-importer/src/components/ldtk-world.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bhwcp2d8b7ofe" +path="res://.godot/imported/ldtk-world.svg-afb7a8fc57a903b71679a614011495e8.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/ldtk-importer/src/components/ldtk-world.svg" +dest_files=["res://.godot/imported/ldtk-world.svg-afb7a8fc57a903b71679a614011495e8.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/addons/ldtk-importer/src/components/ldtk-world.tscn b/addons/ldtk-importer/src/components/ldtk-world.tscn new file mode 100644 index 0000000..7e65778 --- /dev/null +++ b/addons/ldtk-importer/src/components/ldtk-world.tscn @@ -0,0 +1,6 @@ +[gd_scene load_steps=2 format=3 uid="uid://b5smuv4vq5lsp"] + +[ext_resource type="Script" path="res://addons/ldtk-importer/src/components/ldtk-world.gd" id="1_k4v0p"] + +[node name="LDTK World" type="Node2D"] +script = ExtResource("1_k4v0p") diff --git a/addons/ldtk-importer/src/layer.gd b/addons/ldtk-importer/src/layer.gd new file mode 100644 index 0000000..e42bb92 --- /dev/null +++ b/addons/ldtk-importer/src/layer.gd @@ -0,0 +1,291 @@ +@tool + +const Util = preload("util/util.gd") +const LayerUtil = preload("util/layer-util.gd") +const FieldUtil = preload("util/field-util.gd") +const TileUtil = preload("util/tile-util.gd") + +# Used to display helpful error messages (which level we are in) +static var current_level: String = "N/A" + +static func create_layers( + level_data: Dictionary, + layer_instances: Array, + definitions: Dictionary +) -> Array: + + current_level = level_data.identifier + + var layer_nodes := [] + var layer_index: int = 0 + + for layer_instance in layer_instances: + var layer_def: Dictionary = definitions.layers[layer_instance.layerDefUid] + var layer_type: String = layer_instance.__type + + match layer_type: + "Entities": + var layer = create_entity_layer(layer_instance, layer_def, definitions.entities) + layer_nodes.push_front(layer) + + "IntGrid": + # Determines if this has an 'AutoLayer' assigned + var has_tileset := layer_instance.__tilesetDefUid != null + + if has_tileset: + var layer = create_tile_layer(layer_instance, layer_def) + layer_nodes.push_front(layer) + if (not has_tileset or Util.options.integer_grid_tilesets): + var layer = create_intgrid_layer(layer_instance, layer_def) + layer_nodes.push_front(layer) + + "Tiles", "AutoLayer": + var layer = create_tile_layer(layer_instance, layer_def) + layer_nodes.push_front(layer) + + _: + push_warning("[LDtk] Tried importing an unsupported layer type: ", layer_type) + + if (Util.options.verbose_output): + var layer_names = layer_nodes.map(func(elem): return elem.name) + Util.print("item_info", "Created Layers: [color=slategray]%s[/color]" % [layer_names], 2) + return layer_nodes + +#region Layer Types + +static func create_entity_layer( + layer_data: Dictionary, + layer_def: Dictionary, + entity_defs: Dictionary +) -> LDTKEntityLayer: + + var layer = LDTKEntityLayer.new() + layer.name = layer_data.__identifier + layer.iid = layer_data.iid + layer.position = layer_def.offset + + # Create a dummy child node so EntityRef fields get a correct NodePath + # I need to find a better way to do this, but there are lots of funny behaviours to deal with. + var pathResolver = Node2D.new() + pathResolver.name = "NodePathResolver" + layer.add_child(pathResolver) + Util.path_resolvers.append(pathResolver) + + var entities: Array = LayerUtil.parse_entity_instances( + layer_data.entityInstances, + entity_defs, + pathResolver + ) + + # Add instance references + layer.definition = layer_def + layer.entities = entities + + if (Util.options.use_entity_placeholders): + LayerUtil.placeholder_counts.clear() + for entity in entities: + var placeholder: LDTKEntity = LayerUtil.create_entity_placeholder(layer, entity) + Util.update_instance_reference(placeholder.iid, placeholder) + #try_push_placeholder_ref(placeholder, pathResolver) + try_push_placeholder_ref(placeholder, placeholder) + + return layer + +static func create_intgrid_layer( + layer_data: Dictionary, + layer_def: Dictionary +) -> TileMapLayer: + + # Create TileMapLayer + var tilemap: TileMapLayer = LayerUtil.create_layer_tilemap(layer_data) + tilemap.position = layer_def.offset + + # Retrieve IntGrid values - these do not always match their array index + var values: Array = layer_def.intGridValues.map( + func(item): return item.value + ) + + # Set layer properties on the Tilemap + var layer_name := str(layer_data.__identifier) + "-values" + tilemap.set_name(layer_name) + tilemap.set_modulate(Color(1, 1, 1, layer_data.__opacity)) + + # Get tile data + var tiles: Array = layer_data.intGridCsv + var tile_source_id: int = layer_data.layerDefUid + var columns: int = layer_data.__cWid + + # Place IntGrid value tiles + for index in range(0, tiles.size()): + var value = tiles[index] + var value_index: int = values.find(value) + if value_index != -1: + var cell_coords := TileUtil.index_to_grid(index, columns) + var tile_coords := Vector2i(value_index, 0) + tilemap.set_cell(cell_coords, tile_source_id, tile_coords) + + return tilemap + +static func create_tile_layer( + layer_data: Dictionary, + layer_def: Dictionary +) -> TileMapLayer: + + # Create Tilemap + var tilemap: TileMapLayer = LayerUtil.create_layer_tilemap(layer_data) + tilemap.position = layer_def.offset + + # Set layer properties on the Tilemap + var layer_name := str(layer_data.__identifier) + tilemap.set_name(layer_name) + tilemap.set_modulate(Color(1, 1, 1, layer_data.__opacity)) + + if not Util.options.layers_always_visible: + tilemap.set_enabled(layer_data.visible) + + # Get tile data + var tiles: Array + if (layer_data.__type == "Tiles"): + tiles = layer_data.gridTiles + else: + tiles = layer_data.autoLayerTiles + + var tile_source_id = layer_data.__tilesetDefUid + var grid_size := Vector2(layer_data.__gridSize, layer_data.__gridSize) + + if (tile_source_id == null): + Util.print("item_fail", "Null Tilemap on layerInstance: '%s'" % [layer_name], 2) + push_warning("Detected null tilemap on a level '%s' layer instance '%s'. Please fix this in your LDTK project file." % [current_level, layer_name]) + return tilemap + + __place_tiles(tilemap, tiles, tile_source_id, grid_size) + + return tilemap + +#endregion + +static func try_push_placeholder_ref( + placeholder: LDTKEntity, + entity: Node +) -> void: + if not Util.options.resolve_entityrefs: return + if not placeholder.fields: return + + placeholder.fields = str_to_var(var_to_str(placeholder.fields)) + var field_defs = {} + + for key in placeholder.definition.field_defs: + var def = placeholder.definition.field_defs[key] + field_defs[def.identifier] = def + + for key in placeholder.fields: + var def = field_defs[key] + if not def.type.contains("EntityRef"): continue + + var field = placeholder.fields[key] + if not field: continue + + if field is Array: + for index in range(field.size()): + Util.add_unresolved_reference(field, index, entity) + else: + Util.add_unresolved_reference(placeholder.fields, key, entity) + +static func __place_tiles( + tilemap: TileMapLayer, + tiles: Array, + tile_source_id: int, + grid_size: Vector2, + layer_index: int = 0 +) -> void: + + var tile_source: TileSetAtlasSource + if tilemap.tile_set.has_source(tile_source_id): + tile_source = tilemap.tile_set.get_source(tile_source_id) + else: + push_error("TileSetAtlasSource missing") + return + + var tile_size := Vector2(tile_source.texture_region_size) + + # Place tiles + for tile in tiles: + var cell_px := Vector2(tile.px[0], tile.px[1]) + var tile_px := Vector2(tile.src[0], tile.src[1]) + var cell_grid := TileUtil.px_to_grid(cell_px, grid_size, Vector2i.ZERO) + var tile_grid := TileUtil.px_to_grid(tile_px, tile_size, tile_source.margins, tile_source.separation) + + # Tile does not exist + if not tile_source.has_tile(tile_grid): + continue + + # Handle flipped tiles + var alternative_tile: int = 0 + var tile_flip := TileUtil.get_tile_flip_mask(int(tile.f)) + + if (tile_flip != 0): + alternative_tile = tile_flip + + # Handle alpha + if tile.a < 1.0: + var alternative_index := 1 + var alternative_exists := false + var alternative_count := tile_source.get_alternative_tiles_count(tile_grid) + + # Find alternate tile with same alpha + if alternative_count > alternative_index: + for i in range(alternative_index, alternative_count): + var data = tile_source.get_tile_data(tile_grid, i) + if is_equal_approx(data.modulate.a, tile.a): + # Reverse flip bools back into an int + var flip = TileUtil.get_tile_flip_mask(int(data.flip_h) + int(data.flip_v) * 2) + if tile_flip == flip: + alternative_index = i + alternative_exists = true + break + + # Create new tile + if not alternative_exists: + alternative_index = tile_source.create_alternative_tile(tile_grid, alternative_count) + var new_data = tile_source.get_tile_data(tile_grid, alternative_index) + TileUtil.copy_and_modify_tile_data( + new_data, + tile_source.get_tile_data(tile_grid, 0), + tilemap.tile_set.get_physics_layers_count(), + tilemap.tile_set.get_navigation_layers_count(), + tilemap.tile_set.get_occlusion_layers_count(), + tile_flip + ) + new_data.modulate.a = tile.a + + alternative_tile = alternative_index + + if not tilemap.get_cell_tile_data(cell_grid): + tilemap.set_cell(cell_grid, tile_source_id, tile_grid, alternative_tile) + else: + __place_overlapping_tile(tilemap, cell_grid, tile_source_id, tile_grid, alternative_tile) + +static func __place_overlapping_tile( + tilemap: TileMapLayer, + cell_grid: Vector2i, + tile_source_id: int, + tile_grid: Vector2i, + alternative_tile: int +) -> void: + var tilemap_child: TileMapLayer + var empty := false + + # Loop through existing children to find empty cell + for child in tilemap.get_children(): + if not child.get_cell_tile_data(cell_grid): + tilemap_child = child + empty = true + break + + # Create new child if no empty cell (or child) could be found + if not empty: + tilemap_child = LayerUtil.create_tilemap_child(tilemap) + tilemap.add_child(tilemap_child) + + # Set tile + tilemap_child.set_cell(cell_grid, tile_source_id, tile_grid, alternative_tile) diff --git a/addons/ldtk-importer/src/layer.gd.uid b/addons/ldtk-importer/src/layer.gd.uid new file mode 100644 index 0000000..2f75d84 --- /dev/null +++ b/addons/ldtk-importer/src/layer.gd.uid @@ -0,0 +1 @@ +uid://dscxdajh0vehf diff --git a/addons/ldtk-importer/src/level.gd b/addons/ldtk-importer/src/level.gd new file mode 100644 index 0000000..51e0bf3 --- /dev/null +++ b/addons/ldtk-importer/src/level.gd @@ -0,0 +1,198 @@ +@tool + +const Util = preload("util/util.gd") +const LevelUtil = preload("util/level-util.gd") +const FieldUtil = preload("util/field-util.gd") +const PostImport = preload("post-import.gd") +const Layer = preload("layer.gd") + +static var base_directory: String + +static func build_levels( + world_data: Dictionary, + definitions: Dictionary, + base_dir: String, + external_levels: bool +) -> Array[LDTKLevel]: + + Util.timer_start(Util.DebugTime.GENERAL) + base_directory = base_dir + var levels: Array[LDTKLevel] = [] + + # Calculate level positions + var level_positions: Array + match world_data.worldLayout: + "LinearHorizontal": + var x = 0 + for level in world_data.levels: + level_positions.append(Vector2i(x, 0)) + x += level.pxWid + "LinearVertical": + var y := 0 + for level in world_data.levels: + level_positions.append(Vector2i(0, y)) + y += level.pxHei + "GridVania", "Free": + level_positions = world_data.levels.map( + func (current): + return Vector2i(current.worldX, current.worldY) + ) + _: + printerr("World Layout not supported: ", world_data.worldLayout) + + # Create levels + for level_index in range(world_data.levels.size()): + Util.timer_start(Util.DebugTime.GENERAL) + var level_data + var position: Vector2i = level_positions[level_index] + level_data = world_data.levels[level_index] + + if external_levels: + level_data = LevelUtil.get_external_level(level_data, base_dir) + + var level = create_level(level_data, position, definitions) + Util.timer_finish("Built Level", 2) + + if (Util.options.entities_post_import): + level = PostImport.run_entity_post_import(level, Util.options.entities_post_import) + + if (Util.options.level_post_import): + level = PostImport.run_level_post_import(level, Util.options.level_post_import) + + levels.append(level) + + Util.timer_finish("Built %s Levels" % levels.size(), 1) + return levels + +enum BackgroundMode { + UNSCALED, + COVER_DIRTY, + COVER, + REPEAT, + FIT_INSIDE +} + +static func get_background_mode(mode_str: String) -> BackgroundMode: + match mode_str: + "Unscaled": + return BackgroundMode.UNSCALED + "CoverDirty": + return BackgroundMode.COVER_DIRTY + "Cover": + return BackgroundMode.COVER + "Repeat": + return BackgroundMode.REPEAT + "FitInside": + return BackgroundMode.FIT_INSIDE + _: + push_error("Unknown background mode: %s" % mode_str) + return BackgroundMode.FIT_INSIDE + +static func setup_background_sprite( + sprite: Sprite2D, + level: LDTKLevel, + bg_mode: String, + texture_size: Vector2, + bg_data: Dictionary +) -> void: + var mode := get_background_mode(bg_mode) + var level_size := Vector2(level.size) + + # Extract positioning data + var pos: Array = bg_data.topLeftPx + var ldtk_scale: Array = bg_data.scale + var crop: Array = bg_data.cropRect + + # Base setup + sprite.centered = false + sprite.texture_repeat = CanvasItem.TEXTURE_REPEAT_DISABLED + sprite.region_enabled = true + + match mode: + BackgroundMode.REPEAT: + sprite.texture_repeat = CanvasItem.TEXTURE_REPEAT_ENABLED + sprite.scale = Vector2.ONE + sprite.position = Vector2.ZERO + # Use level dimensions for region rect in repeat mode + sprite.region_rect = Rect2(Vector2.ZERO, level_size) + + _: # All other modes + # Apply the initial position and crop from LDTK + sprite.position = Vector2(pos[0], pos[1]) + sprite.region_rect = Rect2(crop[0], crop[1], crop[2], crop[3]) + + match mode: + BackgroundMode.UNSCALED: + sprite.scale = Vector2(ldtk_scale[0], ldtk_scale[1]) + + BackgroundMode.FIT_INSIDE: + var scale := level_size.x / texture_size.x + sprite.scale = Vector2(scale, scale) + + BackgroundMode.COVER: + var scale_x := level_size.x / texture_size.x + var scale_y := level_size.y / texture_size.y + var scale := maxf(scale_x, scale_y) + sprite.scale = Vector2(scale, scale) + + BackgroundMode.COVER_DIRTY: + sprite.scale = Vector2( + level_size.x / texture_size.x, + level_size.y / texture_size.y + ) + +static func create_level( + level_data: Dictionary, + position: Vector2i, + definitions: Dictionary +) -> LDTKLevel: + var level_name: String = level_data.identifier + var level := LDTKLevel.new() + level.name = level_name + level.iid = level_data.iid + level.world_position = position + level.size = Vector2i(level_data.pxWid, level_data.pxHei) + level.bg_color = level_data.__bgColor + level.z_index = level_data.worldDepth + + if (Util.options.verbose_output): Util.print("block", level_name, 1) + Util.update_instance_reference(level_data.iid, level) + + var neighbours = level_data.__neighbours + + if not Util.options.pack_levels: + for neighbour in neighbours: + Util.add_unresolved_reference(neighbour, "levelIid", level) + + level.neighbours = neighbours + + # Create background image + if level_data.bgRelPath != null: + var path := "%s/%s" % [base_directory, level_data.bgRelPath] + var sprite := Sprite2D.new() + sprite.name = "BG Image" + sprite.texture = load(path) + var texture_size := sprite.texture.get_size() + setup_background_sprite( + sprite, + level, + level_data.bgPos, + texture_size, + level_data.__bgPos + ) + level.add_child(sprite) + + # Create fields + level.fields = FieldUtil.create_fields(level_data.fieldInstances, level) + + var layer_instances = level_data.layerInstances + if not layer_instances is Array: + push_error("level '%s' has no layer instances." % [level_name]) + return level + + # Create layers + var layers = Layer.create_layers(level_data, layer_instances, definitions) + for layer in layers: + level.add_child(layer) + + return level diff --git a/addons/ldtk-importer/src/level.gd.uid b/addons/ldtk-importer/src/level.gd.uid new file mode 100644 index 0000000..cc62a69 --- /dev/null +++ b/addons/ldtk-importer/src/level.gd.uid @@ -0,0 +1 @@ +uid://6pmow261xdxk diff --git a/addons/ldtk-importer/src/post-import.gd b/addons/ldtk-importer/src/post-import.gd new file mode 100644 index 0000000..a9c79d7 --- /dev/null +++ b/addons/ldtk-importer/src/post-import.gd @@ -0,0 +1,60 @@ +@tool + +const Util = preload("util/util.gd") + +static func run(element: Variant, script_path: String) -> Variant: + var element_type = typeof(element) + + if not script_path.is_empty(): + var script = load(script_path) + if not script or not script is GDScript: + printerr("Post-Import: '%s' is not a GDScript" % [script_path]) + return ERR_INVALID_PARAMETER + + script = script.new() + if not script.has_method("post_import"): + printerr("Post-Import: '%s' does not have a post_import() method" % [script_path]) + return ERR_INVALID_PARAMETER + + element = script.post_import(element) + + if element == null or typeof(element) != element_type: + printerr("Post-Import: Invalid scene returned from script.") + return ERR_INVALID_DATA + + return element + +static func run_tileset_post_import(tilesets: Dictionary, script_path: String) -> Dictionary: + Util.timer_start(Util.DebugTime.POST_IMPORT) + Util.print("tileset_post_import", str(tilesets), 1) + tilesets = run(tilesets, Util.options.tileset_post_import) + Util.timer_finish("Tileset Post-Import: Complete", 1) + return tilesets + +static func run_level_post_import(level: LDTKLevel, script_path: String) -> LDTKLevel: + Util.timer_start(Util.DebugTime.POST_IMPORT) + Util.print("level_post_import", level.name, 2) + level = run(level, Util.options.level_post_import) + Util.timer_finish("Level Post-Import: Complete", 2) + return level + +static func run_entity_post_import(level: LDTKLevel, script_path: String) -> LDTKLevel: + Util.timer_start(Util.DebugTime.POST_IMPORT) + var layers = level.get_children() + for layer in layers: + if layer is not LDTKEntityLayer: + continue + + var entityLayerName = layer.get_parent().name + "." + layer.name + Util.print("entity_post_import", entityLayerName, 3) + layer = run(layer, script_path) + + Util.timer_finish("Entity Post-Import: Complete", 3) + return level + +static func run_world_post_import(world: LDTKWorld, script_path: String) -> LDTKWorld: + Util.timer_start(Util.DebugTime.POST_IMPORT) + Util.print("world_post_import", world.name, 1) + world = run(world, Util.options.world_post_import) + Util.timer_finish("World Post-Import: Complete", 1) + return world diff --git a/addons/ldtk-importer/src/post-import.gd.uid b/addons/ldtk-importer/src/post-import.gd.uid new file mode 100644 index 0000000..aa4bf31 --- /dev/null +++ b/addons/ldtk-importer/src/post-import.gd.uid @@ -0,0 +1 @@ +uid://dyve2rk6mrjco diff --git a/addons/ldtk-importer/src/tileset.gd b/addons/ldtk-importer/src/tileset.gd new file mode 100644 index 0000000..33c54e3 --- /dev/null +++ b/addons/ldtk-importer/src/tileset.gd @@ -0,0 +1,352 @@ +@tool + +const Util = preload("util/util.gd") +const TileUtil = preload("util/tile-util.gd") +const LevelUtil = preload("util/level-util.gd") +const FieldUtil = preload("util/field-util.gd") +const PostImport = preload("post-import.gd") + +enum AtlasTextureType {CompressedTexture2D, CanvasTexture} +enum TilesetSaveExtension { + RES, + TRES, +} + +static func get_tileset_save_extension() -> String: + return TilesetSaveExtension.keys()[Util.options.tileset_save_extension].to_lower() + +static func build_tilesets( + definitions: Dictionary, + base_dir: String, + tileset_overrides: Dictionary +) -> Array: + Util.timer_start(Util.DebugTime.TILES) + var tilesets := {} + var tileset_sources := {} + + # Reduce Layer Defs to find all unique layer grid sizes and create TileSets for each. + var layer_def_uids: Array = definitions.layers.keys() + + tilesets = layer_def_uids.reduce( + func(accum: Dictionary, current: float): + var layer_def = definitions.layers[current] + var grid_size: int = layer_def.gridSize + + if not accum.has(grid_size): + accum[grid_size] = get_tileset(grid_size, base_dir) + + # Create TileSetSource for IntGrids + if (Util.options.integer_grid_tilesets): + if layer_def.type == "IntGrid" and layer_def.intGridValues.size() > 0: + var intgrid_uid = layer_def.uid + var intgrid_source = create_intgrid_source(layer_def) + tileset_sources[intgrid_uid] = intgrid_source + Util.add_tileset_reference(intgrid_uid, intgrid_source) + return accum + , tilesets) + + # Create TileSetSources for each Tileset Def + var tileset_def_uids = definitions.tilesets.keys() + for uid in tileset_def_uids: + var tileset_def: Dictionary = definitions.tilesets[uid] + var source: TileSetSource = create_new_tileset_source(tileset_def, base_dir) + tileset_sources[uid] = source + Util.add_tileset_reference(tileset_def.uid, source) + + # Add TileSetSources to TileSets + # NOTE: We also add Sources to mismatched TileSet sizes (if a layer uses that TilesetDef as an override) + for id in tilesets.keys(): + var tileset: TileSet = tilesets[id] + var size: int = tileset.tile_size.x + + for uid in tileset_sources.keys(): + var source: TileSetAtlasSource = tileset_sources[uid] + if source == null: continue + var source_size: int = source.texture_region_size.x + + # Check if override exists. + var has_override: bool = false + if (tileset_overrides.has(size)): + if (tileset_overrides[size].has(int(uid))): + has_override = true + + # Include Source if size matches grid (or is an override found for this grid size) + if size == source_size or has_override: + if tileset.has_source(uid): + source = tileset.get_source(uid) + else: + source = source.duplicate() + tileset.add_source(source, uid) + + if (Util.options.tileset_custom_data): + if definitions.tilesets.has(uid): + var tileset_def: Dictionary = definitions.tilesets[uid] + add_tileset_custom_data(tileset_def, tileset, source, tileset_def.__cWid) + + # Post-Import + if (Util.options.tileset_post_import): + tilesets = PostImport.run_tileset_post_import(tilesets, Util.options.tileset_post_import) + + # Store tilesets in Util + Util.tilesets = tilesets + + Util.timer_finish("Tilesets Created", 1) + + # Save tilesets + Util.timer_start(Util.DebugTime.SAVE) + var files = save_tilesets(tilesets, base_dir) + Util.timer_finish("Tilesets Saved", 1) + + for key in tilesets.keys(): + # reload tileset (improves performance) + var tileset = tilesets[key] + if tileset == null: continue + if not files.has(key): continue + tilesets[key] = ResourceLoader.load(files[key]) + + return files.values() + +static func get_tileset(tile_size: int,base_dir: String) -> TileSet: + var tileset_name := "tileset_%spx" % [str(tile_size)] + var path := "%stilesets/%s.%s" % [ + base_dir, + tileset_name, + get_tileset_save_extension() + ] + + if not (Util.options.force_tileset_reimport): + if ResourceLoader.exists(path): + var tileset = ResourceLoader.load(path) + if tileset is TileSet: + return tileset + + # Create new TileSet + var tileset := TileSet.new() + tileset.resource_name = tileset_name + tileset.tile_size = Vector2i(tile_size, tile_size) + + if (Util.options.verbose_output): + Util.print("item_info", "Created new TileSet: \"%s\"" % [tileset_name], 1) + + return tileset + +# Create an AtlasSource using tileset definition +static func create_new_tileset_source(definition: Dictionary, base_dir: String) -> TileSetSource: + # No source texture defined + if definition.relPath == null: + Util.print("item_fail", "No texture defined for tileset '%s'" % [definition.identifier]) + push_error("Tileset Definition '%s' has no source texture. Please fix this in your LDtk project file." % [definition.identifier]) + return null + + # Check if relPath is an absolute directory + var filepath: String + if definition.relPath.contains(":"): + push_warning("Absolute path detected for texture resource '%s'. This is not recommended. Please include this file in the Godot project." % [definition.identifier]) + filepath = definition.relPath + else: + filepath = base_dir + definition.relPath + + var texture := load(filepath) + + # Cannot load texture + if texture == null: + push_error("Cannot access source texture: %s. Please include this file in the Godot project." % [filepath]) + return null + + var image: Image = texture.get_image() + + # Convert texture from CompressedTexture2D to CanvasTexture + if (Util.options.atlas_texture_type == AtlasTextureType.CanvasTexture): + var canvas_texture = CanvasTexture.new() + canvas_texture.diffuse_texture = texture + texture = canvas_texture + + var tile_size: int = definition.gridSize + var margin: int = definition.padding + var separation: int = definition.spacing + var grid_w: int = definition.__cWid + var grid_h: int = definition.__cHei + + var source := TileSetAtlasSource.new() + + # Apply TileSet properties + if source.texture == null or source.texture.get_class() != texture.get_class(): + source.texture = texture + + source.resource_name = definition.identifier + source.margins = Vector2i(margin, margin) + source.separation = Vector2i(separation, separation) + source.texture_region_size = Vector2(tile_size, tile_size) + source.use_texture_padding = false + + # Create/remove tiles in non-empty/empty cells. + for y in range(0, grid_h): + for x in range(0, grid_w): + var coords := Vector2i(x,y) + var tile_region := TileUtil.get_tile_region(coords, tile_size, margin, separation, grid_w) + var tile_image := image.get_region(tile_region) + + if not tile_image.is_invisible(): + if source.get_tile_at_coords(coords) == Vector2i(-1,-1): + source.create_tile(coords) + elif not source.get_tile_at_coords(coords) == Vector2i(-1,-1): + # TODO: Make this an import flag + source.remove_tile(coords) + + # Add definition UID to references + Util.add_tileset_reference(definition.uid, source) + + return source + +static func add_tileset_custom_data( + definition: Dictionary, + tileset: TileSet, + source: TileSetAtlasSource, + grid_w: int +) -> void: + + if not definition.has("enumTags"): + return + + var customData: Array = definition.customData + var custom_name: String = "LDTK Custom" + clear_custom_data(tileset, custom_name) + + if not customData.is_empty(): + ensure_custom_layer(tileset, custom_name) + for entry in customData: + var coords := TileUtil.tileid_to_grid(entry.tileId, grid_w) + var tile_data: TileData = source.get_tile_data(coords, 0) + if not tile_data == null: + tile_data.set_custom_data(custom_name, entry.data) + + var custom_enum_name: String = "LDTK Custom Enum" + clear_custom_data(tileset, custom_enum_name) + + var enumTags: Array = definition.enumTags + if not enumTags.is_empty(): + ensure_custom_layer(tileset, custom_enum_name, TYPE_ARRAY) + + for enumTag in enumTags: + for tileId in enumTag.tileIds: + var coords := TileUtil.tileid_to_grid(tileId, grid_w) + var tile_data: TileData = source.get_tile_data(coords, 0) + if not tile_data == null: + # Add to already existing tags + var tile_tags: Array = tile_data.get_custom_data(custom_enum_name) + tile_tags.append(enumTag.enumValueId) + tile_data.set_custom_data(custom_enum_name, tile_tags) + +# Ensure custom data layer exists by name +static func ensure_custom_layer( + tileset: TileSet, + layer_name: String, + layer_type: int = TYPE_STRING +) -> void: + if tileset.get_custom_data_layer_by_name(layer_name) != -1: + return + var index_to_add = tileset.get_custom_data_layers_count() + tileset.add_custom_data_layer(index_to_add) + tileset.set_custom_data_layer_name(index_to_add, layer_name) + tileset.set_custom_data_layer_type(index_to_add, layer_type) + +# Clear custom data by layer name +static func clear_custom_data(tileset: TileSet, layer_name: String) -> void: + var layer = tileset.get_custom_data_layer_by_name(layer_name) + if layer == -1: + return + tileset.remove_custom_data_layer(layer) + +# Create an AtlasSource from IntGrid data +static func create_intgrid_source(definition: Dictionary) -> TileSetAtlasSource: + var values: Array = definition.intGridValues + var grid_size: int = definition.gridSize + + # Create texture from IntGrid values + var width := grid_size * values.size() + var height := grid_size + var image := Image.create(width, height, false, Image.FORMAT_RGB8) + + for index in range(0, values.size()): + var value: Dictionary = values[index] + var rect := Rect2i(index * grid_size, 0, grid_size, grid_size) + var color := Color.from_string(value.color, Color.MAGENTA) + image.fill_rect(rect, color) + + var texture = ImageTexture.create_from_image(image) + + var source := TileSetAtlasSource.new() + source.resource_name = definition.identifier + "_Tiles" + source.texture = texture + source.texture_region_size = Vector2i(grid_size, grid_size) + + # Create tiles + for index in range(0, values.size()): + var coords := Vector2i(index, 0) + if not source.has_tile(coords): + source.create_tile(coords) + + return source + +# Save TileSets as Resources +static func save_tilesets(tilesets: Dictionary, base_dir: String) -> Dictionary: + var save_path = base_dir + "tilesets/" + var gen_files := {} + var directory = DirAccess.open(base_dir) + if not directory.dir_exists(save_path): + directory.make_dir_recursive(save_path) + + var tileset_names = tilesets.values().map(func(elem): return elem.resource_name) + Util.print("item_save", "Saving Tilesets: [color=#fe8019]%s[/color]" % [tileset_names], 1) + + for key in tilesets.keys(): + var tileset: TileSet = tilesets.get(key) + if tileset.get_source_count() == 0: + continue + + var file_name = tileset.resource_name + var file_path = "%s%s.%s" % [save_path, file_name, get_tileset_save_extension()] + var err = ResourceSaver.save(tileset, file_path) + if err == OK: + gen_files[key] = file_path + + return gen_files + +static func get_entity_def_tiles(definitions: Dictionary, tilesets: Dictionary) -> Dictionary: + # TODO: Loop through EntityDefs, and turn 'Tile' into an Image. + for def in definitions.entities: + var entity: Dictionary = definitions.entities[def] + if (entity.tile == null): + continue + # Find associated TileSet + var texture = FieldUtil.__parse_tile(entity.tile) + entity.tile = texture + + return definitions + +# Collect all layer tileset overrides. Later we'll ensure these sources are included in TileSet resources. +static func get_tileset_overrides( + world_data: Dictionary, + base_dir: String, + external_levels: bool +) -> Dictionary: + var overrides := {} + for level_index in range(world_data.levels.size()): + var level_data + level_data = world_data.levels[level_index] + + if external_levels: + level_data = LevelUtil.get_external_level(level_data, base_dir) + + for layer in level_data.layerInstances: + if layer.overrideTilesetUid == null: + continue + var gridSize: int = layer.__gridSize + var overrideUid: int = layer.overrideTilesetUid + if overrideUid != null: + if not overrides.has(gridSize): + overrides[gridSize] = [] + var gridsize_overrides: Array = overrides[gridSize] + if not gridsize_overrides.has(overrideUid): + gridsize_overrides.append(overrideUid) + return overrides diff --git a/addons/ldtk-importer/src/tileset.gd.uid b/addons/ldtk-importer/src/tileset.gd.uid new file mode 100644 index 0000000..9b2c567 --- /dev/null +++ b/addons/ldtk-importer/src/tileset.gd.uid @@ -0,0 +1 @@ +uid://ciunf6ntiewm1 diff --git a/addons/ldtk-importer/src/util/definition_util.gd b/addons/ldtk-importer/src/util/definition_util.gd new file mode 100644 index 0000000..1784e77 --- /dev/null +++ b/addons/ldtk-importer/src/util/definition_util.gd @@ -0,0 +1,111 @@ +@tool + +const Util = preload("util.gd") + +# When building definitions we are only collecting data we need and do some pre-parsing to make the next steps easier. + +static func build_definitions(world_data: Dictionary) -> Dictionary: + var definitions := { + "enums": resolve_enum_definitions(world_data.defs.enums), + "entities": resolve_entity_definitions(world_data.defs.entities), + "layers": resolve_layer_definitions(world_data.defs.layers), + "tilesets": resolve_tileset_definitions(world_data.defs.tilesets, world_data.defs.layers), + "level_fields": resolve_level_field_definitions(world_data.defs.levelFields), + } + return definitions + +static func resolve_layer_definitions(layer_defs: Array) -> Dictionary: + var resolved_layer_defs := {} + + for layer_def in layer_defs: + resolved_layer_defs[layer_def.uid] = { + "uid": layer_def.uid, + "type": layer_def.type, + "identifier": layer_def.identifier, + "gridSize": layer_def.gridSize, + "offset": Vector2i(layer_def.pxOffsetX, layer_def.pxOffsetY), + "parallax": Vector2(layer_def.parallaxFactorX, layer_def.parallaxFactorY), + "parallaxScaling": layer_def.parallaxScaling, + "intGridValues": layer_def.intGridValues + } + + return resolved_layer_defs + +static func resolve_entity_definitions(entity_defs: Array) -> Dictionary: + var resolved_entity_defs := {} + + for entity_def in entity_defs: + var entity_tile = entity_def.uiTileRect + if entity_tile == null: + entity_tile = entity_def.tileRect + resolved_entity_defs[entity_def.uid] = { + "identifier": entity_def.identifier, + "color": Color.from_string(entity_def.color, Color.MAGENTA), + "renderMode": entity_def.renderMode, + "hollow": entity_def.hollow, + "tags": entity_def.tags, + "field_defs": resolve_entity_field_defs(entity_def.fieldDefs), + "tile": entity_tile + } + + return resolved_entity_defs + +static func resolve_entity_field_defs(field_defs: Array) -> Dictionary: + var resolved_entity_field_defs := {} + + for field_def in field_defs: + resolved_entity_field_defs[int(field_def.uid)] = { + "identifier": field_def.identifier, + "type": field_def.__type, + } + + return resolved_entity_field_defs + +static func resolve_tileset_definitions(tileset_defs: Array, layer_defs: Array) -> Dictionary: + var resolved_tileset_defs := {} + + for tileset_def in tileset_defs: + resolved_tileset_defs[tileset_def.uid] = { + "uid": tileset_def.uid, + "identifier": tileset_def.identifier, + "relPath": tileset_def.relPath, + "gridSize": tileset_def.tileGridSize, + "pxWid": tileset_def.pxWid, + "pxHei": tileset_def.pxHei, + "spacing": tileset_def.spacing, + "padding": tileset_def.padding, + "tags": tileset_def.tags, + "enumTagUid": tileset_def.tagsSourceEnumUid, + "enumTags": tileset_def.enumTags, + "customData": tileset_def.customData, + "__cWid": tileset_def.__cWid, + "__cHei": tileset_def.__cHei, + } + return resolved_tileset_defs + +static func resolve_enum_definitions(enum_defs: Array) -> Dictionary: + var resolved_enum_defs := {} + + for enum_def in enum_defs: + var uid = enum_def.uid + var values := [] + for value in enum_def.values: + values.append({ + "value": value.id, + "color": Color.from_string(str(value.color), Color.MAGENTA), + "tileRect": value.tileRect + }) + resolved_enum_defs[uid] = values + + return resolved_enum_defs + +static func resolve_level_field_definitions(level_field_defs: Array) -> Dictionary: + var resolved_level_field_defs := {} + + for level_field_def in level_field_defs: + resolved_level_field_defs[level_field_def.uid] = { + "identifier": level_field_def.identifier, + "type": level_field_def.__type + } + + return resolved_level_field_defs diff --git a/addons/ldtk-importer/src/util/definition_util.gd.uid b/addons/ldtk-importer/src/util/definition_util.gd.uid new file mode 100644 index 0000000..5d3eb11 --- /dev/null +++ b/addons/ldtk-importer/src/util/definition_util.gd.uid @@ -0,0 +1 @@ +uid://cw7g1ehq3ept diff --git a/addons/ldtk-importer/src/util/field-util.gd b/addons/ldtk-importer/src/util/field-util.gd new file mode 100644 index 0000000..1fcb7c8 --- /dev/null +++ b/addons/ldtk-importer/src/util/field-util.gd @@ -0,0 +1,126 @@ +@tool + +const Util = preload("util.gd") +const TileUtil = preload("tile-util.gd") + +static var hitUnresolved := false +static var current_field_name: String = "N/A" + +static func create_fields(fields: Array, entity: Variant = null) -> Dictionary: + var dict := {} + for field in fields: + var key: String = field.__identifier + current_field_name = key + dict[key] = parse_field(field) + + if not Util.options.resolve_entityrefs: + hitUnresolved = false + continue + + if hitUnresolved and entity != null: + if dict[key] is Array: + for index in range(dict[key].size()): + Util.add_unresolved_reference(dict[key], index, entity) + else: + Util.add_unresolved_reference(dict, key, entity) + hitUnresolved = false + + return dict + +static func parse_field(field: Dictionary) -> Variant: + var value: Variant = field.__value + if value == null: + return null + + var type := field.__type as String + + # Handle enum string + var localEnum: String + if type.contains("LocalEnum"): + var regex = RegEx.new() + regex.compile("(?<=\\.)\\w+") + localEnum = regex.search(type).get_string() + + if type.begins_with("Array"): + type = "Array" + else: + type = "LocalEnum" + + # Match field type + match type: + "Int": + return int(value) as int + "Color": + return Color.from_string(value, Color.MAGENTA) as Color + "Point": + return __parse_point(value.cx, value.cy) as Vector2i + "Tile": + return __parse_tile(value) as AtlasTexture + "EntityRef": + hitUnresolved = true + return value.entityIid as String + "LocalEnum": + return __parse_enum(localEnum, value) as String + "Array": + return value + "Array": + return value.map( + func (color): + return Color.from_string(color, Color.MAGENTA) + ) + "Array": + return value.map( + func (point): + return Vector2i(point.cx, point.cy) + ) + "Array": + return value.map( + func(tile) -> AtlasTexture: + return __parse_tile(tile) + ) + "Array": + hitUnresolved = true + return value.map( + func (ref) -> String: + return ref.entityIid + ) + "Array": + var enums: Array[String] = [] + for index in range(value.size()): + var parsed_enum = __parse_enum(localEnum, value[index]) + enums.append(parsed_enum) + return enums + _: + return value + +static func __parse_point(x: int, y: int) -> Vector2i: + # NOTE: would convert gridcoords to pixelcoords here, but needs more data + # LDTKEntity currently converts it using LayerDefinition. + return Vector2i(x,y) + +static func __parse_enum(enum_str: String, value: String) -> String: + var result: String = "%s.%s" % [enum_str, value] + return result + +static func __parse_tile(value: Dictionary) -> AtlasTexture: + var texture := AtlasTexture.new() + var atlas: TileSetAtlasSource + + if Util.tileset_refs.has(int(value.tilesetUid)): + atlas = Util.tileset_refs[int(value.tilesetUid)] + + if atlas == null : + print("Tileset Refs: ", Util.tileset_refs) + print("FieldDef '%s' could not find Tileset with UID '%s'. Using empty texture instead. Please fix this in your LDtk file." % [current_field_name, value.tilesetUid]) + return texture + + texture.atlas = atlas.texture + + var coords = TileUtil.px_to_grid( + Vector2(value.x, value.y), + atlas.texture_region_size, + atlas.margins, + atlas.separation + ) + texture.region = atlas.get_tile_texture_region(coords) as Rect2i + return texture diff --git a/addons/ldtk-importer/src/util/field-util.gd.uid b/addons/ldtk-importer/src/util/field-util.gd.uid new file mode 100644 index 0000000..8a94bfa --- /dev/null +++ b/addons/ldtk-importer/src/util/field-util.gd.uid @@ -0,0 +1 @@ +uid://cxhthfmqb5rig diff --git a/addons/ldtk-importer/src/util/layer-util.gd b/addons/ldtk-importer/src/util/layer-util.gd new file mode 100644 index 0000000..b82d35f --- /dev/null +++ b/addons/ldtk-importer/src/util/layer-util.gd @@ -0,0 +1,68 @@ +@tool + +const Util = preload("util.gd") +const EntityPlaceHolder = preload("../components/ldtk-entity.tscn") +const FieldUtil = preload("field-util.gd") + +# Counter reset per level, used when creating EntityPlacholders +static var placeholder_counts := {} + +static func parse_entity_instances( + entities: Array, + entity_defs: Dictionary, + pathResolver: Node2D +) -> Array: + return entities.map( + func(entity): + var definition = entity_defs[entity.defUid] + return { + "iid": entity.iid, + "identifier": entity.__identifier, + "smart_color": Color.from_string(entity.__smartColor, Color.WHITE), + "size": Vector2i(entity.width, entity.height), + "position": Vector2i(entity.px[0], entity.px[1]), + "pivot": Vector2(entity.__pivot[0], entity.__pivot[1]), + "fields": FieldUtil.create_fields(entity.fieldInstances, pathResolver), + "definition": definition, + } + ) + +static func create_entity_placeholder(layer: Node2D, data: Dictionary) -> LDTKEntity: + var placeholder: LDTKEntity = EntityPlaceHolder.instantiate() + var count: int = __placeholder_count(data.identifier) + placeholder.name = data.identifier + + if count > 1: + placeholder.name += str(count) + + # Set properties + for prop in data.keys(): + placeholder[prop] = data[prop] + + layer.add_child(placeholder) + return placeholder + +static func __placeholder_count(name: String) -> int: + if not name in placeholder_counts: + placeholder_counts[name] = 1 + else: + placeholder_counts[name] += 1 + return placeholder_counts[name] + +static func create_layer_tilemap(layer_data: Dictionary) -> TileMapLayer: + var grid_size = int(layer_data.__gridSize) + + var tilemap := TileMapLayer.new() + tilemap.name = layer_data.__identifier + tilemap.tile_set = Util.tilesets.get(grid_size, null) + var offset = Vector2(layer_data.__pxTotalOffsetX, layer_data.__pxTotalOffsetY) + tilemap.position = offset + + return tilemap + +static func create_tilemap_child(tilemap: TileMapLayer) -> TileMapLayer: + var child := TileMapLayer.new() + var count := tilemap.get_child_count() + 1 + child.name = tilemap.name + str(count) + child.tile_set = tilemap.tile_set + return child diff --git a/addons/ldtk-importer/src/util/layer-util.gd.uid b/addons/ldtk-importer/src/util/layer-util.gd.uid new file mode 100644 index 0000000..532f693 --- /dev/null +++ b/addons/ldtk-importer/src/util/layer-util.gd.uid @@ -0,0 +1 @@ +uid://tax2qy1x35ql diff --git a/addons/ldtk-importer/src/util/level-util.gd b/addons/ldtk-importer/src/util/level-util.gd new file mode 100644 index 0000000..348bc8a --- /dev/null +++ b/addons/ldtk-importer/src/util/level-util.gd @@ -0,0 +1,54 @@ +@tool + +const Util = preload("util.gd") + +static func get_world_position( + world_data: Dictionary, + level_data: Dictionary +) -> Vector2i: + + var layout = world_data.worldLayout + + if layout == "GridVania" or layout == "Free": + return Vector2i(level_data.worldX, level_data.worldY) + elif layout == "LinearHorizontal" or layout == "LinearVertical": + # List level uids in order. + var level_uids: Array = world_data.levels.map( + func(item): + return item.uid + ) + # Find level index + var index = level_uids.find(level_data.uid) + if index == 0: + return Vector2i(0,0) + + if layout == "LinearHorizontal": + var x: int = world_data.levels.slice(0, index).reduce( + func (accum, current): + return accum + current.pxWid + , 0) + return Vector2i(x, 0) + else: + var y: int = world_data.levels.slice(0, index).reduce( + func (accum, current): + return accum + current.pHei + , 0) + return Vector2i(0, y) + else: + push_warning("World layout not supported", world_data.worldLayout) + return Vector2i.ZERO + + +static func get_external_level( + level_data: Dictionary, + base_dir: String +) -> Dictionary: + + var level_file: String = base_dir + level_data.externalRelPath + var new_level_data: Dictionary = Util.parse_file(level_file) + if not new_level_data == null: + return new_level_data + else: + push_warning("Could not parse external level: ", level_file) + + return level_data diff --git a/addons/ldtk-importer/src/util/level-util.gd.uid b/addons/ldtk-importer/src/util/level-util.gd.uid new file mode 100644 index 0000000..3247ddd --- /dev/null +++ b/addons/ldtk-importer/src/util/level-util.gd.uid @@ -0,0 +1 @@ +uid://biao16icf1ng2 diff --git a/addons/ldtk-importer/src/util/tile-util.gd b/addons/ldtk-importer/src/util/tile-util.gd new file mode 100644 index 0000000..7b863db --- /dev/null +++ b/addons/ldtk-importer/src/util/tile-util.gd @@ -0,0 +1,126 @@ +@tool + +# Flip a vector based on a bitset +static func _flip_vector_array_with_bitset( + vecs: PackedVector2Array, + bitset: int +) -> PackedVector2Array: + var new_vecs = PackedVector2Array(vecs) + for point_idx in range(vecs.size()): + var new_vec = Vector2(vecs[point_idx]) + if bitset & 1: + new_vec.x = -new_vec.x + if bitset & 2: + new_vec.y = -new_vec.y + new_vecs[point_idx] = new_vec + return new_vecs + +# Copy over and rotate extra tiledata +static func copy_and_modify_tile_data( + tile_data: TileData, + orig_tile_data: TileData, + physics_layers_cnt: int, + navigation_layers_cnt: int, + occluder_layers_cnt: int, + bitset: int, +) -> void: + # Copy over physics + for pli in range(physics_layers_cnt): + var polygon_cnt = orig_tile_data.get_collision_polygons_count(pli) + if polygon_cnt == 0: + # We have no polygon for this layer + continue + for pi in range(polygon_cnt): + tile_data.add_collision_polygon(pli) + var points: PackedVector2Array = _flip_vector_array_with_bitset(orig_tile_data.get_collision_polygon_points(pli, pi), bitset) + tile_data.set_collision_polygon_points(pli, pi, points) + tile_data.set_constant_angular_velocity(pli, orig_tile_data.get_constant_angular_velocity(pli)) + var linvel = Vector2(orig_tile_data.get_constant_linear_velocity(pli)) + if bitset & TileSetAtlasSource.TRANSFORM_FLIP_H: + linvel.x = -linvel.x + if bitset & TileSetAtlasSource.TRANSFORM_FLIP_V: + linvel.y = -linvel.y + tile_data.set_constant_linear_velocity(pli, linvel) + + # Copy over navigation + for navi in range(navigation_layers_cnt): + var nav_polygon: NavigationPolygon = orig_tile_data.get_navigation_polygon(navi) + if nav_polygon == null: + # We have no polygon for this layer + continue + var new_polygon = NavigationPolygon.new() + for outline_idx in range(nav_polygon.get_outline_count()): + var vertices = _flip_vector_array_with_bitset(nav_polygon.get_outline(outline_idx), bitset) + new_polygon.add_outline(vertices) + new_polygon.make_polygons_from_outlines() + tile_data.set_navigation_polygon(navi, new_polygon) + + # Copy over occluder + for occi in range(occluder_layers_cnt): + var occluder: OccluderPolygon2D = orig_tile_data.get_occluder(occi) + if occluder == null: + # We have no polygon for this layer + continue + var new_occluder: OccluderPolygon2D = OccluderPolygon2D.new() + new_occluder.cull_mode = occluder.cull_mode + new_occluder.closed = occluder.closed + new_occluder.polygon = _flip_vector_array_with_bitset(occluder.polygon, bitset) + tile_data.set_occluder(occi, new_occluder) + + # Flip depending on bitset + if bitset & TileSetAtlasSource.TRANSFORM_FLIP_H: + tile_data.set_flip_h(true) + if bitset & TileSetAtlasSource.TRANSFORM_FLIP_V: + tile_data.set_flip_v(true) + +# Get Rect of Tile for an AtlasSource using LDTK tileset data +static func get_tile_region( + coords: Vector2i, + grid_size: int, + padding: int, + spacing: int, + grid_w: int +) -> Rect2i: + var pixel_coords = grid_to_px(coords, grid_size, padding, spacing) + return Rect2i(pixel_coords, Vector2i(grid_size, grid_size)) + +# Convert grid coords to pixel coords +static func grid_to_px( + grid_coords: Vector2i, + grid_size: int, + padding: int, + spacing: int +) -> Vector2i: + var x: int = padding + grid_coords.x * (grid_size + spacing) + var y: int = padding + grid_coords.y * (grid_size + spacing) + return Vector2i(x, y) + +# Converts px coords to grid coords +static func px_to_grid( + px_coords: Vector2, + grid_size: Vector2, + padding: Vector2 = Vector2.ZERO, + spacing: Vector2 = Vector2.ZERO +) -> Vector2i: + var x: int = round((px_coords.x - padding.x) / (grid_size.x + spacing.x)) + var y: int = round((px_coords.y - padding.y) / (grid_size.y + spacing.y)) + return Vector2i(x, y) + +# Convert TileId to grid coords +static func tileid_to_grid(tile_id: int, grid_w: int) -> Vector2i: + var y := int(tile_id / grid_w) + var x := tile_id % grid_w + return Vector2i(x, y) + +static func index_to_grid(index: int, grid_w: int) -> Vector2i: + var x: int = floor(index % grid_w) + var y: int = floor(index / grid_w) + return Vector2i(x, y) + +# Converts '1' to (TRANSFORM_FLIP_H), and so on. +static func get_tile_flip_mask(index: int) -> int: + # 0 -> 0 + # 1 -> TileSetAtlasSource.TRANSFORM_FLIP_H (4096) + # 2 -> TileSetAtlasSource.TRANSFORM_FLIP_V (8192) + # 3 -> TileSetAtlasSource.TRANSFORM_FLIP_H | TileSetAtlasSource.TRANSFORM_FLIP_H (12_228) + return index << 12 diff --git a/addons/ldtk-importer/src/util/tile-util.gd.uid b/addons/ldtk-importer/src/util/tile-util.gd.uid new file mode 100644 index 0000000..3569e63 --- /dev/null +++ b/addons/ldtk-importer/src/util/tile-util.gd.uid @@ -0,0 +1 @@ +uid://ckdwtow3ohfyj diff --git a/addons/ldtk-importer/src/util/time-util.gd b/addons/ldtk-importer/src/util/time-util.gd new file mode 100644 index 0000000..2de990b --- /dev/null +++ b/addons/ldtk-importer/src/util/time-util.gd @@ -0,0 +1,48 @@ +@tool + +## Helper Script to track performance of the importer. + +enum { SAVE, LOAD, GENERAL, TILES, POST_IMPORT, TOTAL } + +static var category_time := { + SAVE: 0, + LOAD: 0, + GENERAL: 0, + TILES: 0, + POST_IMPORT: 0, + TOTAL : 0, +} + +static var category_name := { + SAVE: "save", + LOAD: "load", + GENERAL : "general", + TILES: "tiles", + POST_IMPORT: "post-import", + TOTAL: "total" +} + +static func log_time(category: int, time: int = 0) -> void: + if category_time.has(category): + category_time[category] += time + else: + push_warning("No DebugTime Category '%s'" % [category_name[category]]) + +static func clear_time() -> void: + for category in category_time: + category_time[category] = 0 + +static func get_total_time() -> int: + var sum: int = 0 + for category in category_time: + if category != TOTAL: + sum += category_time[category] + return sum + +static func get_result() -> String: + var result: String = "Performance Results:" + for category in category_time: + if category != TOTAL: + result += "\n [color=#8ec07c]%s [color=slategray](%sms)[/color]" % [category_name[category], category_time[category]] + result.indent("\t") + return result diff --git a/addons/ldtk-importer/src/util/time-util.gd.uid b/addons/ldtk-importer/src/util/time-util.gd.uid new file mode 100644 index 0000000..fe8aaa5 --- /dev/null +++ b/addons/ldtk-importer/src/util/time-util.gd.uid @@ -0,0 +1 @@ +uid://deyjebwjtndbx diff --git a/addons/ldtk-importer/src/util/util.gd b/addons/ldtk-importer/src/util/util.gd new file mode 100644 index 0000000..e83658c --- /dev/null +++ b/addons/ldtk-importer/src/util/util.gd @@ -0,0 +1,224 @@ +@tool + +const DebugTime = preload("time-util.gd") + +enum LDTK_VERSION { + FUTURE, + v1_5, + v1_4, + v1_3, + v1_2, + v1_0, + UNSUPPORTED +} +static var file_version = LDTK_VERSION.UNSUPPORTED + +# Stores import flags (used throughout the importer) +static var options := {} + +static func parse_file(source_file: String) -> Dictionary: + var json := FileAccess.open(source_file, FileAccess.READ) + if json == null: + push_error("\nFailed to open file: ", source_file) + return {} + var data := JSON.parse_string(json.get_as_text()) + return data + +static func check_version(version: String, latest_version: String) -> bool: + if version.begins_with("0."): + push_error("LDTK version out of date. Please update LDtk to ", latest_version) + file_version = LDTK_VERSION.UNSUPPORTED + return false + + var major_minor = version.substr(0, 3) + match major_minor: + "1.0", "1.1": + file_version = LDTK_VERSION.v1_0 + "1.2": + file_version = LDTK_VERSION.v1_2 + "1.3": + file_version = LDTK_VERSION.v1_3 + "1.4": + file_version = LDTK_VERSION.v1_4 + "1.5": + file_version = LDTK_VERSION.v1_5 + _: + push_warning("LDtk file version is newer than what is supported. Errors may occur.") + file_version = LDTK_VERSION.FUTURE + return true + +static func recursive_set_owner(node: Node, owner: Node) -> void: + if node.owner and node.owner != owner: + return + node.set_owner(owner) + for child in node.get_children(): + recursive_set_owner(child, owner) + +#region Performance Measurement + +static var last_time: int = 0 +static var time_history: Array[Dictionary] = [] + +static func timer_start(category: int = 0) -> int: + var t: int = Time.get_ticks_msec() + var d: int = t - last_time + last_time = t + + if time_history.size() > 0: + # Entering subcategory - log prev category up to here + var last: Dictionary = time_history[-1] + DebugTime.log_time(last.category, d) + + time_history.append({"category": category, "time": t, "init": t}) + return t + +static func timer_finish(message: String, indent: int = 0, doPrint: bool = true) -> int: + if time_history.size() == 0: + push_error("Unbalanced DebugTime stack") + var last: Dictionary = time_history.pop_back() + var t: int = Time.get_ticks_msec() + var d: int = t - last.time + last_time = t + DebugTime.log_time(last.category, d) + + if time_history.size() > 0: + time_history[-1].time = t + + if (doPrint and options.verbose_output): + # Print 'gross' duration for this block + var d2: int = t - last.init + print_time("item_info_time", message, d2, indent) + return d + +static func timer_reset() -> void: + last_time = 0 + time_history.clear() + DebugTime.clear_time() + +#endregion + +#region Debug Output + +const PRINT_SNIPPET := { + "import_start": "[bgcolor=#ffcc00][color=black][LDTK][/color][/bgcolor][color=#ffcc00] Start Import: [color=#fe8019][i]'%s'[/i][/color]", + "import_finish": "[bgcolor=#ffcc00][color=black][LDTK][/color][/bgcolor][color=#ffcc00] Finished Import. [color=slategray](Total Time: %sms)[/color]", + "item_ok" : "[color=#b8bb26]• %s ✔[/color]", + "item_fail": "[color=#fb4934]• %s ✘[/color]", + "item_info": "[color=#8ec07c]• %s [/color]", + "item_save": "[color=#ffcc00]• %s [/color]", + "item_post_import": "[color=tomato]‣ %s[/color]", + "block": "[color=#ffcc00]█[/color] [color=#fe8019]%s[/color]", + "item_ok_time": "[color=#b8bb26]• %s ✔[/color]\t[color=slategray](%sms)[/color]", + "item_fail_time": "[color=#fb4934]• %s ✘[/color]\t[color=slategray](%sms)[/color]", + "item_info_time": "[color=#8ec07c]• %s [/color]\t[color=slategray](%sms)[/color]", + "world_post_import": "[color=tomato]‣ World Post-Import: %s[/color]", + "level_post_import": "[color=tomato]‣ Level Post-Import: %s[/color]", + "tileset_post_import": "[color=tomato]‣ Tileset Post-Import: %s[/color]", + "entity_post_import": "[color=tomato]‣ Entity Post-Import: %s[/color]", +} + +static func nice_print(type: String, message: String, indent: int = 0) -> void: + if PRINT_SNIPPET.has(type): + var snippet: String = PRINT_SNIPPET[type] + snippet = snippet.indent(str("\t").repeat(indent)) + print_rich(snippet % [message]) + else: + print_rich(message) + +static func print(type: String, message: String, indent: int = 0) -> void: + nice_print(type, message, indent) + +static func print_time(type: String, message: String, time: int = -1, indent: int = 0) -> void: + if PRINT_SNIPPET.has(type): + var snippet: String = PRINT_SNIPPET[type] + snippet = snippet.indent(str("\t").repeat(indent)) + print_rich(snippet % [message, time]) + else: + print_rich(message) + +#endregion + +#region References +static var tilesets := {} +static var tileset_refs := {} +static var instance_refs := {} +static var unresolved_refs := [] +static var path_resolvers := [] + +static func update_instance_reference(iid: String, instance: Variant) -> void: + instance_refs[iid] = instance + +static func add_tileset_reference(uid: int, atlas: TileSetAtlasSource) -> void: + tileset_refs[uid] = atlas + +# This is useful for handling entity instances, as they might not exist yet when encountered +# or be overwritten at a later stage (e.g. post-import) when importing an LDTK level/world. +static func add_unresolved_reference( + object: Variant, + property: Variant, + node: Variant = object, + iid: String = str(object[property]) +) -> void: + + unresolved_refs.append({ + "object": object, + "property": property, + "node": node, + "iid": iid + }) + +static func handle_references() -> void: + resolve_references() + clean_references() + clean_resolvers() + +static func resolve_references(force: bool = true) -> void: + var count := unresolved_refs.size() + if not force and (count == 0 or not options.resolve_entityrefs): + if (options.verbose_output): nice_print("item_info", "No references to resolve", 1) + return + else: + if (options.verbose_output): nice_print("item_info", "Resolving %s references" % [count], 1) + + var solved_refcount := 0 + + for ref in unresolved_refs: + var iid: String = ref.iid + var object: Variant = ref.object # Expected: Node, Dict or Array + var property: Variant = ref.property # Expected: String or Int + var node: Variant = ref.node # Expected: Node, but needs to accept null + + if instance_refs.has(iid): + var instance = instance_refs[iid] + + if instance is Node and node is Node: + # BUG: When using 'Pack Levels', external references cannot be resolved at import time. (e.g. Level_0 -> Level_1) + # Internal references can resolve, but Godot pushes the error: Parameter "common_parent" is null. + # Currently it's a choice between a bunch of errors (that suppress other messages), or no resolving. + if true: #instance.owner != null and node.owner != null: + var path = node.get_path_to(instance) + if path: + object[property] = path + else: + nice_print("item_fail", "Cannot resolve ref (out-of-bounds?) '%s' '%s'" % [instance.name, node.name], 1) + continue + else: + object[property] = instance + + solved_refcount += 1 + + var leftover_refcount: int = unresolved_refs.size() - solved_refcount + if leftover_refcount > 0: + nice_print("item_info", "Could not resolve %s references, most likely non-existent entities." % [leftover_refcount], 1) + +static func clean_references() -> void: + tileset_refs.clear() + instance_refs.clear() + unresolved_refs.clear() + +static func clean_resolvers() -> void: + for resolver in path_resolvers: + resolver.free() + path_resolvers.clear() + +#endregion diff --git a/addons/ldtk-importer/src/util/util.gd.uid b/addons/ldtk-importer/src/util/util.gd.uid new file mode 100644 index 0000000..bb29dc9 --- /dev/null +++ b/addons/ldtk-importer/src/util/util.gd.uid @@ -0,0 +1 @@ +uid://m6qx024ysglh diff --git a/addons/ldtk-importer/src/world.gd b/addons/ldtk-importer/src/world.gd new file mode 100644 index 0000000..1be674c --- /dev/null +++ b/addons/ldtk-importer/src/world.gd @@ -0,0 +1,89 @@ +@tool + +const Util = preload("util/util.gd") +const PostImport = preload("post-import.gd") + +static func create_world( + name: String, + iid: String, + levels: Array, + base_dir: String +) -> LDTKWorld: + + Util.timer_start(Util.DebugTime.GENERAL) + var world = LDTKWorld.new() + world.name = name + world.iid = iid + + # Update World_Rect + var x1 = world.rect.position.x + var x2 = world.rect.end.x + var y1 = world.rect.position.y + var y2 = world.rect.end.y + + var worldDepths := {} + + for level in levels: + level.position = level.world_position + + if Util.options.group_world_layers: + var worldDepthLayer: LDTKWorldLayer + var z_index: int = level.z_index if (level is not PackedScene) else 0 + if not z_index in worldDepths: + worldDepthLayer = LDTKWorldLayer.new() + worldDepthLayer.name = "WorldLayer_" + str(z_index) + worldDepthLayer.depth = z_index + world.add_child(worldDepthLayer) + worldDepthLayer.set_owner(world) + worldDepths[z_index] = worldDepthLayer + else: + worldDepthLayer = worldDepths[z_index] + worldDepthLayer.add_child(level) + else: + world.add_child(level) + + x1 = min(x1, level.position.x) + y1 = min(y1, level.position.y) + x2 = max(x2, level.position.x + level.size.x) + y2 = max(y2, level.position.y + level.size.y) + + # Set owner - this ensures nodes get saved correctly + level.set_owner(world) + if not (Util.options.pack_levels): + Util.recursive_set_owner(level, world) + + # Sort WorldLayers based on depth + if not worldDepths.is_empty(): + var keys = worldDepths.keys() + keys.sort_custom(func(a,b): return a < b) + for i in range(keys.size()): + world.move_child(worldDepths[keys[i]], i) + + world.rect.position = Vector2i(x1, y1) + world.rect.end = Vector2i(x2, y2) + + Util.timer_finish("World Created", 1) + + # Post-Import + if (Util.options.world_post_import): + world = PostImport.run_world_post_import(world, Util.options.world_post_import) + + return world + +static func create_multi_world( + name: String, + iid: String, + worlds: Array[LDTKWorld] +) -> LDTKWorld: + + var multi_world = LDTKWorld.new() + multi_world.name = name + multi_world.iid = iid + + worlds.sort_custom(func(a, b): return a.depth < b.depth) + + for world in worlds: + multi_world.add_child(world) + Util.recursive_set_owner(world, multi_world) + + return multi_world diff --git a/addons/ldtk-importer/src/world.gd.uid b/addons/ldtk-importer/src/world.gd.uid new file mode 100644 index 0000000..ceb017e --- /dev/null +++ b/addons/ldtk-importer/src/world.gd.uid @@ -0,0 +1 @@ +uid://binwnyrnhbp3x diff --git a/project.godot b/project.godot index 7acc358..3dc737c 100644 --- a/project.godot +++ b/project.godot @@ -21,8 +21,8 @@ import/import_plugin/default_automatic_importer="Static Texture" [display] -window/size/viewport_width=640 -window/size/viewport_height=360 +window/size/viewport_width=320 +window/size/viewport_height=180 window/size/window_width_override=1280 window/size/window_height_override=720 window/stretch/mode="viewport" @@ -34,7 +34,7 @@ project/assembly_name="Dancer" [editor_plugins] -enabled=PackedStringArray("res://addons/BehaviorDebug/plugin.cfg") +enabled=PackedStringArray("res://addons/BehaviorDebug/plugin.cfg", "res://addons/ldtk-importer/plugin.cfg") [input] @@ -105,7 +105,7 @@ parry={ common/physics_ticks_per_second=120 common/physics_jitter_fix=0.0 3d/physics_engine="Dummy" -2d/default_gravity=800.0 +2d/default_gravity=500.0 common/physics_interpolation=true [rendering] diff --git a/src/game.tscn b/src/game.tscn index af5a65c..e56fdd9 100644 --- a/src/game.tscn +++ b/src/game.tscn @@ -1,507 +1,14 @@ -[gd_scene format=4 uid="uid://cujd7ltkrnxpt"] +[gd_scene format=3 uid="uid://cujd7ltkrnxpt"] [ext_resource type="Script" uid="uid://cjnisd5qmc15u" path="res://src/Game.cs" id="1_kc8ui"] +[ext_resource type="PackedScene" uid="uid://cgkcjnr8svcs2" path="res://src/level/world.ldtk" id="2_cdx1q"] [ext_resource type="PackedScene" uid="uid://ce2k04khaub8n" path="res://src/player/player.tscn" id="2_feb5d"] -[ext_resource type="Texture2D" uid="uid://ccsdy0nrbcbv2" path="res://src/level/rain.png" id="3_cdx1q"] -[ext_resource type="Script" uid="uid://cbf6cfj3awmbw" path="res://src/level/Rain.cs" id="4_4bcji"] [ext_resource type="Theme" uid="uid://bybov1cpwtf7p" path="res://src/base_theme.tres" id="5_bs6l1"] -[ext_resource type="Texture2D" uid="uid://dumlc4mcwmlke" path="res://src/level/tiles.png" id="7_y2hwx"] [ext_resource type="Script" uid="uid://cwwftbimomctp" path="res://src/level/FollowRootCamera.cs" id="9_qiocs"] [ext_resource type="Script" uid="uid://duwojyl38rkj0" path="res://src/level/LayeredSubViewport.cs" id="11_qiocs"] [ext_resource type="Shader" uid="uid://cvuaiyxntwd88" path="res://src/foreground_outline.gdshader" id="11_xdrfk"] [ext_resource type="PackedScene" uid="uid://llohfwmma2hv" path="res://src/ui/player_hud.tscn" id="11_y2hwx"] -[sub_resource type="Gradient" id="Gradient_uktfx"] -offsets = PackedFloat32Array(0) -colors = PackedColorArray(1, 1, 1, 1) - -[sub_resource type="GradientTexture1D" id="GradientTexture1D_y2hwx"] -gradient = SubResource("Gradient_uktfx") -width = 1 - -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_wqvko"] -texture = ExtResource("7_y2hwx") -0:0/0 = 0 -0:0/0/physics_layer_2/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -0:0/0/physics_layer_2/polygon_0/one_way = true -1:0/0 = 0 -1:0/0/physics_layer_2/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -1:0/0/physics_layer_2/polygon_0/one_way = true -3:0/0 = 0 -3:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -4:0/0 = 0 -4:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -0:1/0 = 0 -0:2/0 = 0 -1:2/0 = 0 -0:3/0 = 0 -0:3/0/physics_layer_2/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -0:3/0/physics_layer_2/polygon_0/one_way = true -1:3/0 = 0 -1:3/0/physics_layer_2/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -1:3/0/physics_layer_2/polygon_0/one_way = true -2:3/0 = 0 -2:3/0/physics_layer_2/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -2:3/0/physics_layer_2/polygon_0/one_way = true -0:4/0 = 0 -0:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -1:4/0 = 0 -1:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -2:4/0 = 0 -2:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -0:5/0 = 0 -0:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -1:5/0 = 0 -1:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -2:5/0 = 0 -2:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -0:6/0 = 0 -0:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -1:6/0 = 0 -1:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -2:6/0 = 0 -2:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -3:4/0 = 0 -3:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(8, -8, 8, 8, -8, 8) -4:4/0 = 0 -4:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, -8, 8, 8, 8) -3:5/0 = 0 -3:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 0, 8, 8) -4:5/0 = 0 -4:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(8, -8, 8, 8, -8, 8, -8, 0) -5:5/0 = 0 -5:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(8, 0, 8, 8, -8, 8, -8, -8) -6:5/0 = 0 -6:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 0, 8, 8, -8, 8) -5:4/0 = 0 -5:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -5:0/0 = 0 -5:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -6:0/0 = 0 -6:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, -8, 8, 8) -7:0/0 = 0 -7:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, 8, -8, 8) -7:1/0 = 0 -7:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, -8, 8) -6:1/0 = 0 -6:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8) -0:7/0 = 0 -0:7/0/terrain_set = 0 -0:7/0/terrain = 1 -0:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -0:7/0/terrains_peering_bit/bottom_side = 1 -1:7/0 = 0 -1:7/0/terrain_set = 0 -1:7/0/terrain = 1 -1:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -1:7/0/terrains_peering_bit/right_side = 1 -1:7/0/terrains_peering_bit/bottom_side = 1 -2:7/0 = 0 -2:7/0/terrain_set = 0 -2:7/0/terrain = 1 -2:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -2:7/0/terrains_peering_bit/right_side = 1 -2:7/0/terrains_peering_bit/bottom_side = 1 -2:7/0/terrains_peering_bit/left_side = 1 -2:8/0 = 0 -2:8/0/terrain_set = 0 -2:8/0/terrain = 1 -2:8/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -2:8/0/terrains_peering_bit/right_side = 1 -2:8/0/terrains_peering_bit/bottom_side = 1 -2:8/0/terrains_peering_bit/left_side = 1 -2:8/0/terrains_peering_bit/top_side = 1 -1:8/0 = 0 -1:8/0/terrain_set = 0 -1:8/0/terrain = 1 -1:8/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -1:8/0/terrains_peering_bit/right_side = 1 -1:8/0/terrains_peering_bit/bottom_side = 1 -1:8/0/terrains_peering_bit/top_side = 1 -0:8/0 = 0 -0:8/0/terrain_set = 0 -0:8/0/terrain = 1 -0:8/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -0:8/0/terrains_peering_bit/bottom_side = 1 -0:8/0/terrains_peering_bit/top_side = 1 -0:9/0 = 0 -0:9/0/terrain_set = 0 -0:9/0/terrain = 1 -0:9/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -0:9/0/terrains_peering_bit/top_side = 1 -1:9/0 = 0 -1:9/0/terrain_set = 0 -1:9/0/terrain = 1 -1:9/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -1:9/0/terrains_peering_bit/right_side = 1 -1:9/0/terrains_peering_bit/top_side = 1 -2:9/0 = 0 -2:9/0/terrain_set = 0 -2:9/0/terrain = 1 -2:9/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -2:9/0/terrains_peering_bit/right_side = 1 -2:9/0/terrains_peering_bit/left_side = 1 -2:9/0/terrains_peering_bit/top_side = 1 -3:7/0 = 0 -3:7/0/terrain_set = 0 -3:7/0/terrain = 1 -3:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -3:7/0/terrains_peering_bit/bottom_side = 1 -3:7/0/terrains_peering_bit/left_side = 1 -4:7/0 = 0 -4:7/0/terrain_set = 0 -4:7/0/terrain = 1 -4:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -4:7/0/terrains_peering_bit/right_side = 1 -4:7/0/terrains_peering_bit/bottom_side = 1 -4:7/0/terrains_peering_bit/left_side = 1 -4:7/0/terrains_peering_bit/top_left_corner = 1 -4:7/0/terrains_peering_bit/top_side = 1 -5:7/0 = 0 -5:7/0/terrain_set = 0 -5:7/0/terrain = 1 -5:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -5:7/0/terrains_peering_bit/right_side = 1 -5:7/0/terrains_peering_bit/bottom_right_corner = 1 -5:7/0/terrains_peering_bit/bottom_side = 1 -5:7/0/terrains_peering_bit/left_side = 1 -5:8/0 = 0 -5:8/0/terrain_set = 0 -5:8/0/terrain = 1 -5:8/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -5:8/0/terrains_peering_bit/right_side = 1 -5:8/0/terrains_peering_bit/bottom_right_corner = 1 -5:8/0/terrains_peering_bit/bottom_side = 1 -5:8/0/terrains_peering_bit/bottom_left_corner = 1 -5:8/0/terrains_peering_bit/left_side = 1 -5:8/0/terrains_peering_bit/top_side = 1 -5:8/0/terrains_peering_bit/top_right_corner = 1 -6:8/0 = 0 -6:8/0/terrain_set = 0 -6:8/0/terrain = 1 -6:8/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -6:8/0/terrains_peering_bit/right_side = 1 -6:8/0/terrains_peering_bit/bottom_right_corner = 1 -6:8/0/terrains_peering_bit/bottom_side = 1 -6:8/0/terrains_peering_bit/bottom_left_corner = 1 -6:8/0/terrains_peering_bit/left_side = 1 -6:8/0/terrains_peering_bit/top_left_corner = 1 -6:8/0/terrains_peering_bit/top_side = 1 -7:8/0 = 0 -7:8/0/terrain_set = 0 -7:8/0/terrain = 1 -7:8/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -7:8/0/terrains_peering_bit/bottom_side = 1 -7:8/0/terrains_peering_bit/bottom_left_corner = 1 -7:8/0/terrains_peering_bit/left_side = 1 -7:8/0/terrains_peering_bit/top_side = 1 -8:8/0 = 0 -8:8/0/terrain_set = 0 -8:8/0/terrain = 1 -8:8/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -8:8/0/terrains_peering_bit/right_side = 1 -8:8/0/terrains_peering_bit/bottom_right_corner = 1 -8:8/0/terrains_peering_bit/bottom_side = 1 -8:8/0/terrains_peering_bit/top_side = 1 -8:8/0/terrains_peering_bit/top_right_corner = 1 -9:8/0 = 0 -9:8/0/terrain_set = 0 -9:8/0/terrain = 1 -9:8/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -9:8/0/terrains_peering_bit/right_side = 1 -9:8/0/terrains_peering_bit/bottom_side = 1 -9:8/0/terrains_peering_bit/bottom_left_corner = 1 -9:8/0/terrains_peering_bit/left_side = 1 -9:8/0/terrains_peering_bit/top_side = 1 -9:8/0/terrains_peering_bit/top_right_corner = 1 -10:7/0 = 0 -10:7/0/terrain_set = 0 -10:7/0/terrain = 1 -10:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -10:7/0/terrains_peering_bit/right_side = 1 -10:7/0/terrains_peering_bit/bottom_right_corner = 1 -10:7/0/terrains_peering_bit/bottom_side = 1 -10:7/0/terrains_peering_bit/bottom_left_corner = 1 -10:7/0/terrains_peering_bit/left_side = 1 -11:7/0 = 0 -11:7/0/terrain_set = 0 -11:7/0/terrain = 1 -11:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -11:7/0/terrains_peering_bit/bottom_side = 1 -11:7/0/terrains_peering_bit/bottom_left_corner = 1 -11:7/0/terrains_peering_bit/left_side = 1 -9:7/0 = 0 -9:7/0/terrain_set = 0 -9:7/0/terrain = 1 -9:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -9:7/0/terrains_peering_bit/right_side = 1 -9:7/0/terrains_peering_bit/bottom_right_corner = 1 -9:7/0/terrains_peering_bit/bottom_side = 1 -9:7/0/terrains_peering_bit/bottom_left_corner = 1 -9:7/0/terrains_peering_bit/left_side = 1 -9:7/0/terrains_peering_bit/top_side = 1 -8:7/0 = 0 -8:7/0/terrain_set = 0 -8:7/0/terrain = 1 -8:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -8:7/0/terrains_peering_bit/right_side = 1 -8:7/0/terrains_peering_bit/bottom_right_corner = 1 -8:7/0/terrains_peering_bit/bottom_side = 1 -7:7/0 = 0 -7:7/0/terrain_set = 0 -7:7/0/terrain = 1 -7:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -7:7/0/terrains_peering_bit/right_side = 1 -7:7/0/terrains_peering_bit/bottom_side = 1 -7:7/0/terrains_peering_bit/left_side = 1 -7:7/0/terrains_peering_bit/top_side = 1 -7:7/0/terrains_peering_bit/top_right_corner = 1 -6:7/0 = 0 -6:7/0/terrain_set = 0 -6:7/0/terrain = 1 -6:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -6:7/0/terrains_peering_bit/right_side = 1 -6:7/0/terrains_peering_bit/bottom_side = 1 -6:7/0/terrains_peering_bit/bottom_left_corner = 1 -6:7/0/terrains_peering_bit/left_side = 1 -4:8/0 = 0 -4:8/0/terrain_set = 0 -4:8/0/terrain = 1 -4:8/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -4:8/0/terrains_peering_bit/right_side = 1 -4:8/0/terrains_peering_bit/bottom_right_corner = 1 -4:8/0/terrains_peering_bit/bottom_side = 1 -4:8/0/terrains_peering_bit/top_side = 1 -11:8/0 = 0 -11:8/0/terrain_set = 0 -11:8/0/terrain = 1 -11:8/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -11:8/0/terrains_peering_bit/right_side = 1 -11:8/0/terrains_peering_bit/bottom_side = 1 -11:8/0/terrains_peering_bit/bottom_left_corner = 1 -11:8/0/terrains_peering_bit/left_side = 1 -11:8/0/terrains_peering_bit/top_left_corner = 1 -11:8/0/terrains_peering_bit/top_side = 1 -11:9/0 = 0 -11:9/0/terrain_set = 0 -11:9/0/terrain = 1 -11:9/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -11:9/0/terrains_peering_bit/bottom_side = 1 -11:9/0/terrains_peering_bit/bottom_left_corner = 1 -11:9/0/terrains_peering_bit/left_side = 1 -11:9/0/terrains_peering_bit/top_left_corner = 1 -11:9/0/terrains_peering_bit/top_side = 1 -10:9/0 = 0 -10:9/0/terrain_set = 0 -10:9/0/terrain = 1 -10:9/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -10:9/0/terrains_peering_bit/right_side = 1 -10:9/0/terrains_peering_bit/bottom_right_corner = 1 -10:9/0/terrains_peering_bit/bottom_side = 1 -10:9/0/terrains_peering_bit/left_side = 1 -10:9/0/terrains_peering_bit/top_left_corner = 1 -10:9/0/terrains_peering_bit/top_side = 1 -9:9/0 = 0 -9:9/0/terrain_set = 0 -9:9/0/terrain = 1 -9:9/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -9:9/0/terrains_peering_bit/right_side = 1 -9:9/0/terrains_peering_bit/bottom_right_corner = 1 -9:9/0/terrains_peering_bit/bottom_side = 1 -9:9/0/terrains_peering_bit/bottom_left_corner = 1 -9:9/0/terrains_peering_bit/left_side = 1 -9:9/0/terrains_peering_bit/top_left_corner = 1 -9:9/0/terrains_peering_bit/top_side = 1 -9:9/0/terrains_peering_bit/top_right_corner = 1 -8:9/0 = 0 -8:9/0/terrain_set = 0 -8:9/0/terrain = 1 -8:9/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -8:9/0/terrains_peering_bit/right_side = 1 -8:9/0/terrains_peering_bit/bottom_right_corner = 1 -8:9/0/terrains_peering_bit/bottom_side = 1 -8:9/0/terrains_peering_bit/left_side = 1 -8:9/0/terrains_peering_bit/top_side = 1 -8:9/0/terrains_peering_bit/top_right_corner = 1 -8:10/0 = 0 -8:10/0/terrain_set = 0 -8:10/0/terrain = 1 -8:10/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -8:10/0/terrains_peering_bit/right_side = 1 -8:10/0/terrains_peering_bit/top_side = 1 -8:10/0/terrains_peering_bit/top_right_corner = 1 -9:10/0 = 0 -9:10/0/terrain_set = 0 -9:10/0/terrain = 1 -9:10/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -9:10/0/terrains_peering_bit/right_side = 1 -9:10/0/terrains_peering_bit/left_side = 1 -9:10/0/terrains_peering_bit/top_left_corner = 1 -9:10/0/terrains_peering_bit/top_side = 1 -9:10/0/terrains_peering_bit/top_right_corner = 1 -10:10/0 = 0 -10:10/0/terrain_set = 0 -10:10/0/terrain = 1 -10:10/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -10:10/0/terrains_peering_bit/right_side = 1 -10:10/0/terrains_peering_bit/bottom_side = 1 -10:10/0/terrains_peering_bit/left_side = 1 -10:10/0/terrains_peering_bit/top_left_corner = 1 -10:10/0/terrains_peering_bit/top_side = 1 -10:10/0/terrains_peering_bit/top_right_corner = 1 -11:10/0 = 0 -11:10/0/terrain_set = 0 -11:10/0/terrain = 1 -11:10/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -11:10/0/terrains_peering_bit/left_side = 1 -11:10/0/terrains_peering_bit/top_left_corner = 1 -11:10/0/terrains_peering_bit/top_side = 1 -7:10/0 = 0 -7:10/0/terrain_set = 0 -7:10/0/terrain = 1 -7:10/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -7:10/0/terrains_peering_bit/right_side = 1 -7:10/0/terrains_peering_bit/bottom_right_corner = 1 -7:10/0/terrains_peering_bit/bottom_side = 1 -7:10/0/terrains_peering_bit/left_side = 1 -7:10/0/terrains_peering_bit/top_side = 1 -6:10/0 = 0 -6:10/0/terrain_set = 0 -6:10/0/terrain = 1 -6:10/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -6:10/0/terrains_peering_bit/right_side = 1 -6:10/0/terrains_peering_bit/left_side = 1 -6:10/0/terrains_peering_bit/top_left_corner = 1 -6:10/0/terrains_peering_bit/top_side = 1 -6:9/0 = 0 -6:9/0/terrain_set = 0 -6:9/0/terrain = 1 -6:9/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -6:9/0/terrains_peering_bit/right_side = 1 -6:9/0/terrains_peering_bit/bottom_side = 1 -6:9/0/terrains_peering_bit/bottom_left_corner = 1 -6:9/0/terrains_peering_bit/left_side = 1 -6:9/0/terrains_peering_bit/top_left_corner = 1 -6:9/0/terrains_peering_bit/top_side = 1 -6:9/0/terrains_peering_bit/top_right_corner = 1 -7:9/0 = 0 -7:9/0/terrain_set = 0 -7:9/0/terrain = 1 -7:9/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -7:9/0/terrains_peering_bit/bottom_side = 1 -7:9/0/terrains_peering_bit/left_side = 1 -7:9/0/terrains_peering_bit/top_left_corner = 1 -7:9/0/terrains_peering_bit/top_side = 1 -5:9/0 = 0 -5:9/0/terrain_set = 0 -5:9/0/terrain = 1 -5:9/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -5:9/0/terrains_peering_bit/right_side = 1 -5:9/0/terrains_peering_bit/bottom_right_corner = 1 -5:9/0/terrains_peering_bit/bottom_side = 1 -5:9/0/terrains_peering_bit/left_side = 1 -5:9/0/terrains_peering_bit/top_left_corner = 1 -5:9/0/terrains_peering_bit/top_side = 1 -5:9/0/terrains_peering_bit/top_right_corner = 1 -4:9/0 = 0 -4:9/0/terrain_set = 0 -4:9/0/terrain = 1 -4:9/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -4:9/0/terrains_peering_bit/right_side = 1 -4:9/0/terrains_peering_bit/bottom_side = 1 -4:9/0/terrains_peering_bit/top_side = 1 -4:9/0/terrains_peering_bit/top_right_corner = 1 -10:8/0 = 0 -13:7/0 = 0 -13:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, 8, 8, -8, -8) -12:7/0 = 0 -12:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(8, -8, 8, 8, -8, 8) -12:8/0 = 0 -12:8/0/physics_layer_0/polygon_0/points = PackedVector2Array(8, -8, 8, 8, -8, -8) -13:8/0 = 0 -13:8/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 8, -8, -8, 8, -8) -5:10/0 = 0 -5:10/0/terrain_set = 0 -5:10/0/terrain = 1 -5:10/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -5:10/0/terrains_peering_bit/right_side = 1 -5:10/0/terrains_peering_bit/left_side = 1 -5:10/0/terrains_peering_bit/top_side = 1 -5:10/0/terrains_peering_bit/top_right_corner = 1 -4:10/0 = 0 -4:10/0/terrain_set = 0 -4:10/0/terrain = 1 -4:10/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -4:10/0/terrains_peering_bit/right_side = 1 -4:10/0/terrains_peering_bit/bottom_side = 1 -4:10/0/terrains_peering_bit/bottom_left_corner = 1 -4:10/0/terrains_peering_bit/left_side = 1 -4:10/0/terrains_peering_bit/top_side = 1 -4:10/0/terrains_peering_bit/top_right_corner = 1 -3:10/0 = 0 -3:10/0/terrain_set = 0 -3:10/0/terrain = 1 -3:10/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -3:10/0/terrains_peering_bit/left_side = 1 -2:10/0 = 0 -2:10/0/terrain_set = 0 -2:10/0/terrain = 1 -2:10/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -2:10/0/terrains_peering_bit/right_side = 1 -2:10/0/terrains_peering_bit/left_side = 1 -1:10/0 = 0 -1:10/0/terrain_set = 0 -1:10/0/terrain = 1 -1:10/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -1:10/0/terrains_peering_bit/right_side = 1 -0:10/0 = 0 -0:10/0/terrain_set = 0 -0:10/0/terrain = 1 -0:10/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -3:8/0 = 0 -3:8/0/terrain_set = 0 -3:8/0/terrain = 1 -3:8/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -3:8/0/terrains_peering_bit/bottom_side = 1 -3:8/0/terrains_peering_bit/left_side = 1 -3:8/0/terrains_peering_bit/top_side = 1 -3:9/0 = 0 -3:9/0/terrain_set = 0 -3:9/0/terrain = 1 -3:9/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) -3:9/0/terrains_peering_bit/left_side = 1 -3:9/0/terrains_peering_bit/top_side = 1 - -[sub_resource type="TileSet" id="TileSet_mwb40"] -occlusion_layer_0/light_mask = 1 -occlusion_layer_0/sdf_collision = true -physics_layer_0/collision_layer = 1 -physics_layer_0/collision_mask = 0 -physics_layer_1/collision_layer = 32 -physics_layer_1/collision_mask = 0 -physics_layer_2/collision_layer = 64 -physics_layer_2/collision_mask = 0 -terrain_set_0/mode = 0 -terrain_set_0/terrain_0/name = "Test Block" -terrain_set_0/terrain_0/color = Color(0.881136, 0.893794, 0.8937595, 1) -terrain_set_0/terrain_1/name = "Rocks" -terrain_set_0/terrain_1/color = Color(0.46117795, 0.3008886, 0.32008484, 1) -custom_data_layer_0/name = "damage" -custom_data_layer_0/type = 3 -sources/0 = SubResource("TileSetAtlasSource_wqvko") - -[sub_resource type="Gradient" id="Gradient_244u8"] -interpolation_color_space = 2 -colors = PackedColorArray(1, 1, 1, 1, 0, 0, 0, 1) - -[sub_resource type="GradientTexture2D" id="GradientTexture2D_uktfx"] -gradient = SubResource("Gradient_244u8") -width = 256 -height = 256 -fill = 1 -fill_from = Vector2(0.50213677, 0.50641024) -fill_to = Vector2(1, 0.5363248) - [sub_resource type="ShaderMaterial" id="ShaderMaterial_xdrfk"] shader = ExtResource("11_xdrfk") shader_parameter/outline_color = Color(0, 0, 0, 1) @@ -511,94 +18,12 @@ shader_parameter/min_value = 0.6 visibility_layer = 3 script = ExtResource("1_kc8ui") -[node name="SunLight" type="DirectionalLight2D" parent="." unique_id=207170317] -visible = false -shadow_enabled = true -height = 1.0 - -[node name="Background" type="Node2D" parent="." unique_id=2097726518] - -[node name="Sky" type="Sprite2D" parent="Background" unique_id=1511807768] -visible = false -self_modulate = Color(0.30824444, 0.4354888, 0.5426537, 1) -texture_repeat = 2 -texture = SubResource("GradientTexture1D_y2hwx") -region_enabled = true -region_rect = Rect2(0, 0, 10000, 10000) -metadata/_edit_lock_ = true - -[node name="Rain" type="Sprite2D" parent="Background" unique_id=1210306308] -physics_interpolation_mode = 2 -visible = false -modulate = Color(1, 1, 1, 0.26666668) -texture_repeat = 2 -texture = ExtResource("3_cdx1q") -region_enabled = true -region_rect = Rect2(0, 0, 10000, 10000) -script = ExtResource("4_4bcji") -Movement = Vector2(0, 200) -metadata/_edit_lock_ = true - -[node name="Rain2" type="Sprite2D" parent="Background" unique_id=1399867573] -physics_interpolation_mode = 2 -visible = false -modulate = Color(1, 1, 1, 0.26666668) -texture_repeat = 2 -position = Vector2(21, 8) -texture = ExtResource("3_cdx1q") -flip_h = true -region_enabled = true -region_rect = Rect2(0, 0, 10000, 10000) -script = ExtResource("4_4bcji") -Movement = Vector2(-4, 250) -metadata/_edit_lock_ = true - -[node name="BG1" type="TileMapLayer" parent="Background" unique_id=462402070] -tile_set = SubResource("TileSet_mwb40") -collision_visibility_mode = 2 - [node name="Entities" type="Node2D" parent="." unique_id=1592804921] z_index = 10 z_as_relative = false [node name="Player" parent="Entities" unique_id=500011307 instance=ExtResource("2_feb5d")] -position = Vector2(-208, -128) - -[node name="Overlay" type="Node2D" parent="." unique_id=59734162] -visibility_layer = 3 -z_index = 15 -z_as_relative = false - -[node name="Rain4" type="Sprite2D" parent="Overlay" unique_id=940148613] -physics_interpolation_mode = 2 -visible = false -modulate = Color(1, 1, 1, 0.26666668) -texture_repeat = 2 -position = Vector2(37, 13) -texture = ExtResource("3_cdx1q") -flip_v = true -region_enabled = true -region_rect = Rect2(0, 0, 10000, 10000) -script = ExtResource("4_4bcji") -Movement = Vector2(-0.525, 206.805) -metadata/_edit_lock_ = true - -[node name="PointLight2D" type="PointLight2D" parent="Overlay" unique_id=1486868699] -visible = false -position = Vector2(-1552, 4144) -range_item_cull_mask = 2 -texture = SubResource("GradientTexture2D_uktfx") -texture_scale = 2.98 - -[node name="SolidTiles" type="TileMapLayer" parent="Overlay" unique_id=1452582102] -visibility_layer = 2 -tile_map_data = PackedByteArray("AAD5//v/AAADAAoAAAD4//v/AAACAAoAAAD3//v/AAACAAoAAAD2//v/AAACAAoAAAD1//v/AAACAAoAAAD0//v/AAACAAoAAADz//v/AAACAAoAAADy//v/AAACAAoAAADx//v/AAACAAoAAADw//v/AAACAAoAAADv//v/AAACAAoAAADu//v/AAACAAoAAADt//v/AAACAAoAAADs//v/AAACAAoAAADr//v/AAACAAoAAADq//v/AAACAAoAAADp//v/AAACAAoAAADo//v/AAACAAoAAADn//v/AAAGAAoAAADm//v/AAAJAAoAAADl//v/AAAJAAoAAADk//v/AAAJAAoAAADn//r/AAALAAkAAADn//n/AAALAAcAAADm//r/AAAJAAkAAADm//n/AAAKAAcAAADl//r/AAAJAAkAAADl//n/AAAKAAcAAADk//r/AAAJAAkAAADk//n/AAAKAAcAAADj//v/AAAJAAoAAADj//r/AAAJAAkAAADj//n/AAAGAAgAAADj//j/AAALAAkAAADj//f/AAALAAkAAADj//b/AAALAAcAAADi//v/AAAIAAoAAADi//r/AAAIAAgAAADi//n/AAAIAAgAAADi//j/AAAIAAgAAADi//f/AAAIAAgAAADi//b/AAAEAAgAAADi//X/AAAAAAgAAADi//T/AAAAAAcAAADs//P/AAALAAoAAADs//L/AAALAAkAAADs//H/AAALAAcAAADr//P/AAAJAAoAAADr//L/AAAJAAkAAADr//H/AAAKAAcAAADq//P/AAAJAAoAAADq//L/AAAJAAkAAADq//H/AAAKAAcAAADp//P/AAAJAAoAAADp//L/AAAJAAkAAADp//H/AAAKAAcAAADo//P/AAAJAAoAAADo//L/AAAJAAkAAADo//H/AAAKAAcAAADn//P/AAAJAAoAAADn//L/AAAJAAkAAADn//H/AAAKAAcAAADm//P/AAAJAAoAAADm//L/AAAJAAkAAADm//H/AAAKAAcAAADl//P/AAAIAAoAAADl//L/AAAIAAgAAADl//H/AAAIAAcAAAD2//D/AAALAAoAAAD2/+//AAALAAcAAAD1//D/AAAJAAoAAAD1/+//AAAKAAcAAAD0//D/AAAJAAoAAAD0/+//AAAKAAcAAADz//D/AAAJAAoAAADz/+//AAAKAAcAAADy//D/AAAJAAoAAADy/+//AAAKAAcAAADx//D/AAAIAAoAAADx/+//AAAIAAcAAAD+//D/AAALAAoAAAD+/+//AAALAAcAAAD9//D/AAAJAAoAAAD9/+//AAAKAAcAAAD8//D/AAAIAAoAAAD8/+//AAAIAAcAAADw/+z/AAALAAoAAADw/+v/AAALAAcAAADv/+z/AAAIAAoAAADv/+v/AAAIAAcAAAA=") -tile_set = SubResource("TileSet_mwb40") -collision_visibility_mode = 2 - -[node name="CanvasModulate" type="CanvasModulate" parent="." unique_id=1975411321] -visible = false -color = Color(0, 0, 0, 1) +position = Vector2(32, 304) [node name="Static" type="CanvasLayer" parent="." unique_id=884024747] layer = 20 @@ -610,6 +35,7 @@ anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 stretch = true +metadata/_edit_lock_ = true [node name="SubViewport" type="SubViewport" parent="Static/SubViewportContainer" unique_id=1162873217] disable_3d = true @@ -617,7 +43,7 @@ transparent_bg = true handle_input_locally = false canvas_item_default_texture_filter = 0 canvas_cull_mask = 4293918722 -size = Vector2i(640, 360) +size = Vector2i(320, 180) render_target_update_mode = 4 script = ExtResource("11_qiocs") @@ -628,18 +54,20 @@ script = ExtResource("9_qiocs") [node name="BackBufferCopy" type="BackBufferCopy" parent="Static/SubViewportContainer/SubViewport" unique_id=118401361] z_index = 18 copy_mode = 2 +metadata/_edit_lock_ = true [node name="CanvasLayer" type="CanvasLayer" parent="Static/SubViewportContainer/SubViewport" unique_id=1370865983] [node name="OutlinePostProcess" type="ColorRect" parent="Static/SubViewportContainer/SubViewport/CanvasLayer" unique_id=194334615] visibility_layer = 2 material = SubResource("ShaderMaterial_xdrfk") -custom_minimum_size = Vector2(640, 360) +custom_minimum_size = Vector2(320, 180) anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 +metadata/_edit_lock_ = true [node name="HudRoot" type="Control" parent="Static" unique_id=791343346] layout_mode = 3 @@ -654,9 +82,17 @@ metadata/_edit_lock_ = true [node name="PlayerHud" parent="Static/HudRoot" unique_id=763981532 node_paths=PackedStringArray("Player") instance=ExtResource("11_y2hwx")] layout_mode = 1 +anchors_preset = -1 +anchor_left = -0.1 +anchor_top = -0.044444446 +anchor_right = -0.1 +anchor_bottom = -0.044444446 offset_left = 48.0 offset_top = 16.0 offset_right = 88.0 offset_bottom = 56.0 +scale = Vector2(0.675, 0.675) Player = NodePath("../../../Entities/Player") metadata/_edit_use_anchors_ = true + +[node name="world" parent="." unique_id=289922319 instance=ExtResource("2_cdx1q")] diff --git a/src/level/levels/level_0.scn b/src/level/levels/level_0.scn new file mode 100644 index 0000000000000000000000000000000000000000..60797454e591d2015c06725c99a85f9e2dc339ee GIT binary patch literal 16530 zcma*vIdCgmTEOwXi)HPWtbN}XFWPs>mhZkV@a`1hxO6S~ju=1NW&6IF2f>>v0*VBN zDvFv6CSo9(Du@UO2zUt;2?UTpMil`G2^0aGuaDLG7Z6Op>Z_kVeSLIvy8Ebg+~E)h!`0j7~?w|e9&;I6{RqPjel(M60 zy;@vfe7-ta9G_jB%+8K)E{?Cw^1XcReD>wSaHz=f$Is{Uv&G!3*7eEN^76)z8b~ca z=%+)y;keP5&F2^A*NwCJ&G&1|FE1~yZWdRK>#LK-$%T4$zBs?ReerDZ)#9xFX>K(B z>&<@@p8dhTU6t{j<=NuH;>Osq%9Bma)W(f^?Rud$zs2$J@`rWxNsJ$#ee+L0{>R_{ zWz^@$+Wr@=kE+@7=Ih$o?CZsqRIB`3dq1)L`%kKOR8euYnoXrXAoj=c;&W^GJ>#z= zMJ@k(Z{1ZfS!HXNS~t`xdsQ0t+Q=*U)hZv`{D8+zHn8lf<#KLpsmC8&T%FC2FE6f_ zH_MB2vz+VYuj!rh@ze3i#o5J`x$V1)`J(;Ae6x@0u=#X#q4u1)52ekHRqGiZRi3o+ z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n9j^M zuQdtnk-SL)$F5#r9!~LP%kNvnru$0JU+b=Sdi*PWE!UbsPwGx@eKQDT-zuXF%H%n~ znX8Lly0XSi`6F3$WksF==YLzEe=FkGGCI&IRq z{v6{>xcLIZMTScZml>`wTxGb%@B+h&3@v_N=eo>rh2aH;7a3k+xJVvO zNN8UySLc`*na|hfm`)S8wfdwp!^`zKrXvN;bDcWv-Z=*6`Fz20o^Q`0!zG5x3|APg zGF)SLf#F4lml!Tg2YJdiAT?=su3pm+v5TGferMcm3#xjv% zC~r=CU%re*N>{kW0o~>%8d*lraj=dKZldfB`sQ^RPAF7#NerwacODA9m0O9r^V^U^?)QdlokT7Xzq%m=5xTZ%d?6IblfR)sKGK z{r=k<@9v!5SiSPWuhDO#OD}y{`D@=X@5fQZm?w)F^H|Cqx!GB%#xmQxzl!*{p??Vf mS$L8bv@)3-(tU5DG?S74zzzU8bY-XbX92>TfQViCU-~bUww!SQ literal 0 HcmV?d00001 diff --git a/src/level/levels/level_2.scn b/src/level/levels/level_2.scn new file mode 100644 index 0000000000000000000000000000000000000000..fb1df461d36c7612cab09c8d8c7e155f95732ce4 GIT binary patch literal 12968 zcma*u%Zp@Z8OQO{b-&;5U6)2lh-jy~=aQKTn4nRkkciFpeHbRY#a{i(O!de3{_bL#Ru z&zYOIZax!S+!F3@+TBy`UU2uXjZa^kPHvq}ms9tMTipG5a+H7foo_eq`?ins*T(L+ z`+9o5y1zc19xqm>spRa?k^{c=_H)i`RRIowh3$oHp^Q) zyv_@sJUAFnCadN7!D6y`aesdAY_;A@*9Yh8(}UBMd$gP`Hy2MXrY}zykKdgH2OmB6 zuTOsIN1w^KF>cQn(_7O`@Tu*1_R_HH!NxszK6Nj@!1497S08tK61=te&IfP(`R%XE ze4gIE{$tO_&1}ATZGSO-ZMwE;J^I~Gzmxj#oyT_EP(61Km&)y+9FOB`FTMKGN$?x% z;%*Nft(a@GyS+N^?n!sIqiPF#9(=;7?e4bQ;SL^O(gn6dHJ?v{vitkWYQ2~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3Q)9){ zSTQwLOpO(j>j>>Woh=`N$!}ot8<_kCCXa#1V_@z&sBjHHXt$4yZ|&q}!*-WXU`_1JKt0_e zn&6Q7FQ%3ndXHKjrj~)p{f2he^4aG(CZ`&@Lavf_;%;I$YS#8kK5(zK^UZ#d+7*_O zxhBfD+ngx(<@uqnjJKL6hylnRIvf0PTW*_sKeVl71CJkf8J>u)o zhs30`6Gzid98Ej(u_(#MuwlGe@qOI*E_Cx3soLJ#d+`x>zcRi$xp8Brmyd=Qsg94X z9-f?>&Td>goVj!h7Z2NuY^wL&^{4hXc;oxeSexB9uboXp*vfs;u5h-iYV8>dIOh|) z&~`SLYiPGu-dZ1f(cSfYa?36@4u=kc&)E|e-L7UcyIeTDJk~w5n}5yOcs*V$#;>~b zFS^;27ODCtZ@DYa=gYg{QMa?ep0@~hzT7N ztGE5i4ek2cXts+>cL}t+BKrQ4OV%y4wx=vqx2Mj7J*V%v`@b)4KDA>Ht(Q&BZgzOg zmIyH0a+qy2v-LIW%_d-{rj2E&p+7x$Gzq&x3B&p`{Cab-}-0lv-{uZ{5Jo7>iNxIX21XD5C8Ob^`oO--?{Vb zowf~R8#-MrmvW}MmhG8pPq6{tYA*=4d^X;^5WP$Mq~`8_3;fR$wo=o{d^0|A*Z$9! h=bQ2JRNi6sT07y~<@M+GzYJ_a{oQu{ru#oC{{g~@#P0wA literal 0 HcmV?d00001 diff --git a/src/level/levels/level_3.scn b/src/level/levels/level_3.scn new file mode 100644 index 0000000000000000000000000000000000000000..c9886a821845920ad60cb2e4bab3caea8e46e6be GIT binary patch literal 9061 zcma*t%WorD6$bFzey2O#DZlL`-JMS2S6+^tbdqM#0~#Je8W40^GZLGqVplR|+;*_t zJ=1JvBvvdCvqH1tv4g*W1)C9QXg2IXLM(;_f;AFCLP7}6cW#yMHw}v^sp6lnPu;qY zQ{^gG9-TgV)r3nzUemIsWL=c?Yku#opnuv6MuEJuOI%*Q_lxhCkAM4(gQ)D&yrS-k ztdn3memdy|XTx#NAD+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qg zVCmnP@Yu|b{=NCv_XlgA&GR=1x(ZU6sC-<;Ntoqvl!a9usyG=X-i0!66s;!o^(tAf z#-+AbqjEVNDeruUR7nw)QI+N+Z#%qlSXd^@;0jfGBq9G;C1IUcM2m~*XqhV38n*nF zw+l$J{95OW zptqgdj5(nLx|3%EJh^CWLI``4g>VL(wmVr!%oZw# zP~)sYLi(^lLYAiu5^5YbxJ0*K14iOf|qLY6xYS8Yb#P^9jO;e86#6e2 ztDSV0KxDiY##vevc!!vV_sQ0a^DIjhUO(s-;ob1RF{_a}bPAckKfR2MAsH;4zEmkc z7!15?;GODQl=*s^D8IgOC2L7`a&DaGKlJV56)`$`M?(*5JxUA!k4cHqU~- zo3;0oB;4zUzOTyIrzjsq)Jy@5b$t7Q){fQI;Vr=IghUrVh+WV(%e_?=sd;@TjLWsz z()$yq6#Q<7bV}KzQd%E+t6!|oK#=$Q)x>z0!Q*6Q?*zE9;9DW#*uxOzVUh4sikDja zVeZ|KrZ{0F#^4Xkymo8BS#J01ADn8&$Nmubd<_nB`A zK5*dM%y$Ieb>MraF*!Q^bJps1u7&z-P>_3V!6k=gb#^f6IX{nOB0Z9QZNwYl1)Qz^^mEA^0N>{M*dGBlve6 z`1hDUD)?g#{QJy*Aovd*_~XofB>0aV_)nPsRPdiU@SijPh2Xz*;J;%2Yr%ixz;7~t zLh#?R?>l}@!IKZSbVkKJd@H1FkSaXU>I1R&1H9wjjPaO$goOJv#{a}NJiMRTo`&Zy XY{SF*6%wAiw%`l=>hI6NA4UHF75Z0E literal 0 HcmV?d00001 diff --git a/src/level/world.import b/src/level/world.import new file mode 100644 index 0000000..85ced92 --- /dev/null +++ b/src/level/world.import @@ -0,0 +1,39 @@ +[remap] + +importer="ldtk.import" +type="PackedScene" +uid="uid://xabvijlxap5h" +path="res://.godot/imported/dancer_ldtk_test.ldtk-0c90b0e235081dfa0b375ed1c25a0244.scn" + +[deps] + +files=["res://src/level/tilesets/tileset_8px.res", "res://src/level/levels/level_0.scn", "res://src/level/levels/level_1.scn", "res://src/level/levels/level_2.scn", "res://src/level/levels/level_3.scn", "res://.godot/imported/dancer_ldtk_test.ldtk-0c90b0e235081dfa0b375ed1c25a0244.scn"] + +source_file="res://src/level/dancer_ldtk_test.ldtk" +dest_files=["res://.godot/imported/dancer_ldtk_test.ldtk-0c90b0e235081dfa0b375ed1c25a0244.scn", "res://src/level/tilesets/tileset_8px.res", "res://src/level/levels/level_0.scn", "res://src/level/levels/level_1.scn", "res://src/level/levels/level_2.scn", "res://src/level/levels/level_3.scn", "res://.godot/imported/dancer_ldtk_test.ldtk-0c90b0e235081dfa0b375ed1c25a0244.scn"] + +[params] + +World="" +group_world_layers=false +Level="" +pack_levels=true +level_save_extension=0 +Layer="" +layers_always_visible=false +Tileset="" +tileset_custom_data=false +integer_grid_tilesets=false +atlas_texture_type=0 +tileset_save_extension=0 +Entity="" +resolve_entityrefs=true +use_entity_placeholders=false +Post Import="" +tileset_post_import="" +entities_post_import="" +level_post_import="" +world_post_import="" +Debug="" +force_tileset_reimport=false +verbose_output=false diff --git a/src/level/world.ldtk b/src/level/world.ldtk new file mode 100644 index 0000000..ef62bf5 --- /dev/null +++ b/src/level/world.ldtk @@ -0,0 +1,3725 @@ +{ + "__header__": { + "fileType": "LDtk Project JSON", + "app": "LDtk", + "doc": "https://ldtk.io/json", + "schema": "https://ldtk.io/files/JSON_SCHEMA.json", + "appAuthor": "Sebastien 'deepnight' Benard", + "appVersion": "1.5.3", + "url": "https://ldtk.io" + }, + "iid": "f8259530-96d0-11f1-8ea2-eb3f5a0fb2db", + "jsonVersion": "1.5.3", + "appBuildId": 496893, + "nextUid": 339, + "identifierStyle": "Lowercase", + "toc": [], + "worldLayout": "Free", + "worldGridWidth": 256, + "worldGridHeight": 256, + "defaultLevelWidth": 256, + "defaultLevelHeight": 256, + "defaultPivotX": 0, + "defaultPivotY": 0, + "defaultGridSize": 8, + "defaultEntityWidth": 8, + "defaultEntityHeight": 8, + "bgColor": "#40465B", + "defaultLevelBgColor": "#282A35", + "minifyJson": false, + "externalLevels": false, + "exportTiled": false, + "simplifiedExport": false, + "imageExportMode": "None", + "exportLevelBg": true, + "pngFilePattern": null, + "backupOnSave": false, + "backupLimit": 10, + "backupRelPath": null, + "levelNamePattern": "Level_%idx", + "tutorialDesc": null, + "customCommands": [], + "flags": [], + "defs": { "layers": [ + { + "__type": "AutoLayer", + "identifier": "water", + "type": "AutoLayer", + "uid": 275, + "doc": null, + "uiColor": null, + "gridSize": 8, + "guideGridWid": 0, + "guideGridHei": 0, + "displayOpacity": 1, + "inactiveOpacity": 1, + "hideInList": false, + "hideFieldsWhenInactive": false, + "canSelectWhenInactive": true, + "renderInWorldView": true, + "pxOffsetX": 0, + "pxOffsetY": 0, + "parallaxFactorX": 0, + "parallaxFactorY": 0, + "parallaxScaling": true, + "requiredTags": [], + "excludedTags": [], + "autoTilesKilledByOtherLayerUid": null, + "uiFilterTags": [], + "useAsyncRender": false, + "intGridValues": [], + "intGridValuesGroups": [], + "autoRuleGroups": [ + { + "uid": 276, + "name": "Water", + "color": null, + "icon": null, + "active": true, + "isOptional": false, + "rules": [ + { + "uid": 277, + "active": true, + "size": 3, + "tileRectsIds": [[112]], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [0,-1000001,0,-1000001,3,0,0,0,0], + "flipX": true, + "flipY": true, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 3, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 606809, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 278, + "active": true, + "size": 3, + "tileRectsIds": [[113]], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [0,-1000001,0,0,3,0,0,0,0], + "flipX": false, + "flipY": true, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 3, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 2298307, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 319, + "active": true, + "size": 3, + "tileRectsIds": [[128]], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [0,0,0,-1000001,3,0,0,0,0], + "flipX": true, + "flipY": false, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": null, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 889722, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 279, + "active": true, + "size": 1, + "tileRectsIds": [[129]], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [3], + "flipX": false, + "flipY": false, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 3, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 6820180, + "perlinScale": 0.2, + "perlinOctaves": 2 + } + ], + "usesWizard": false, + "requiredBiomeValues": [], + "biomeRequirementMode": 0 + } + ], + "autoSourceLayerDefUid": 1, + "tilesetDefUid": 199, + "tilePivotX": 0, + "tilePivotY": 0, + "biomeFieldUid": null + }, + { + "__type": "AutoLayer", + "identifier": "overlay", + "type": "AutoLayer", + "uid": 281, + "doc": null, + "uiColor": null, + "gridSize": 8, + "guideGridWid": 0, + "guideGridHei": 0, + "displayOpacity": 1, + "inactiveOpacity": 1, + "hideInList": false, + "hideFieldsWhenInactive": false, + "canSelectWhenInactive": true, + "renderInWorldView": true, + "pxOffsetX": 0, + "pxOffsetY": 0, + "parallaxFactorX": 0, + "parallaxFactorY": 0, + "parallaxScaling": true, + "requiredTags": [], + "excludedTags": [], + "autoTilesKilledByOtherLayerUid": null, + "uiFilterTags": [], + "useAsyncRender": false, + "intGridValues": [], + "intGridValuesGroups": [], + "autoRuleGroups": [ + { + "uid": 282, + "name": "Plants", + "color": null, + "icon": null, + "active": true, + "isOptional": false, + "rules": [ + { + "uid": 283, + "active": true, + "size": 3, + "tileRectsIds": [[73]], + "alpha": 1, + "chance": 0.32, + "breakOnMatch": false, + "pattern": [0,4,0,0,-1000001,0,0,0,0], + "flipX": false, + "flipY": false, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": null, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 8825529, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 284, + "active": true, + "size": 3, + "tileRectsIds": [[56]], + "alpha": 1, + "chance": 0.67, + "breakOnMatch": true, + "pattern": [0,0,0,4,-1000001,0,0,4,0], + "flipX": true, + "flipY": true, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": null, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 5053167, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 285, + "active": true, + "size": 3, + "tileRectsIds": [[57]], + "alpha": 1, + "chance": 0.36, + "breakOnMatch": false, + "pattern": [0,0,0,0,-1000001,0,0,4,0], + "flipX": false, + "flipY": true, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": null, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 3370606, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 286, + "active": true, + "size": 3, + "tileRectsIds": [[72]], + "alpha": 1, + "chance": 0.29, + "breakOnMatch": false, + "pattern": [0,0,0,0,-1000001,0,0,4,0], + "flipX": false, + "flipY": false, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": null, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 9526860, + "perlinScale": 0.2, + "perlinOctaves": 2 + } + ], + "usesWizard": false, + "requiredBiomeValues": [], + "biomeRequirementMode": 0 + } + ], + "autoSourceLayerDefUid": 1, + "tilesetDefUid": 199, + "tilePivotX": 0, + "tilePivotY": 0, + "biomeFieldUid": null + }, + { + "__type": "Entities", + "identifier": "entities", + "type": "Entities", + "uid": 287, + "doc": null, + "uiColor": null, + "gridSize": 8, + "guideGridWid": 0, + "guideGridHei": 0, + "displayOpacity": 1, + "inactiveOpacity": 0.6, + "hideInList": false, + "hideFieldsWhenInactive": true, + "canSelectWhenInactive": true, + "renderInWorldView": true, + "pxOffsetX": 0, + "pxOffsetY": 0, + "parallaxFactorX": 0, + "parallaxFactorY": 0, + "parallaxScaling": true, + "requiredTags": [], + "excludedTags": [], + "autoTilesKilledByOtherLayerUid": null, + "uiFilterTags": [], + "useAsyncRender": false, + "intGridValues": [], + "intGridValuesGroups": [], + "autoRuleGroups": [], + "autoSourceLayerDefUid": null, + "tilesetDefUid": null, + "tilePivotX": 0, + "tilePivotY": 0, + "biomeFieldUid": null + }, + { + "__type": "IntGrid", + "identifier": "foreground", + "type": "IntGrid", + "uid": 1, + "doc": null, + "uiColor": null, + "gridSize": 8, + "guideGridWid": 0, + "guideGridHei": 0, + "displayOpacity": 1, + "inactiveOpacity": 1, + "hideInList": false, + "hideFieldsWhenInactive": false, + "canSelectWhenInactive": true, + "renderInWorldView": true, + "pxOffsetX": 0, + "pxOffsetY": 0, + "parallaxFactorX": 0, + "parallaxFactorY": 0, + "parallaxScaling": true, + "requiredTags": [], + "excludedTags": [], + "autoTilesKilledByOtherLayerUid": null, + "uiFilterTags": [], + "useAsyncRender": false, + "intGridValues": [ + { "value": 1, "identifier": "rock", "color": "#C28569", "tile": null, "groupUid": 1 }, + { "value": 3, "identifier": "water", "color": "#0099DB", "tile": null, "groupUid": 0 }, + { "value": 4, "identifier": "grass", "color": "#63C74D", "tile": null, "groupUid": 1 }, + { "value": 5, "identifier": "planks", "color": "#BE4A2F", "tile": null, "groupUid": 1 }, + { "value": 6, "identifier": "bricks", "color": "#5A6988", "tile": null, "groupUid": 1 }, + { "value": 7, "identifier": "steel", "color": "#A22633", "tile": null, "groupUid": 1 } + ], + "intGridValuesGroups": [{ "uid": 1, "identifier": "Solids", "color": null }], + "autoRuleGroups": [ + { + "uid": 299, + "name": "Steel", + "color": null, + "icon": null, + "active": true, + "isOptional": false, + "rules": [ + { + "uid": 300, + "active": true, + "size": 3, + "tileRectsIds": [[11]], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [0,-2000,0,7,7,7,0,0,0], + "flipX": false, + "flipY": true, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 7, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 6884170, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 301, + "active": true, + "size": 3, + "tileRectsIds": [[26]], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [0,7,0,-2000,7,0,0,7,0], + "flipX": true, + "flipY": false, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 7, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 7000306, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 302, + "active": true, + "size": 3, + "tileRectsIds": [[10]], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [0,0,0,0,7,-2000,0,0,0], + "flipX": true, + "flipY": false, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 7, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 1819313, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 303, + "active": true, + "size": 3, + "tileRectsIds": [[10]], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [0,-2000,0,0,7,0,0,0,0], + "flipX": false, + "flipY": true, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 7, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 1819313, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 304, + "active": true, + "size": 3, + "tileRectsIds": [[10]], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [0,0,-2000,0,7,0,0,0,0], + "flipX": true, + "flipY": true, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 7, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 1819313, + "perlinScale": 0.2, + "perlinOctaves": 2 + } + ], + "usesWizard": false, + "requiredBiomeValues": [], + "biomeRequirementMode": 0 + }, + { + "uid": 288, + "name": "Bricks", + "color": null, + "icon": null, + "active": true, + "isOptional": false, + "rules": [ + { + "uid": 289, + "active": true, + "size": 3, + "tileRectsIds": [[12]], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [0,-2000,0,-2000,6,0,0,0,0], + "flipX": true, + "flipY": false, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 1, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 3051776, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 290, + "active": true, + "size": 3, + "tileRectsIds": [[44]], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [0,0,0,-2000,6,0,0,-2000,0], + "flipX": true, + "flipY": false, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 1, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 51686, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 291, + "active": true, + "size": 3, + "tileRectsIds": [[13]], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [0,-2000,0,0,6,0,0,0,0], + "flipX": false, + "flipY": false, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 1, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 1183916, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 292, + "active": true, + "size": 3, + "tileRectsIds": [[45]], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [0,0,0,0,6,0,0,-2000,0], + "flipX": false, + "flipY": false, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 1, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 9535973, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 293, + "active": true, + "size": 3, + "tileRectsIds": [[28]], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [0,0,0,-2000,6,0,0,0,0], + "flipX": true, + "flipY": false, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 1, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 5672100, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 295, + "active": true, + "size": 3, + "tileRectsIds": [ [60], [76], [61], [77] ], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [-2000,0,0,0,6,0,0,0,0], + "flipX": true, + "flipY": true, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": null, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 3978573, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 296, + "active": true, + "size": 5, + "tileRectsIds": [ [60], [76], [61], [77] ], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [0,0,0,0,0,0,0,0,0,0,-2000,0,6,0,0,0,0,0,0,0,0,0,0,0,0], + "flipX": true, + "flipY": false, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": null, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 3978573, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 297, + "active": true, + "size": 5, + "tileRectsIds": [ [60], [76], [61], [77] ], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [0,0,-2000,0,0,0,0,0,0,0,0,0,6,0,0,0,0,0,0,0,0,0,0,0,0], + "flipX": false, + "flipY": true, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": null, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 3978573, + "perlinScale": 0.2, + "perlinOctaves": 2 + } + ], + "usesWizard": false, + "requiredBiomeValues": [], + "biomeRequirementMode": 0 + }, + { + "uid": 246, + "name": "Grass", + "color": null, + "icon": null, + "active": true, + "isOptional": false, + "rules": [ + { + "uid": 252, + "active": true, + "size": 3, + "tileRectsIds": [[8]], + "alpha": 1, + "chance": 0.75, + "breakOnMatch": true, + "pattern": [0,-1000001,0,-1000001,4,0,0,0,0], + "flipX": true, + "flipY": true, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 1, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 473429, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 253, + "active": true, + "size": 3, + "tileRectsIds": [[40]], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [0,0,0,-1000001,4,0,0,-1000001,0], + "flipX": true, + "flipY": true, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 1, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 1492992, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 254, + "active": true, + "size": 3, + "tileRectsIds": [[9]], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [0,-1000001,0,0,4,0,0,0,0], + "flipX": false, + "flipY": false, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 1, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 2940899, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 255, + "active": true, + "size": 3, + "tileRectsIds": [[41]], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [0,0,0,0,4,0,0,-1000001,0], + "flipX": false, + "flipY": false, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 1, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 4136709, + "perlinScale": 0.09, + "perlinOctaves": 2 + }, + { + "uid": 256, + "active": true, + "size": 3, + "tileRectsIds": [[24]], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [0,0,0,-1000001,4,0,0,0,0], + "flipX": true, + "flipY": false, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 1, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 4877978, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 309, + "active": true, + "size": 3, + "tileRectsIds": [[5]], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [0,-2000,0,0,4,0,0,0,0], + "flipX": false, + "flipY": false, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 1, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 1976230, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 312, + "active": true, + "size": 3, + "tileRectsIds": [[20]], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [0,0,0,-2000,4,0,0,0,0], + "flipX": true, + "flipY": false, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 1, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 9737458, + "perlinScale": 0.2, + "perlinOctaves": 2 + } + ], + "usesWizard": false, + "requiredBiomeValues": [], + "biomeRequirementMode": 0 + }, + { + "uid": 313, + "name": "Grass Pebbles", + "color": null, + "icon": null, + "active": true, + "isOptional": false, + "rules": [ + { + "uid": 314, + "active": true, + "size": 3, + "tileRectsIds": [[69]], + "alpha": 1, + "chance": 0.18, + "breakOnMatch": false, + "pattern": [0,4,0,0,-2000,4,0,0,0], + "flipX": true, + "flipY": true, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 0, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 7603789, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 315, + "active": true, + "size": 3, + "tileRectsIds": [[53]], + "alpha": 1, + "chance": 0.36, + "breakOnMatch": false, + "pattern": [0,0,0,4,-2000,0,0,4,0], + "flipX": true, + "flipY": true, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 0, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 9746465, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 316, + "active": true, + "size": 3, + "tileRectsIds": [[68]], + "alpha": 1, + "chance": 0.23, + "breakOnMatch": false, + "pattern": [0,4,0,0,-2000,0,0,0,0], + "flipX": false, + "flipY": false, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 0, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 5518152, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 317, + "active": true, + "size": 3, + "tileRectsIds": [[52]], + "alpha": 1, + "chance": 0.19, + "breakOnMatch": false, + "pattern": [0,0,0,0,-2000,0,0,4,0], + "flipX": false, + "flipY": false, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 0, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 8453571, + "perlinScale": 0.2, + "perlinOctaves": 2 + } + ], + "usesWizard": false, + "requiredBiomeValues": [], + "biomeRequirementMode": 0 + }, + { + "uid": 227, + "name": "Rocks", + "color": null, + "icon": null, + "active": true, + "isOptional": false, + "rules": [ + { + "uid": 228, + "active": true, + "size": 3, + "tileRectsIds": [[4]], + "alpha": 1, + "chance": 0.83, + "breakOnMatch": true, + "pattern": [0,-2000,0,-2000,1,0,0,0,0], + "flipX": true, + "flipY": true, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 1, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 5934997, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 273, + "active": true, + "size": 3, + "tileRectsIds": [[36]], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [0,0,0,-2000,1,0,0,-2000,0], + "flipX": true, + "flipY": true, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": null, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 4250695, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 230, + "active": true, + "size": 3, + "tileRectsIds": [[20]], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [0,0,0,-2000,1,0,0,0,0], + "flipX": true, + "flipY": false, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 1, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 9737458, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 274, + "active": true, + "size": 3, + "tileRectsIds": [[37]], + "alpha": 1, + "chance": 0.52, + "breakOnMatch": true, + "pattern": [0,0,0,0,1,0,0,-2000,0], + "flipX": false, + "flipY": true, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": null, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 4739815, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 229, + "active": true, + "size": 3, + "tileRectsIds": [[5]], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [0,-2000,0,0,1,0,0,0,0], + "flipX": false, + "flipY": true, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 1, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 1976230, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 207, + "active": true, + "size": 1, + "tileRectsIds": [[17]], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [1], + "flipX": false, + "flipY": false, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 1, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 9343672, + "perlinScale": 0.2, + "perlinOctaves": 2 + } + ], + "usesWizard": false, + "requiredBiomeValues": [], + "biomeRequirementMode": 0 + }, + { + "uid": 231, + "name": "Pebbles", + "color": null, + "icon": null, + "active": true, + "isOptional": false, + "rules": [ + { + "uid": 235, + "active": true, + "size": 3, + "tileRectsIds": [[69]], + "alpha": 1, + "chance": 0.3, + "breakOnMatch": false, + "pattern": [0,1,0,0,-2000,1,0,0,0], + "flipX": true, + "flipY": true, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 0, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 7603789, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 233, + "active": true, + "size": 3, + "tileRectsIds": [[53]], + "alpha": 1, + "chance": 0.58, + "breakOnMatch": false, + "pattern": [0,0,0,1,-2000,0,0,1,0], + "flipX": true, + "flipY": true, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 0, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 9746465, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 234, + "active": true, + "size": 3, + "tileRectsIds": [[68]], + "alpha": 1, + "chance": 0.5, + "breakOnMatch": false, + "pattern": [0,1,0,0,-2000,0,0,0,0], + "flipX": false, + "flipY": false, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 0, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 5518152, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 232, + "active": true, + "size": 3, + "tileRectsIds": [[52]], + "alpha": 1, + "chance": 0.37, + "breakOnMatch": false, + "pattern": [0,0,0,0,-2000,0,0,1,0], + "flipX": false, + "flipY": true, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 0, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 8453571, + "perlinScale": 0.2, + "perlinOctaves": 2 + } + ], + "usesWizard": false, + "requiredBiomeValues": [], + "biomeRequirementMode": 0 + }, + { + "uid": 208, + "name": "Planks", + "color": null, + "icon": null, + "active": true, + "isOptional": false, + "rules": [ + { + "uid": 209, + "active": true, + "size": 3, + "tileRectsIds": [[2]], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [0,-2000,0,-2000,5,0,0,0,0], + "flipX": true, + "flipY": false, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 1, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 5764714, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 213, + "active": true, + "size": 3, + "tileRectsIds": [[34]], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [0,0,0,-2000,5,0,0,-2000,0], + "flipX": true, + "flipY": false, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 5, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 5193748, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 211, + "active": true, + "size": 3, + "tileRectsIds": [[3]], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [0,-2000,0,0,5,0,0,0,0], + "flipX": false, + "flipY": false, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 1, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 6433949, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 212, + "active": true, + "size": 3, + "tileRectsIds": [[18]], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [0,0,0,-2000,5,0,0,0,0], + "flipX": true, + "flipY": false, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 1, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 3188535, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 214, + "active": true, + "size": 3, + "tileRectsIds": [[35]], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [0,0,0,0,5,0,0,-2000,0], + "flipX": false, + "flipY": false, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 1, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 1553733, + "perlinScale": 0.2, + "perlinOctaves": 2 + } + ], + "usesWizard": false, + "requiredBiomeValues": [], + "biomeRequirementMode": 0 + }, + { + "uid": 310, + "name": "Base", + "color": null, + "icon": null, + "active": true, + "isOptional": false, + "rules": [ + { + "uid": 311, + "active": true, + "size": 1, + "tileRectsIds": [[17]], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [2000], + "flipX": false, + "flipY": false, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": null, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 5270761, + "perlinScale": 0.2, + "perlinOctaves": 2 + } + ], + "usesWizard": false, + "requiredBiomeValues": [], + "biomeRequirementMode": 0 + } + ], + "autoSourceLayerDefUid": null, + "tilesetDefUid": 199, + "tilePivotX": 0, + "tilePivotY": 0, + "biomeFieldUid": null + }, + { + "__type": "IntGrid", + "identifier": "background", + "type": "IntGrid", + "uid": 240, + "doc": null, + "uiColor": null, + "gridSize": 8, + "guideGridWid": 0, + "guideGridHei": 0, + "displayOpacity": 1, + "inactiveOpacity": 1, + "hideInList": false, + "hideFieldsWhenInactive": false, + "canSelectWhenInactive": true, + "renderInWorldView": true, + "pxOffsetX": 0, + "pxOffsetY": 0, + "parallaxFactorX": 0, + "parallaxFactorY": 0, + "parallaxScaling": true, + "requiredTags": [], + "excludedTags": [], + "autoTilesKilledByOtherLayerUid": null, + "uiFilterTags": [], + "useAsyncRender": false, + "intGridValues": [{ "value": 1, "identifier": "purple_waves", "color": "#68386C", "tile": null, "groupUid": 1 }], + "intGridValuesGroups": [{ "uid": 1, "identifier": "Natural", "color": null }], + "autoRuleGroups": [ + { + "uid": 241, + "name": "purple_waves", + "color": null, + "icon": null, + "active": true, + "isOptional": false, + "rules": [ + { + "uid": 245, + "active": true, + "size": 1, + "tileRectsIds": [[23]], + "alpha": 1, + "chance": 1, + "breakOnMatch": true, + "pattern": [1], + "flipX": false, + "flipY": false, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 0, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 4426624, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 338, + "active": true, + "size": 3, + "tileRectsIds": [[38]], + "alpha": 1, + "chance": 1, + "breakOnMatch": false, + "pattern": [0,0,0,0,-1,1,0,1,0], + "flipX": true, + "flipY": true, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 0, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 4426624, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 243, + "active": true, + "size": 3, + "tileRectsIds": [[7]], + "alpha": 1, + "chance": 1, + "breakOnMatch": false, + "pattern": [0,0,0,0,-1,0,0,1,0], + "flipX": false, + "flipY": true, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 0, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 7797280, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 244, + "active": true, + "size": 3, + "tileRectsIds": [[22]], + "alpha": 1, + "chance": 1, + "breakOnMatch": false, + "pattern": [0,0,0,0,-1,1,0,0,0], + "flipX": true, + "flipY": false, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 0, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 523234, + "perlinScale": 0.2, + "perlinOctaves": 2 + }, + { + "uid": 242, + "active": true, + "size": 3, + "tileRectsIds": [[6]], + "alpha": 1, + "chance": 1, + "breakOnMatch": false, + "pattern": [0,0,0,0,-1,0,0,0,1], + "flipX": true, + "flipY": true, + "xModulo": 1, + "yModulo": 1, + "xOffset": 0, + "yOffset": 0, + "tileXOffset": 0, + "tileYOffset": 0, + "tileRandomXMin": 0, + "tileRandomXMax": 0, + "tileRandomYMin": 0, + "tileRandomYMax": 0, + "checker": "None", + "tileMode": "Single", + "pivotX": 0, + "pivotY": 0, + "outOfBoundsValue": 0, + "invalidated": false, + "perlinActive": false, + "perlinSeed": 814850, + "perlinScale": 0.2, + "perlinOctaves": 2 + } + ], + "usesWizard": false, + "requiredBiomeValues": [], + "biomeRequirementMode": 0 + } + ], + "autoSourceLayerDefUid": null, + "tilesetDefUid": 199, + "tilePivotX": 0, + "tilePivotY": 0, + "biomeFieldUid": null + } + ], "entities": [], "tilesets": [ + { + "__cWid": 16, + "__cHei": 16, + "identifier": "tiles", + "uid": 199, + "relPath": "tiles.png", + "embedAtlas": null, + "pxWid": 128, + "pxHei": 128, + "tileGridSize": 8, + "spacing": 0, + "padding": 0, + "tags": [], + "tagsSourceEnumUid": null, + "enumTags": [], + "customData": [], + "savedSelections": [], + "cachedPixelData": { + "opaqueTiles": "1111000000111100111000010010100011110000000011000000000000001100000000000000110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "averageColors": "f212f111f843f733f655f54445368535e7a6f585f933f833f888f77800000000f111f000f5220000f55500008535f423f5950000f8330000f667000000000000f212f111f733f522f766f544b5350000e7a6f58500000000f778f667000000000000000000000000497738760000000067c647c600000000f222f3330000000000000000000000004766386600000000b2855ad600000000f122f222000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000038df38de0000000000000000000000000000000000000000000000000000000038de28ee000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + } + } + ], "enums": [], "externalEnums": [], "levelFields": [] }, + "levels": [ + { + "identifier": "level_0", + "iid": "f8263170-96d0-11f1-8ea2-f7ae1735ffa8", + "uid": 0, + "worldX": 0, + "worldY": -88, + "worldDepth": 0, + "pxWid": 640, + "pxHei": 432, + "__bgColor": "#282A35", + "bgColor": null, + "useAutoIdentifier": true, + "bgRelPath": null, + "bgPos": null, + "bgPivotX": 0.5, + "bgPivotY": 0.5, + "__smartColor": "#898A90", + "__bgPos": null, + "externalRelPath": null, + "fieldInstances": [], + "layerInstances": [ + { + "__identifier": "water", + "__type": "AutoLayer", + "__cWid": 80, + "__cHei": 54, + "__gridSize": 8, + "__opacity": 1, + "__pxTotalOffsetX": 0, + "__pxTotalOffsetY": 0, + "__tilesetDefUid": 199, + "__tilesetRelPath": "tiles.png", + "iid": "5ada6ce0-96d0-11f1-a694-2ba8792aecfb", + "levelId": 0, + "layerDefUid": 275, + "pxOffsetX": 0, + "pxOffsetY": 0, + "visible": true, + "optionalRules": [], + "intGridCsv": [], + "autoLayerTiles": [ + { "px": [352,280], "src": [8,64], "f": 0, "t": 129, "d": [279,2844], "a": 1 }, + { "px": [360,280], "src": [8,64], "f": 0, "t": 129, "d": [279,2845], "a": 1 }, + { "px": [344,280], "src": [0,64], "f": 0, "t": 128, "d": [319,2843], "a": 1 }, + { "px": [368,280], "src": [0,64], "f": 1, "t": 128, "d": [319,2846], "a": 1 }, + { "px": [152,320], "src": [0,64], "f": 0, "t": 128, "d": [319,3219], "a": 1 }, + { "px": [160,320], "src": [0,64], "f": 1, "t": 128, "d": [319,3220], "a": 1 }, + { "px": [352,272], "src": [8,56], "f": 0, "t": 113, "d": [278,2764], "a": 1 }, + { "px": [360,272], "src": [8,56], "f": 0, "t": 113, "d": [278,2765], "a": 1 }, + { "px": [344,272], "src": [0,56], "f": 0, "t": 112, "d": [277,2763], "a": 1 }, + { "px": [368,272], "src": [0,56], "f": 1, "t": 112, "d": [277,2766], "a": 1 }, + { "px": [152,312], "src": [0,56], "f": 0, "t": 112, "d": [277,3139], "a": 1 }, + { "px": [160,312], "src": [0,56], "f": 1, "t": 112, "d": [277,3140], "a": 1 }, + { "px": [152,328], "src": [0,56], "f": 2, "t": 112, "d": [277,3299], "a": 1 }, + { "px": [160,328], "src": [0,56], "f": 3, "t": 112, "d": [277,3300], "a": 1 } + ], + "seed": 4547496, + "overrideTilesetUid": null, + "gridTiles": [], + "entityInstances": [] + }, + { + "__identifier": "overlay", + "__type": "AutoLayer", + "__cWid": 80, + "__cHei": 54, + "__gridSize": 8, + "__opacity": 1, + "__pxTotalOffsetX": 0, + "__pxTotalOffsetY": 0, + "__tilesetDefUid": 199, + "__tilesetRelPath": "tiles.png", + "iid": "24897550-96d0-11f1-a694-5709ca74c733", + "levelId": 0, + "layerDefUid": 281, + "pxOffsetX": 0, + "pxOffsetY": 0, + "visible": true, + "optionalRules": [], + "intGridCsv": [], + "autoLayerTiles": [ + { "px": [384,56], "src": [64,32], "f": 0, "t": 72, "d": [286,608], "a": 1 }, + { "px": [416,56], "src": [64,32], "f": 0, "t": 72, "d": [286,612], "a": 1 }, + { "px": [72,152], "src": [64,32], "f": 0, "t": 72, "d": [286,1529], "a": 1 }, + { "px": [88,152], "src": [64,32], "f": 0, "t": 72, "d": [286,1531], "a": 1 }, + { "px": [176,152], "src": [64,32], "f": 0, "t": 72, "d": [286,1542], "a": 1 }, + { "px": [192,152], "src": [64,32], "f": 0, "t": 72, "d": [286,1544], "a": 1 }, + { "px": [200,152], "src": [64,32], "f": 0, "t": 72, "d": [286,1545], "a": 1 }, + { "px": [216,152], "src": [64,32], "f": 0, "t": 72, "d": [286,1547], "a": 1 }, + { "px": [232,152], "src": [64,32], "f": 0, "t": 72, "d": [286,1549], "a": 1 }, + { "px": [240,152], "src": [64,32], "f": 0, "t": 72, "d": [286,1550], "a": 1 }, + { "px": [296,152], "src": [64,32], "f": 0, "t": 72, "d": [286,1557], "a": 1 }, + { "px": [304,152], "src": [64,32], "f": 0, "t": 72, "d": [286,1558], "a": 1 }, + { "px": [312,152], "src": [64,32], "f": 0, "t": 72, "d": [286,1559], "a": 1 }, + { "px": [328,152], "src": [64,32], "f": 0, "t": 72, "d": [286,1561], "a": 1 }, + { "px": [456,152], "src": [64,32], "f": 0, "t": 72, "d": [286,1577], "a": 1 }, + { "px": [472,152], "src": [64,32], "f": 0, "t": 72, "d": [286,1579], "a": 1 }, + { "px": [496,152], "src": [64,32], "f": 0, "t": 72, "d": [286,1582], "a": 1 }, + { "px": [504,152], "src": [64,32], "f": 0, "t": 72, "d": [286,1583], "a": 1 }, + { "px": [208,280], "src": [64,32], "f": 0, "t": 72, "d": [286,2826], "a": 1 }, + { "px": [216,280], "src": [64,32], "f": 0, "t": 72, "d": [286,2827], "a": 1 }, + { "px": [376,280], "src": [64,32], "f": 0, "t": 72, "d": [286,2847], "a": 1 }, + { "px": [32,384], "src": [64,32], "f": 0, "t": 72, "d": [286,3844], "a": 1 }, + { "px": [64,384], "src": [64,32], "f": 0, "t": 72, "d": [286,3848], "a": 1 }, + { "px": [72,384], "src": [64,32], "f": 0, "t": 72, "d": [286,3849], "a": 1 }, + { "px": [88,384], "src": [64,32], "f": 0, "t": 72, "d": [286,3851], "a": 1 }, + { "px": [136,384], "src": [64,32], "f": 0, "t": 72, "d": [286,3857], "a": 1 }, + { "px": [152,384], "src": [64,32], "f": 0, "t": 72, "d": [286,3859], "a": 1 }, + { "px": [160,384], "src": [64,32], "f": 0, "t": 72, "d": [286,3860], "a": 1 }, + { "px": [168,384], "src": [64,32], "f": 0, "t": 72, "d": [286,3861], "a": 1 }, + { "px": [184,384], "src": [64,32], "f": 0, "t": 72, "d": [286,3863], "a": 1 }, + { "px": [264,384], "src": [64,32], "f": 0, "t": 72, "d": [286,3873], "a": 1 }, + { "px": [288,384], "src": [64,32], "f": 0, "t": 72, "d": [286,3876], "a": 1 }, + { "px": [336,384], "src": [64,32], "f": 0, "t": 72, "d": [286,3882], "a": 1 }, + { "px": [352,384], "src": [64,32], "f": 0, "t": 72, "d": [286,3884], "a": 1 }, + { "px": [384,384], "src": [64,32], "f": 0, "t": 72, "d": [286,3888], "a": 1 }, + { "px": [400,384], "src": [64,32], "f": 0, "t": 72, "d": [286,3890], "a": 1 }, + { "px": [408,384], "src": [64,32], "f": 0, "t": 72, "d": [286,3891], "a": 1 }, + { "px": [416,384], "src": [64,32], "f": 0, "t": 72, "d": [286,3892], "a": 1 }, + { "px": [424,384], "src": [64,32], "f": 0, "t": 72, "d": [286,3893], "a": 1 }, + { "px": [456,384], "src": [64,32], "f": 0, "t": 72, "d": [286,3897], "a": 1 }, + { "px": [504,384], "src": [64,32], "f": 0, "t": 72, "d": [286,3903], "a": 1 }, + { "px": [600,384], "src": [64,32], "f": 0, "t": 72, "d": [286,3915], "a": 1 }, + { "px": [608,384], "src": [64,32], "f": 0, "t": 72, "d": [286,3916], "a": 1 }, + { "px": [392,56], "src": [72,24], "f": 0, "t": 57, "d": [285,609], "a": 1 }, + { "px": [400,56], "src": [72,24], "f": 0, "t": 57, "d": [285,610], "a": 1 }, + { "px": [408,56], "src": [72,24], "f": 0, "t": 57, "d": [285,611], "a": 1 }, + { "px": [416,56], "src": [72,24], "f": 0, "t": 57, "d": [285,612], "a": 1 }, + { "px": [384,80], "src": [72,24], "f": 2, "t": 57, "d": [285,848], "a": 1 }, + { "px": [400,80], "src": [72,24], "f": 2, "t": 57, "d": [285,850], "a": 1 }, + { "px": [408,80], "src": [72,24], "f": 2, "t": 57, "d": [285,851], "a": 1 }, + { "px": [40,152], "src": [72,24], "f": 0, "t": 57, "d": [285,1525], "a": 1 }, + { "px": [56,152], "src": [72,24], "f": 0, "t": 57, "d": [285,1527], "a": 1 }, + { "px": [88,152], "src": [72,24], "f": 0, "t": 57, "d": [285,1531], "a": 1 }, + { "px": [96,152], "src": [72,24], "f": 0, "t": 57, "d": [285,1532], "a": 1 }, + { "px": [112,152], "src": [72,24], "f": 0, "t": 57, "d": [285,1534], "a": 1 }, + { "px": [120,152], "src": [72,24], "f": 0, "t": 57, "d": [285,1535], "a": 1 }, + { "px": [136,152], "src": [72,24], "f": 0, "t": 57, "d": [285,1537], "a": 1 }, + { "px": [160,152], "src": [72,24], "f": 0, "t": 57, "d": [285,1540], "a": 1 }, + { "px": [192,152], "src": [72,24], "f": 0, "t": 57, "d": [285,1544], "a": 1 }, + { "px": [216,152], "src": [72,24], "f": 0, "t": 57, "d": [285,1547], "a": 1 }, + { "px": [264,152], "src": [72,24], "f": 0, "t": 57, "d": [285,1553], "a": 1 }, + { "px": [272,152], "src": [72,24], "f": 0, "t": 57, "d": [285,1554], "a": 1 }, + { "px": [280,152], "src": [72,24], "f": 0, "t": 57, "d": [285,1555], "a": 1 }, + { "px": [296,152], "src": [72,24], "f": 0, "t": 57, "d": [285,1557], "a": 1 }, + { "px": [304,152], "src": [72,24], "f": 0, "t": 57, "d": [285,1558], "a": 1 }, + { "px": [376,152], "src": [72,24], "f": 0, "t": 57, "d": [285,1567], "a": 1 }, + { "px": [384,152], "src": [72,24], "f": 0, "t": 57, "d": [285,1568], "a": 1 }, + { "px": [392,152], "src": [72,24], "f": 0, "t": 57, "d": [285,1569], "a": 1 }, + { "px": [400,152], "src": [72,24], "f": 0, "t": 57, "d": [285,1570], "a": 1 }, + { "px": [408,152], "src": [72,24], "f": 0, "t": 57, "d": [285,1571], "a": 1 }, + { "px": [432,152], "src": [72,24], "f": 0, "t": 57, "d": [285,1574], "a": 1 }, + { "px": [448,152], "src": [72,24], "f": 0, "t": 57, "d": [285,1576], "a": 1 }, + { "px": [456,152], "src": [72,24], "f": 0, "t": 57, "d": [285,1577], "a": 1 }, + { "px": [464,152], "src": [72,24], "f": 0, "t": 57, "d": [285,1578], "a": 1 }, + { "px": [472,152], "src": [72,24], "f": 0, "t": 57, "d": [285,1579], "a": 1 }, + { "px": [504,152], "src": [72,24], "f": 0, "t": 57, "d": [285,1583], "a": 1 }, + { "px": [72,240], "src": [72,24], "f": 2, "t": 57, "d": [285,2409], "a": 1 }, + { "px": [80,240], "src": [72,24], "f": 2, "t": 57, "d": [285,2410], "a": 1 }, + { "px": [88,240], "src": [72,24], "f": 2, "t": 57, "d": [285,2411], "a": 1 }, + { "px": [104,240], "src": [72,24], "f": 2, "t": 57, "d": [285,2413], "a": 1 }, + { "px": [112,240], "src": [72,24], "f": 2, "t": 57, "d": [285,2414], "a": 1 }, + { "px": [152,240], "src": [72,24], "f": 2, "t": 57, "d": [285,2419], "a": 1 }, + { "px": [160,240], "src": [72,24], "f": 2, "t": 57, "d": [285,2420], "a": 1 }, + { "px": [184,240], "src": [72,24], "f": 2, "t": 57, "d": [285,2423], "a": 1 }, + { "px": [192,240], "src": [72,24], "f": 2, "t": 57, "d": [285,2424], "a": 1 }, + { "px": [200,240], "src": [72,24], "f": 2, "t": 57, "d": [285,2425], "a": 1 }, + { "px": [240,240], "src": [72,24], "f": 2, "t": 57, "d": [285,2430], "a": 1 }, + { "px": [248,240], "src": [72,24], "f": 2, "t": 57, "d": [285,2431], "a": 1 }, + { "px": [256,240], "src": [72,24], "f": 2, "t": 57, "d": [285,2432], "a": 1 }, + { "px": [272,240], "src": [72,24], "f": 2, "t": 57, "d": [285,2434], "a": 1 }, + { "px": [280,240], "src": [72,24], "f": 2, "t": 57, "d": [285,2435], "a": 1 }, + { "px": [368,240], "src": [72,24], "f": 2, "t": 57, "d": [285,2446], "a": 1 }, + { "px": [376,240], "src": [72,24], "f": 2, "t": 57, "d": [285,2447], "a": 1 }, + { "px": [384,240], "src": [72,24], "f": 2, "t": 57, "d": [285,2448], "a": 1 }, + { "px": [400,240], "src": [72,24], "f": 2, "t": 57, "d": [285,2450], "a": 1 }, + { "px": [408,240], "src": [72,24], "f": 2, "t": 57, "d": [285,2451], "a": 1 }, + { "px": [496,240], "src": [72,24], "f": 2, "t": 57, "d": [285,2462], "a": 1 }, + { "px": [200,280], "src": [72,24], "f": 0, "t": 57, "d": [285,2825], "a": 1 }, + { "px": [216,280], "src": [72,24], "f": 0, "t": 57, "d": [285,2827], "a": 1 }, + { "px": [216,304], "src": [72,24], "f": 2, "t": 57, "d": [285,3067], "a": 1 }, + { "px": [336,304], "src": [72,24], "f": 2, "t": 57, "d": [285,3082], "a": 1 }, + { "px": [344,304], "src": [72,24], "f": 2, "t": 57, "d": [285,3083], "a": 1 }, + { "px": [368,304], "src": [72,24], "f": 2, "t": 57, "d": [285,3086], "a": 1 }, + { "px": [40,368], "src": [72,24], "f": 2, "t": 57, "d": [285,3685], "a": 1 }, + { "px": [48,368], "src": [72,24], "f": 2, "t": 57, "d": [285,3686], "a": 1 }, + { "px": [24,384], "src": [72,24], "f": 0, "t": 57, "d": [285,3843], "a": 1 }, + { "px": [32,384], "src": [72,24], "f": 0, "t": 57, "d": [285,3844], "a": 1 }, + { "px": [64,384], "src": [72,24], "f": 0, "t": 57, "d": [285,3848], "a": 1 }, + { "px": [80,384], "src": [72,24], "f": 0, "t": 57, "d": [285,3850], "a": 1 }, + { "px": [104,384], "src": [72,24], "f": 0, "t": 57, "d": [285,3853], "a": 1 }, + { "px": [136,384], "src": [72,24], "f": 0, "t": 57, "d": [285,3857], "a": 1 }, + { "px": [168,384], "src": [72,24], "f": 0, "t": 57, "d": [285,3861], "a": 1 }, + { "px": [192,384], "src": [72,24], "f": 0, "t": 57, "d": [285,3864], "a": 1 }, + { "px": [200,384], "src": [72,24], "f": 0, "t": 57, "d": [285,3865], "a": 1 }, + { "px": [208,384], "src": [72,24], "f": 0, "t": 57, "d": [285,3866], "a": 1 }, + { "px": [224,384], "src": [72,24], "f": 0, "t": 57, "d": [285,3868], "a": 1 }, + { "px": [264,384], "src": [72,24], "f": 0, "t": 57, "d": [285,3873], "a": 1 }, + { "px": [280,384], "src": [72,24], "f": 0, "t": 57, "d": [285,3875], "a": 1 }, + { "px": [288,384], "src": [72,24], "f": 0, "t": 57, "d": [285,3876], "a": 1 }, + { "px": [304,384], "src": [72,24], "f": 0, "t": 57, "d": [285,3878], "a": 1 }, + { "px": [320,384], "src": [72,24], "f": 0, "t": 57, "d": [285,3880], "a": 1 }, + { "px": [328,384], "src": [72,24], "f": 0, "t": 57, "d": [285,3881], "a": 1 }, + { "px": [344,384], "src": [72,24], "f": 0, "t": 57, "d": [285,3883], "a": 1 }, + { "px": [352,384], "src": [72,24], "f": 0, "t": 57, "d": [285,3884], "a": 1 }, + { "px": [368,384], "src": [72,24], "f": 0, "t": 57, "d": [285,3886], "a": 1 }, + { "px": [456,384], "src": [72,24], "f": 0, "t": 57, "d": [285,3897], "a": 1 }, + { "px": [520,384], "src": [72,24], "f": 0, "t": 57, "d": [285,3905], "a": 1 }, + { "px": [544,384], "src": [72,24], "f": 0, "t": 57, "d": [285,3908], "a": 1 }, + { "px": [552,384], "src": [72,24], "f": 0, "t": 57, "d": [285,3909], "a": 1 }, + { "px": [600,384], "src": [72,24], "f": 0, "t": 57, "d": [285,3915], "a": 1 }, + { "px": [608,384], "src": [72,24], "f": 0, "t": 57, "d": [285,3916], "a": 1 }, + { "px": [624,384], "src": [72,24], "f": 0, "t": 57, "d": [285,3918], "a": 1 }, + { "px": [56,240], "src": [64,24], "f": 2, "t": 56, "d": [284,2407], "a": 1 }, + { "px": [64,240], "src": [72,32], "f": 0, "t": 73, "d": [283,2408], "a": 1 }, + { "px": [80,240], "src": [72,32], "f": 0, "t": 73, "d": [283,2410], "a": 1 }, + { "px": [88,240], "src": [72,32], "f": 0, "t": 73, "d": [283,2411], "a": 1 }, + { "px": [128,240], "src": [72,32], "f": 0, "t": 73, "d": [283,2416], "a": 1 }, + { "px": [152,240], "src": [72,32], "f": 0, "t": 73, "d": [283,2419], "a": 1 }, + { "px": [160,240], "src": [72,32], "f": 0, "t": 73, "d": [283,2420], "a": 1 }, + { "px": [200,240], "src": [72,32], "f": 0, "t": 73, "d": [283,2425], "a": 1 }, + { "px": [216,240], "src": [72,32], "f": 0, "t": 73, "d": [283,2427], "a": 1 }, + { "px": [224,240], "src": [72,32], "f": 0, "t": 73, "d": [283,2428], "a": 1 }, + { "px": [264,240], "src": [72,32], "f": 0, "t": 73, "d": [283,2433], "a": 1 }, + { "px": [272,240], "src": [72,32], "f": 0, "t": 73, "d": [283,2434], "a": 1 }, + { "px": [304,240], "src": [72,32], "f": 0, "t": 73, "d": [283,2438], "a": 1 }, + { "px": [320,240], "src": [72,32], "f": 0, "t": 73, "d": [283,2440], "a": 1 }, + { "px": [368,240], "src": [72,32], "f": 0, "t": 73, "d": [283,2446], "a": 1 }, + { "px": [376,240], "src": [72,32], "f": 0, "t": 73, "d": [283,2447], "a": 1 }, + { "px": [440,240], "src": [72,32], "f": 0, "t": 73, "d": [283,2455], "a": 1 }, + { "px": [472,240], "src": [72,32], "f": 0, "t": 73, "d": [283,2459], "a": 1 }, + { "px": [200,304], "src": [72,32], "f": 0, "t": 73, "d": [283,3065], "a": 1 }, + { "px": [208,304], "src": [72,32], "f": 0, "t": 73, "d": [283,3066], "a": 1 }, + { "px": [224,304], "src": [72,32], "f": 0, "t": 73, "d": [283,3068], "a": 1 }, + { "px": [344,304], "src": [72,32], "f": 0, "t": 73, "d": [283,3083], "a": 1 }, + { "px": [352,304], "src": [72,32], "f": 0, "t": 73, "d": [283,3084], "a": 1 } + ], + "seed": 1248749, + "overrideTilesetUid": null, + "gridTiles": [], + "entityInstances": [] + }, + { + "__identifier": "entities", + "__type": "Entities", + "__cWid": 80, + "__cHei": 54, + "__gridSize": 8, + "__opacity": 1, + "__pxTotalOffsetX": 0, + "__pxTotalOffsetY": 0, + "__tilesetDefUid": null, + "__tilesetRelPath": null, + "iid": "4a5d24c0-96d0-11f1-a694-a1ed8d3e1eb6", + "levelId": 0, + "layerDefUid": 287, + "pxOffsetX": 0, + "pxOffsetY": 0, + "visible": true, + "optionalRules": [], + "intGridCsv": [], + "autoLayerTiles": [], + "seed": 2031219, + "overrideTilesetUid": null, + "gridTiles": [], + "entityInstances": [] + }, + { + "__identifier": "foreground", + "__type": "IntGrid", + "__cWid": 80, + "__cHei": 54, + "__gridSize": 8, + "__opacity": 1, + "__pxTotalOffsetX": 0, + "__pxTotalOffsetY": 0, + "__tilesetDefUid": 199, + "__tilesetRelPath": "tiles.png", + "iid": "fe0cd030-96d0-11f1-8ea2-251af709cd61", + "levelId": 0, + "layerDefUid": 1, + "pxOffsetX": 0, + "pxOffsetY": 0, + "visible": true, + "optionalRules": [], + "intGridCsv": [ + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0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,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4, + 4,4,4,4,4,4,4,4,4,4,4,4,4,4,4 + ], + "autoLayerTiles": [ + { "px": [48,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1686], "a": 1 }, + { "px": [56,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1687], "a": 1 }, + { "px": [64,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1688], "a": 1 }, + { "px": [72,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1689], "a": 1 }, + { "px": [80,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1690], "a": 1 }, + { "px": [88,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1691], "a": 1 }, + { "px": [96,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1692], "a": 1 }, + { "px": [104,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1693], "a": 1 }, + { "px": [112,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1694], "a": 1 }, + { "px": [120,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1695], "a": 1 }, + { "px": [128,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1696], "a": 1 }, + { "px": [136,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1697], "a": 1 }, + { "px": [144,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1698], "a": 1 }, + { "px": [152,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1699], "a": 1 }, + { "px": [160,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1700], "a": 1 }, + { "px": [168,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1701], "a": 1 }, + { "px": [176,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1702], "a": 1 }, + { "px": [184,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1703], "a": 1 }, + { "px": [192,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1704], "a": 1 }, + { "px": [200,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1705], "a": 1 }, + { "px": [208,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1706], "a": 1 }, + { "px": [216,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1707], "a": 1 }, + { "px": [224,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1708], "a": 1 }, + { "px": [232,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1709], "a": 1 }, + { "px": [240,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1710], "a": 1 }, + { "px": [248,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1711], "a": 1 }, + { "px": [256,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1712], "a": 1 }, + { "px": [264,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1713], "a": 1 }, + { "px": [272,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1714], "a": 1 }, + { "px": [280,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1715], "a": 1 }, + { "px": [288,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1716], "a": 1 }, + { "px": [296,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1717], "a": 1 }, + { "px": [304,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1718], "a": 1 }, + { "px": [312,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1719], "a": 1 }, + { "px": [320,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1720], "a": 1 }, + { "px": [376,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1727], "a": 1 }, + { "px": [384,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1728], "a": 1 }, + { "px": [392,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1729], "a": 1 }, + { "px": [400,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1730], "a": 1 }, + { "px": [408,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1731], "a": 1 }, + { "px": [416,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1732], "a": 1 }, + { "px": [424,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1733], "a": 1 }, + { "px": [432,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1734], "a": 1 }, + { "px": [440,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1735], "a": 1 }, + { "px": [448,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1736], "a": 1 }, + { "px": [456,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1737], "a": 1 }, + { "px": [464,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1738], "a": 1 }, + { "px": [472,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1739], "a": 1 }, + { "px": [480,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1740], "a": 1 }, + { "px": [488,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1741], "a": 1 }, + { "px": [496,168], "src": [8,8], "f": 0, "t": 17, "d": [311,1742], "a": 1 }, + { "px": [48,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1766], "a": 1 }, + { "px": [56,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1767], "a": 1 }, + { "px": [64,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1768], "a": 1 }, + { "px": [72,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1769], "a": 1 }, + { "px": [80,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1770], "a": 1 }, + { "px": [88,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1771], "a": 1 }, + { "px": [96,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1772], "a": 1 }, + { "px": [104,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1773], "a": 1 }, + { "px": [112,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1774], "a": 1 }, + { "px": [120,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1775], "a": 1 }, + { "px": [128,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1776], "a": 1 }, + { "px": [136,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1777], "a": 1 }, + { "px": [144,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1778], "a": 1 }, + { "px": [152,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1779], "a": 1 }, + { "px": [160,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1780], "a": 1 }, + { "px": [168,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1781], "a": 1 }, + { "px": [176,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1782], "a": 1 }, + { "px": [184,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1783], "a": 1 }, + { "px": [192,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1784], "a": 1 }, + { "px": [200,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1785], "a": 1 }, + { "px": [208,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1786], "a": 1 }, + { "px": [216,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1787], "a": 1 }, + { "px": [224,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1788], "a": 1 }, + { "px": [232,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1789], "a": 1 }, + { "px": [240,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1790], "a": 1 }, + { "px": [248,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1791], "a": 1 }, + { "px": [256,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1792], "a": 1 }, + { "px": [264,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1793], "a": 1 }, + { "px": [272,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1794], "a": 1 }, + { "px": [280,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1795], "a": 1 }, + { "px": [288,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1796], "a": 1 }, + { "px": [296,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1797], "a": 1 }, + { "px": [304,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1798], "a": 1 }, + { "px": [312,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1799], "a": 1 }, + { "px": [320,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1800], "a": 1 }, + { "px": [376,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1807], "a": 1 }, + { "px": [384,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1808], "a": 1 }, + { "px": [392,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1809], "a": 1 }, + { "px": [400,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1810], "a": 1 }, + { "px": [408,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1811], "a": 1 }, + { "px": [416,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1812], "a": 1 }, + { "px": [424,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1813], "a": 1 }, + { "px": [432,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1814], "a": 1 }, + { "px": [440,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1815], "a": 1 }, + { "px": [448,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1816], "a": 1 }, + { "px": [456,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1817], "a": 1 }, + { "px": [464,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1818], "a": 1 }, + { "px": [472,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1819], "a": 1 }, + { "px": [480,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1820], "a": 1 }, + { "px": [488,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1821], "a": 1 }, + { "px": [496,176], "src": [8,8], "f": 0, "t": 17, "d": [311,1822], "a": 1 }, + { "px": [48,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1846], "a": 1 }, + { "px": [56,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1847], "a": 1 }, + { "px": [64,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1848], "a": 1 }, + { "px": [72,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1849], "a": 1 }, + { "px": [80,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1850], "a": 1 }, + { "px": [88,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1851], "a": 1 }, + { "px": [96,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1852], "a": 1 }, + { "px": [104,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1853], "a": 1 }, + { "px": [112,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1854], "a": 1 }, + { "px": [120,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1855], "a": 1 }, + { "px": [128,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1856], "a": 1 }, + { "px": [136,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1857], "a": 1 }, + { "px": [144,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1858], "a": 1 }, + { "px": [152,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1859], "a": 1 }, + { "px": [160,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1860], "a": 1 }, + { "px": [168,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1861], "a": 1 }, + { "px": [176,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1862], "a": 1 }, + { "px": [184,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1863], "a": 1 }, + { "px": [192,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1864], "a": 1 }, + { "px": [200,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1865], "a": 1 }, + { "px": [208,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1866], "a": 1 }, + { "px": [216,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1867], "a": 1 }, + { "px": [224,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1868], "a": 1 }, + { "px": [232,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1869], "a": 1 }, + { "px": [240,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1870], "a": 1 }, + { "px": [248,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1871], "a": 1 }, + { "px": [256,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1872], "a": 1 }, + { "px": [264,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1873], "a": 1 }, + { "px": [272,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1874], "a": 1 }, + { "px": [280,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1875], "a": 1 }, + { "px": [288,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1876], "a": 1 }, + { "px": [296,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1877], "a": 1 }, + { "px": [304,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1878], "a": 1 }, + { "px": [312,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1879], "a": 1 }, + { "px": [320,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1880], "a": 1 }, + { "px": [376,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1887], "a": 1 }, + { "px": [384,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1888], "a": 1 }, + { "px": [392,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1889], "a": 1 }, + { "px": [400,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1890], "a": 1 }, + { "px": [408,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1891], "a": 1 }, + { "px": [416,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1892], "a": 1 }, + { "px": [424,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1893], "a": 1 }, + { "px": [432,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1894], "a": 1 }, + { "px": [440,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1895], "a": 1 }, + { "px": [448,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1896], "a": 1 }, + { "px": [456,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1897], "a": 1 }, + { "px": [464,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1898], "a": 1 }, + { "px": [472,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1899], "a": 1 }, + { "px": [480,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1900], "a": 1 }, + { "px": [488,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1901], "a": 1 }, + { "px": [496,184], "src": [8,8], "f": 0, "t": 17, "d": [311,1902], "a": 1 }, + { "px": [48,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1926], "a": 1 }, + { "px": [56,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1927], "a": 1 }, + { "px": [64,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1928], "a": 1 }, + { "px": [72,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1929], "a": 1 }, + { "px": [80,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1930], "a": 1 }, + { "px": [88,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1931], "a": 1 }, + { "px": [96,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1932], "a": 1 }, + { "px": [104,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1933], "a": 1 }, + { "px": [112,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1934], "a": 1 }, + { "px": [120,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1935], "a": 1 }, + { "px": [128,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1936], "a": 1 }, + { "px": [136,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1937], "a": 1 }, + { "px": [144,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1938], "a": 1 }, + { "px": [152,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1939], "a": 1 }, + { "px": [160,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1940], "a": 1 }, + { "px": [168,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1941], "a": 1 }, + { "px": [176,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1942], "a": 1 }, + { "px": [184,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1943], "a": 1 }, + { "px": [192,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1944], "a": 1 }, + { "px": [200,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1945], "a": 1 }, + { "px": [208,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1946], "a": 1 }, + { "px": [216,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1947], "a": 1 }, + { "px": [224,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1948], "a": 1 }, + { "px": [232,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1949], "a": 1 }, + { "px": [240,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1950], "a": 1 }, + { "px": [248,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1951], "a": 1 }, + { "px": [256,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1952], "a": 1 }, + { "px": [264,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1953], "a": 1 }, + { "px": [272,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1954], "a": 1 }, + { "px": [280,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1955], "a": 1 }, + { "px": [288,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1956], "a": 1 }, + { "px": [296,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1957], "a": 1 }, + { "px": [304,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1958], "a": 1 }, + { "px": [312,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1959], "a": 1 }, + { "px": [320,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1960], "a": 1 }, + { "px": [376,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1967], "a": 1 }, + { "px": [384,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1968], "a": 1 }, + { "px": [392,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1969], "a": 1 }, + { "px": [400,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1970], "a": 1 }, + { "px": [408,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1971], "a": 1 }, + { "px": [416,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1972], "a": 1 }, + { "px": [424,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1973], "a": 1 }, + { "px": [432,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1974], "a": 1 }, + { "px": [440,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1975], "a": 1 }, + { "px": [448,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1976], "a": 1 }, + { "px": [456,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1977], "a": 1 }, + { "px": [464,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1978], "a": 1 }, + { "px": [472,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1979], "a": 1 }, + { "px": [480,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1980], "a": 1 }, + { "px": [488,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1981], "a": 1 }, + { "px": [496,192], "src": [8,8], "f": 0, "t": 17, "d": [311,1982], "a": 1 }, + { "px": [48,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2006], "a": 1 }, + { "px": [56,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2007], "a": 1 }, + { "px": [64,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2008], "a": 1 }, + { "px": [72,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2009], "a": 1 }, + { "px": [80,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2010], "a": 1 }, + { "px": [88,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2011], "a": 1 }, + { "px": [96,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2012], "a": 1 }, + { "px": [104,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2013], "a": 1 }, + { "px": [112,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2014], "a": 1 }, + { "px": [120,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2015], "a": 1 }, + { "px": [128,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2016], "a": 1 }, + { "px": [136,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2017], "a": 1 }, + { "px": [144,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2018], "a": 1 }, + { "px": [152,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2019], "a": 1 }, + { "px": [160,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2020], "a": 1 }, + { "px": [168,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2021], "a": 1 }, + { "px": [176,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2022], "a": 1 }, + { "px": [184,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2023], "a": 1 }, + { "px": [192,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2024], "a": 1 }, + { "px": [200,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2025], "a": 1 }, + { "px": [208,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2026], "a": 1 }, + { "px": [216,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2027], "a": 1 }, + { "px": [224,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2028], "a": 1 }, + { "px": [232,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2029], "a": 1 }, + { "px": [240,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2030], "a": 1 }, + { "px": [248,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2031], "a": 1 }, + { "px": [256,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2032], "a": 1 }, + { "px": [264,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2033], "a": 1 }, + { "px": [272,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2034], "a": 1 }, + { "px": [280,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2035], "a": 1 }, + { "px": [288,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2036], "a": 1 }, + { "px": [296,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2037], "a": 1 }, + { "px": [304,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2038], "a": 1 }, + { "px": [312,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2039], "a": 1 }, + { "px": [320,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2040], "a": 1 }, + { "px": [376,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2047], "a": 1 }, + { "px": [384,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2048], "a": 1 }, + { "px": [392,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2049], "a": 1 }, + { "px": [400,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2050], "a": 1 }, + { "px": [408,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2051], "a": 1 }, + { "px": [416,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2052], "a": 1 }, + { "px": [424,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2053], "a": 1 }, + { "px": [432,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2054], "a": 1 }, + { "px": [440,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2055], "a": 1 }, + { "px": [448,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2056], "a": 1 }, + { "px": [456,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2057], "a": 1 }, + { "px": [464,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2058], "a": 1 }, + { "px": [472,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2059], "a": 1 }, + { "px": [480,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2060], "a": 1 }, + { "px": [488,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2061], "a": 1 }, + { "px": [496,200], "src": [8,8], "f": 0, "t": 17, "d": [311,2062], "a": 1 }, + { "px": [48,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2086], "a": 1 }, + { "px": [56,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2087], "a": 1 }, + { "px": [64,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2088], "a": 1 }, + { "px": [72,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2089], "a": 1 }, + { "px": [80,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2090], "a": 1 }, + { "px": [88,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2091], "a": 1 }, + { "px": [96,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2092], "a": 1 }, + { "px": [104,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2093], "a": 1 }, + { "px": [112,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2094], "a": 1 }, + { "px": [120,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2095], "a": 1 }, + { "px": [128,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2096], "a": 1 }, + { "px": [136,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2097], "a": 1 }, + { "px": [144,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2098], "a": 1 }, + { "px": [152,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2099], "a": 1 }, + { "px": [160,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2100], "a": 1 }, + { "px": [168,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2101], "a": 1 }, + { "px": [176,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2102], "a": 1 }, + { "px": [184,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2103], "a": 1 }, + { "px": [192,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2104], "a": 1 }, + { "px": [200,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2105], "a": 1 }, + { "px": [208,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2106], "a": 1 }, + { "px": [216,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2107], "a": 1 }, + { "px": [224,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2108], "a": 1 }, + { "px": [232,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2109], "a": 1 }, + { "px": [240,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2110], "a": 1 }, + { "px": [248,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2111], "a": 1 }, + { "px": [256,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2112], "a": 1 }, + { "px": [264,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2113], "a": 1 }, + { "px": [272,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2114], "a": 1 }, + { "px": [280,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2115], "a": 1 }, + { "px": [288,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2116], "a": 1 }, + { "px": [296,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2117], "a": 1 }, + { "px": [304,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2118], "a": 1 }, + { "px": [312,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2119], "a": 1 }, + { "px": [320,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2120], "a": 1 }, + { "px": [376,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2127], "a": 1 }, + { "px": [384,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2128], "a": 1 }, + { "px": [392,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2129], "a": 1 }, + { "px": [400,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2130], "a": 1 }, + { "px": [408,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2131], "a": 1 }, + { "px": [416,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2132], "a": 1 }, + { "px": [424,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2133], "a": 1 }, + { "px": [432,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2134], "a": 1 }, + { "px": [440,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2135], "a": 1 }, + { "px": [448,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2136], "a": 1 }, + { "px": [456,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2137], "a": 1 }, + { "px": [464,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2138], "a": 1 }, + { "px": [472,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2139], "a": 1 }, + { "px": [480,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2140], "a": 1 }, + { "px": [488,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2141], "a": 1 }, + { "px": [496,208], "src": [8,8], "f": 0, "t": 17, "d": [311,2142], "a": 1 }, + { "px": [48,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2166], "a": 1 }, + { "px": [56,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2167], "a": 1 }, + { "px": [64,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2168], "a": 1 }, + { "px": [72,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2169], "a": 1 }, + { "px": [80,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2170], "a": 1 }, + { "px": [88,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2171], "a": 1 }, + { "px": [96,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2172], "a": 1 }, + { "px": [104,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2173], "a": 1 }, + { "px": [112,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2174], "a": 1 }, + { "px": [120,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2175], "a": 1 }, + { "px": [128,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2176], "a": 1 }, + { "px": [136,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2177], "a": 1 }, + { "px": [144,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2178], "a": 1 }, + { "px": [152,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2179], "a": 1 }, + { "px": [160,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2180], "a": 1 }, + { "px": [168,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2181], "a": 1 }, + { "px": [176,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2182], "a": 1 }, + { "px": [184,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2183], "a": 1 }, + { "px": [192,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2184], "a": 1 }, + { "px": [200,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2185], "a": 1 }, + { "px": [208,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2186], "a": 1 }, + { "px": [216,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2187], "a": 1 }, + { "px": [224,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2188], "a": 1 }, + { "px": [232,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2189], "a": 1 }, + { "px": [240,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2190], "a": 1 }, + { "px": [248,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2191], "a": 1 }, + { "px": [256,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2192], "a": 1 }, + { "px": [264,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2193], "a": 1 }, + { "px": [272,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2194], "a": 1 }, + { "px": [280,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2195], "a": 1 }, + { "px": [288,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2196], "a": 1 }, + { "px": [296,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2197], "a": 1 }, + { "px": [304,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2198], "a": 1 }, + { "px": [312,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2199], "a": 1 }, + { "px": [320,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2200], "a": 1 }, + { "px": [376,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2207], "a": 1 }, + { "px": [384,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2208], "a": 1 }, + { "px": [392,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2209], "a": 1 }, + { "px": [400,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2210], "a": 1 }, + { "px": [408,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2211], "a": 1 }, + { "px": [416,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2212], "a": 1 }, + { "px": [424,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2213], "a": 1 }, + { "px": [432,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2214], "a": 1 }, + { "px": [440,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2215], "a": 1 }, + { "px": [448,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2216], "a": 1 }, + { "px": [456,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2217], "a": 1 }, + { "px": [464,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2218], "a": 1 }, + { "px": [472,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2219], "a": 1 }, + { "px": [480,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2220], "a": 1 }, + { "px": [488,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2221], "a": 1 }, + { "px": [496,216], "src": [8,8], "f": 0, "t": 17, "d": [311,2222], "a": 1 }, + { "px": [48,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2246], "a": 1 }, + { "px": [56,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2247], "a": 1 }, + { "px": [64,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2248], "a": 1 }, + { "px": [72,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2249], "a": 1 }, + { "px": [80,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2250], "a": 1 }, + { "px": [88,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2251], "a": 1 }, + { "px": [96,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2252], "a": 1 }, + { "px": [104,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2253], "a": 1 }, + { "px": [112,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2254], "a": 1 }, + { "px": [120,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2255], "a": 1 }, + { "px": [128,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2256], "a": 1 }, + { "px": [136,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2257], "a": 1 }, + { "px": [144,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2258], "a": 1 }, + { "px": [152,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2259], "a": 1 }, + { "px": [160,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2260], "a": 1 }, + { "px": [168,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2261], "a": 1 }, + { "px": [176,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2262], "a": 1 }, + { "px": [184,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2263], "a": 1 }, + { "px": [192,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2264], "a": 1 }, + { "px": [200,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2265], "a": 1 }, + { "px": [208,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2266], "a": 1 }, + { "px": [216,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2267], "a": 1 }, + { "px": [224,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2268], "a": 1 }, + { "px": [232,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2269], "a": 1 }, + { "px": [240,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2270], "a": 1 }, + { "px": [248,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2271], "a": 1 }, + { "px": [256,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2272], "a": 1 }, + { "px": [264,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2273], "a": 1 }, + { "px": [272,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2274], "a": 1 }, + { "px": [280,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2275], "a": 1 }, + { "px": [288,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2276], "a": 1 }, + { "px": [296,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2277], "a": 1 }, + { "px": [304,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2278], "a": 1 }, + { "px": [312,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2279], "a": 1 }, + { "px": [320,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2280], "a": 1 }, + { "px": [376,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2287], "a": 1 }, + { "px": [384,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2288], "a": 1 }, + { "px": [392,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2289], "a": 1 }, + { "px": [400,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2290], "a": 1 }, + { "px": [408,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2291], "a": 1 }, + { "px": [416,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2292], "a": 1 }, + { "px": [424,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2293], "a": 1 }, + { "px": [432,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2294], "a": 1 }, + { "px": [440,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2295], "a": 1 }, + { "px": [448,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2296], "a": 1 }, + { "px": [456,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2297], "a": 1 }, + { "px": [464,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2298], "a": 1 }, + { "px": [472,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2299], "a": 1 }, + { "px": [480,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2300], "a": 1 }, + { "px": [488,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2301], "a": 1 }, + { "px": [496,224], "src": [8,8], "f": 0, "t": 17, "d": [311,2302], "a": 1 }, + { "px": [48,232], "src": [8,8], "f": 0, "t": 17, "d": [311,2326], "a": 1 }, + { "px": [0,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4000], "a": 1 }, + { "px": [8,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4001], "a": 1 }, + { "px": [16,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4002], "a": 1 }, + { "px": [24,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4003], "a": 1 }, + { "px": [32,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4004], "a": 1 }, + { "px": [40,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4005], "a": 1 }, + { "px": [48,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4006], "a": 1 }, + { "px": [56,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4007], "a": 1 }, + { "px": [64,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4008], "a": 1 }, + { "px": [72,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4009], "a": 1 }, + { "px": [80,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4010], "a": 1 }, + { "px": [88,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4011], "a": 1 }, + { "px": [96,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4012], "a": 1 }, + { "px": [104,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4013], "a": 1 }, + { "px": [112,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4014], "a": 1 }, + { "px": [120,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4015], "a": 1 }, + { "px": [128,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4016], "a": 1 }, + { "px": [136,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4017], "a": 1 }, + { "px": [144,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4018], "a": 1 }, + { "px": [152,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4019], "a": 1 }, + { "px": [160,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4020], "a": 1 }, + { "px": [168,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4021], "a": 1 }, + { "px": [176,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4022], "a": 1 }, + { "px": [184,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4023], "a": 1 }, + { "px": [192,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4024], "a": 1 }, + { "px": [200,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4025], "a": 1 }, + { "px": [208,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4026], "a": 1 }, + { "px": [216,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4027], "a": 1 }, + { "px": [224,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4028], "a": 1 }, + { "px": [232,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4029], "a": 1 }, + { "px": [240,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4030], "a": 1 }, + { "px": [248,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4031], "a": 1 }, + { "px": [256,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4032], "a": 1 }, + { "px": [264,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4033], "a": 1 }, + { "px": [272,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4034], "a": 1 }, + { "px": [280,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4035], "a": 1 }, + { "px": [288,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4036], "a": 1 }, + { "px": [296,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4037], "a": 1 }, + { "px": [304,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4038], "a": 1 }, + { "px": [312,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4039], "a": 1 }, + { "px": [320,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4040], "a": 1 }, + { "px": [328,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4041], "a": 1 }, + { "px": [336,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4042], "a": 1 }, + { "px": [344,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4043], "a": 1 }, + { "px": [352,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4044], "a": 1 }, + { "px": [360,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4045], "a": 1 }, + { "px": [368,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4046], "a": 1 }, + { "px": [376,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4047], "a": 1 }, + { "px": [384,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4048], "a": 1 }, + { "px": [392,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4049], "a": 1 }, + { "px": [400,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4050], "a": 1 }, + { "px": [408,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4051], "a": 1 }, + { "px": [416,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4052], "a": 1 }, + { "px": [424,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4053], "a": 1 }, + { "px": [432,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4054], "a": 1 }, + { "px": [440,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4055], "a": 1 }, + { "px": [448,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4056], "a": 1 }, + { "px": [456,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4057], "a": 1 }, + { "px": [464,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4058], "a": 1 }, + { "px": [472,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4059], "a": 1 }, + { "px": [480,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4060], "a": 1 }, + { "px": [488,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4061], "a": 1 }, + { "px": [496,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4062], "a": 1 }, + { "px": [504,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4063], "a": 1 }, + { "px": [512,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4064], "a": 1 }, + { "px": [520,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4065], "a": 1 }, + { "px": [528,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4066], "a": 1 }, + { "px": [536,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4067], "a": 1 }, + { "px": [544,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4068], "a": 1 }, + { "px": [552,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4069], "a": 1 }, + { "px": [560,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4070], "a": 1 }, + { "px": [568,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4071], "a": 1 }, + { "px": [576,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4072], "a": 1 }, + { "px": [584,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4073], "a": 1 }, + { "px": [592,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4074], "a": 1 }, + { "px": [600,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4075], "a": 1 }, + { "px": [608,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4076], "a": 1 }, + { "px": [616,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4077], "a": 1 }, + { "px": [624,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4078], "a": 1 }, + { "px": [632,400], "src": [8,8], "f": 0, "t": 17, "d": [311,4079], "a": 1 }, + { "px": [0,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4080], "a": 1 }, + { "px": [8,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4081], "a": 1 }, + { "px": [16,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4082], "a": 1 }, + { "px": [24,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4083], "a": 1 }, + { "px": [32,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4084], "a": 1 }, + { "px": [40,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4085], "a": 1 }, + { "px": [48,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4086], "a": 1 }, + { "px": [56,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4087], "a": 1 }, + { "px": [64,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4088], "a": 1 }, + { "px": [72,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4089], "a": 1 }, + { "px": [80,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4090], "a": 1 }, + { "px": [88,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4091], "a": 1 }, + { "px": [96,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4092], "a": 1 }, + { "px": [104,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4093], "a": 1 }, + { "px": [112,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4094], "a": 1 }, + { "px": [120,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4095], "a": 1 }, + { "px": [128,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4096], "a": 1 }, + { "px": [136,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4097], "a": 1 }, + { "px": [144,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4098], "a": 1 }, + { "px": [152,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4099], "a": 1 }, + { "px": [160,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4100], "a": 1 }, + { "px": [168,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4101], "a": 1 }, + { "px": [176,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4102], "a": 1 }, + { "px": [184,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4103], "a": 1 }, + { "px": [192,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4104], "a": 1 }, + { "px": [200,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4105], "a": 1 }, + { "px": [208,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4106], "a": 1 }, + { "px": [216,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4107], "a": 1 }, + { "px": [224,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4108], "a": 1 }, + { "px": [232,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4109], "a": 1 }, + { "px": [240,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4110], "a": 1 }, + { "px": [248,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4111], "a": 1 }, + { "px": [256,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4112], "a": 1 }, + { "px": [264,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4113], "a": 1 }, + { "px": [272,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4114], "a": 1 }, + { "px": [280,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4115], "a": 1 }, + { "px": [288,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4116], "a": 1 }, + { "px": [296,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4117], "a": 1 }, + { "px": [304,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4118], "a": 1 }, + { "px": [312,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4119], "a": 1 }, + { "px": [320,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4120], "a": 1 }, + { "px": [328,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4121], "a": 1 }, + { "px": [336,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4122], "a": 1 }, + { "px": [344,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4123], "a": 1 }, + { "px": [352,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4124], "a": 1 }, + { "px": [360,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4125], "a": 1 }, + { "px": [368,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4126], "a": 1 }, + { "px": [376,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4127], "a": 1 }, + { "px": [384,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4128], "a": 1 }, + { "px": [392,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4129], "a": 1 }, + { "px": [400,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4130], "a": 1 }, + { "px": [408,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4131], "a": 1 }, + { "px": [416,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4132], "a": 1 }, + { "px": [424,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4133], "a": 1 }, + { "px": [432,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4134], "a": 1 }, + { "px": [440,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4135], "a": 1 }, + { "px": [448,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4136], "a": 1 }, + { "px": [456,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4137], "a": 1 }, + { "px": [464,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4138], "a": 1 }, + { "px": [472,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4139], "a": 1 }, + { "px": [480,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4140], "a": 1 }, + { "px": [488,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4141], "a": 1 }, + { "px": [496,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4142], "a": 1 }, + { "px": [504,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4143], "a": 1 }, + { "px": [512,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4144], "a": 1 }, + { "px": [520,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4145], "a": 1 }, + { "px": [528,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4146], "a": 1 }, + { "px": [536,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4147], "a": 1 }, + { "px": [544,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4148], "a": 1 }, + { "px": [552,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4149], "a": 1 }, + { "px": [560,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4150], "a": 1 }, + { "px": [568,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4151], "a": 1 }, + { "px": [576,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4152], "a": 1 }, + { "px": [584,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4153], "a": 1 }, + { "px": [592,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4154], "a": 1 }, + { "px": [600,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4155], "a": 1 }, + { "px": [608,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4156], "a": 1 }, + { "px": [616,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4157], "a": 1 }, + { "px": [624,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4158], "a": 1 }, + { "px": [632,408], "src": [8,8], "f": 0, "t": 17, "d": [311,4159], "a": 1 }, + { "px": [0,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4160], "a": 1 }, + { "px": [8,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4161], "a": 1 }, + { "px": [16,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4162], "a": 1 }, + { "px": [24,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4163], "a": 1 }, + { "px": [32,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4164], "a": 1 }, + { "px": [40,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4165], "a": 1 }, + { "px": [48,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4166], "a": 1 }, + { "px": [56,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4167], "a": 1 }, + { "px": [64,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4168], "a": 1 }, + { "px": [72,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4169], "a": 1 }, + { "px": [80,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4170], "a": 1 }, + { "px": [88,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4171], "a": 1 }, + { "px": [96,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4172], "a": 1 }, + { "px": [104,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4173], "a": 1 }, + { "px": [112,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4174], "a": 1 }, + { "px": [120,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4175], "a": 1 }, + { "px": [128,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4176], "a": 1 }, + { "px": [136,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4177], "a": 1 }, + { "px": [144,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4178], "a": 1 }, + { "px": [152,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4179], "a": 1 }, + { "px": [160,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4180], "a": 1 }, + { "px": [168,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4181], "a": 1 }, + { "px": [176,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4182], "a": 1 }, + { "px": [184,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4183], "a": 1 }, + { "px": [192,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4184], "a": 1 }, + { "px": [200,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4185], "a": 1 }, + { "px": [208,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4186], "a": 1 }, + { "px": [216,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4187], "a": 1 }, + { "px": [224,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4188], "a": 1 }, + { "px": [232,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4189], "a": 1 }, + { "px": [240,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4190], "a": 1 }, + { "px": [248,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4191], "a": 1 }, + { "px": [256,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4192], "a": 1 }, + { "px": [264,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4193], "a": 1 }, + { "px": [272,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4194], "a": 1 }, + { "px": [280,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4195], "a": 1 }, + { "px": [288,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4196], "a": 1 }, + { "px": [296,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4197], "a": 1 }, + { "px": [304,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4198], "a": 1 }, + { "px": [312,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4199], "a": 1 }, + { "px": [320,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4200], "a": 1 }, + { "px": [328,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4201], "a": 1 }, + { "px": [336,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4202], "a": 1 }, + { "px": [344,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4203], "a": 1 }, + { "px": [352,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4204], "a": 1 }, + { "px": [360,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4205], "a": 1 }, + { "px": [368,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4206], "a": 1 }, + { "px": [376,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4207], "a": 1 }, + { "px": [384,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4208], "a": 1 }, + { "px": [392,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4209], "a": 1 }, + { "px": [400,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4210], "a": 1 }, + { "px": [408,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4211], "a": 1 }, + { "px": [416,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4212], "a": 1 }, + { "px": [424,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4213], "a": 1 }, + { "px": [432,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4214], "a": 1 }, + { "px": [440,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4215], "a": 1 }, + { "px": [448,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4216], "a": 1 }, + { "px": [456,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4217], "a": 1 }, + { "px": [464,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4218], "a": 1 }, + { "px": [472,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4219], "a": 1 }, + { "px": [480,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4220], "a": 1 }, + { "px": [488,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4221], "a": 1 }, + { "px": [496,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4222], "a": 1 }, + { "px": [504,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4223], "a": 1 }, + { "px": [512,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4224], "a": 1 }, + { "px": [520,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4225], "a": 1 }, + { "px": [528,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4226], "a": 1 }, + { "px": [536,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4227], "a": 1 }, + { "px": [544,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4228], "a": 1 }, + { "px": [552,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4229], "a": 1 }, + { "px": [560,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4230], "a": 1 }, + { "px": [568,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4231], "a": 1 }, + { "px": [576,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4232], "a": 1 }, + { "px": [584,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4233], "a": 1 }, + { "px": [592,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4234], "a": 1 }, + { "px": [600,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4235], "a": 1 }, + { "px": [608,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4236], "a": 1 }, + { "px": [616,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4237], "a": 1 }, + { "px": [624,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4238], "a": 1 }, + { "px": [632,416], "src": [8,8], "f": 0, "t": 17, "d": [311,4239], "a": 1 }, + { "px": [0,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4240], "a": 1 }, + { "px": [8,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4241], "a": 1 }, + { "px": [16,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4242], "a": 1 }, + { "px": [24,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4243], "a": 1 }, + { "px": [32,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4244], "a": 1 }, + { "px": [40,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4245], "a": 1 }, + { "px": [48,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4246], "a": 1 }, + { "px": [56,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4247], "a": 1 }, + { "px": [64,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4248], "a": 1 }, + { "px": [72,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4249], "a": 1 }, + { "px": [80,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4250], "a": 1 }, + { "px": [88,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4251], "a": 1 }, + { "px": [96,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4252], "a": 1 }, + { "px": [104,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4253], "a": 1 }, + { "px": [112,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4254], "a": 1 }, + { "px": [120,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4255], "a": 1 }, + { "px": [128,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4256], "a": 1 }, + { "px": [136,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4257], "a": 1 }, + { "px": [144,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4258], "a": 1 }, + { "px": [152,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4259], "a": 1 }, + { "px": [160,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4260], "a": 1 }, + { "px": [168,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4261], "a": 1 }, + { "px": [176,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4262], "a": 1 }, + { "px": [184,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4263], "a": 1 }, + { "px": [192,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4264], "a": 1 }, + { "px": [200,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4265], "a": 1 }, + { "px": [208,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4266], "a": 1 }, + { "px": [216,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4267], "a": 1 }, + { "px": [224,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4268], "a": 1 }, + { "px": [232,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4269], "a": 1 }, + { "px": [240,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4270], "a": 1 }, + { "px": [248,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4271], "a": 1 }, + { "px": [256,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4272], "a": 1 }, + { "px": [264,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4273], "a": 1 }, + { "px": [272,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4274], "a": 1 }, + { "px": [280,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4275], "a": 1 }, + { "px": [288,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4276], "a": 1 }, + { "px": [296,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4277], "a": 1 }, + { "px": [304,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4278], "a": 1 }, + { "px": [312,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4279], "a": 1 }, + { "px": [320,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4280], "a": 1 }, + { "px": [328,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4281], "a": 1 }, + { "px": [336,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4282], "a": 1 }, + { "px": [344,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4283], "a": 1 }, + { "px": [352,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4284], "a": 1 }, + { "px": [360,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4285], "a": 1 }, + { "px": [368,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4286], "a": 1 }, + { "px": [376,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4287], "a": 1 }, + { "px": [384,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4288], "a": 1 }, + { "px": [392,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4289], "a": 1 }, + { "px": [400,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4290], "a": 1 }, + { "px": [408,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4291], "a": 1 }, + { "px": [416,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4292], "a": 1 }, + { "px": [424,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4293], "a": 1 }, + { "px": [432,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4294], "a": 1 }, + { "px": [440,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4295], "a": 1 }, + { "px": [448,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4296], "a": 1 }, + { "px": [456,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4297], "a": 1 }, + { "px": [464,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4298], "a": 1 }, + { "px": [472,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4299], "a": 1 }, + { "px": [480,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4300], "a": 1 }, + { "px": [488,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4301], "a": 1 }, + { "px": [496,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4302], "a": 1 }, + { "px": [504,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4303], "a": 1 }, + { "px": [512,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4304], "a": 1 }, + { "px": [520,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4305], "a": 1 }, + { "px": [528,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4306], "a": 1 }, + { "px": [536,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4307], "a": 1 }, + { "px": [544,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4308], "a": 1 }, + { "px": [552,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4309], "a": 1 }, + { "px": [560,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4310], "a": 1 }, + { "px": [568,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4311], "a": 1 }, + { "px": [576,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4312], "a": 1 }, + { "px": [584,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4313], "a": 1 }, + { "px": [592,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4314], "a": 1 }, + { "px": [600,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4315], "a": 1 }, + { "px": [608,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4316], "a": 1 }, + { "px": [616,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4317], "a": 1 }, + { "px": [624,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4318], "a": 1 }, + { "px": [632,424], "src": [8,8], "f": 0, "t": 17, "d": [311,4319], "a": 1 }, + { "px": [424,56], "src": [32,24], "f": 0, "t": 52, "d": [317,613], "a": 1 }, + { "px": [96,152], "src": [32,24], "f": 0, "t": 52, "d": [317,1532], "a": 1 }, + { "px": [112,152], "src": [32,24], "f": 0, "t": 52, "d": [317,1534], "a": 1 }, + { "px": [160,152], "src": [32,24], "f": 0, "t": 52, "d": [317,1540], "a": 1 }, + { "px": [192,152], "src": [32,24], "f": 0, "t": 52, "d": [317,1544], "a": 1 }, + { "px": [264,152], "src": [32,24], "f": 0, "t": 52, "d": [317,1553], "a": 1 }, + { "px": [272,152], "src": [32,24], "f": 0, "t": 52, "d": [317,1554], "a": 1 }, + { "px": [384,152], "src": [32,24], "f": 0, "t": 52, "d": [317,1568], "a": 1 }, + { "px": [416,152], "src": [32,24], "f": 0, "t": 52, "d": [317,1572], "a": 1 }, + { "px": [480,152], "src": [32,24], "f": 0, "t": 52, "d": [317,1580], "a": 1 }, + { "px": [504,152], "src": [32,24], "f": 0, "t": 52, "d": [317,1583], "a": 1 }, + { "px": [200,280], "src": [32,24], "f": 0, "t": 52, "d": [317,2825], "a": 1 }, + { "px": [208,280], "src": [32,24], "f": 0, "t": 52, "d": [317,2826], "a": 1 }, + { "px": [360,280], "src": [32,24], "f": 0, "t": 52, "d": [317,2845], "a": 1 }, + { "px": [8,384], "src": [32,24], "f": 0, "t": 52, "d": [317,3841], "a": 1 }, + { "px": [56,384], "src": [32,24], "f": 0, "t": 52, "d": [317,3847], "a": 1 }, + { "px": [88,384], "src": [32,24], "f": 0, "t": 52, "d": [317,3851], "a": 1 }, + { "px": [160,384], "src": [32,24], "f": 0, "t": 52, "d": [317,3860], "a": 1 }, + { "px": [240,384], "src": [32,24], "f": 0, "t": 52, "d": [317,3870], "a": 1 }, + { "px": [280,384], "src": [32,24], "f": 0, "t": 52, "d": [317,3875], "a": 1 }, + { "px": [312,384], "src": [32,24], "f": 0, "t": 52, "d": [317,3879], "a": 1 }, + { "px": [472,384], "src": [32,24], "f": 0, "t": 52, "d": [317,3899], "a": 1 }, + { "px": [504,384], "src": [32,24], "f": 0, "t": 52, "d": [317,3903], "a": 1 }, + { "px": [544,384], "src": [32,24], "f": 0, "t": 52, "d": [317,3908], "a": 1 }, + { "px": [616,384], "src": [32,24], "f": 0, "t": 52, "d": [317,3917], "a": 1 }, + { "px": [392,80], "src": [32,32], "f": 0, "t": 68, "d": [316,849], "a": 1 }, + { "px": [424,80], "src": [32,32], "f": 0, "t": 68, "d": [316,853], "a": 1 }, + { "px": [64,240], "src": [32,32], "f": 0, "t": 68, "d": [316,2408], "a": 1 }, + { "px": [96,240], "src": [32,32], "f": 0, "t": 68, "d": [316,2412], "a": 1 }, + { "px": [176,240], "src": [32,32], "f": 0, "t": 68, "d": [316,2422], "a": 1 }, + { "px": [216,240], "src": [32,32], "f": 0, "t": 68, "d": [316,2427], "a": 1 }, + { "px": [224,240], "src": [32,32], "f": 0, "t": 68, "d": [316,2428], "a": 1 }, + { "px": [256,240], "src": [32,32], "f": 0, "t": 68, "d": [316,2432], "a": 1 }, + { "px": [328,240], "src": [32,32], "f": 0, "t": 68, "d": [316,2441], "a": 1 }, + { "px": [376,240], "src": [32,32], "f": 0, "t": 68, "d": [316,2447], "a": 1 }, + { "px": [384,240], "src": [32,32], "f": 0, "t": 68, "d": [316,2448], "a": 1 }, + { "px": [392,240], "src": [32,32], "f": 0, "t": 68, "d": [316,2449], "a": 1 }, + { "px": [424,240], "src": [32,32], "f": 0, "t": 68, "d": [316,2453], "a": 1 }, + { "px": [448,240], "src": [32,32], "f": 0, "t": 68, "d": [316,2456], "a": 1 }, + { "px": [472,240], "src": [32,32], "f": 0, "t": 68, "d": [316,2459], "a": 1 }, + { "px": [488,240], "src": [32,32], "f": 0, "t": 68, "d": [316,2461], "a": 1 }, + { "px": [504,240], "src": [32,32], "f": 0, "t": 68, "d": [316,2463], "a": 1 }, + { "px": [216,304], "src": [32,32], "f": 0, "t": 68, "d": [316,3067], "a": 1 }, + { "px": [344,288], "src": [40,0], "f": 0, "t": 5, "d": [309,2923], "a": 1 }, + { "px": [352,288], "src": [40,0], "f": 0, "t": 5, "d": [309,2924], "a": 1 }, + { "px": [360,288], "src": [40,0], "f": 0, "t": 5, "d": [309,2925], "a": 1 }, + { "px": [368,288], "src": [40,0], "f": 0, "t": 5, "d": [309,2926], "a": 1 }, + { "px": [40,168], "src": [64,8], "f": 0, "t": 24, "d": [256,1685], "a": 1 }, + { "px": [328,168], "src": [64,8], "f": 1, "t": 24, "d": [256,1721], "a": 1 }, + { "px": [368,168], "src": [64,8], "f": 0, "t": 24, "d": [256,1726], "a": 1 }, + { "px": [504,168], "src": [64,8], "f": 1, "t": 24, "d": [256,1743], "a": 1 }, + { "px": [40,176], "src": [64,8], "f": 0, "t": 24, "d": [256,1765], "a": 1 }, + { "px": [328,176], "src": [64,8], "f": 1, "t": 24, "d": [256,1801], "a": 1 }, + { "px": [368,176], "src": [64,8], "f": 0, "t": 24, "d": [256,1806], "a": 1 }, + { "px": [504,176], "src": [64,8], "f": 1, "t": 24, "d": [256,1823], "a": 1 }, + { "px": [40,184], "src": [64,8], "f": 0, "t": 24, "d": [256,1845], "a": 1 }, + { "px": [328,184], "src": [64,8], "f": 1, "t": 24, "d": [256,1881], "a": 1 }, + { "px": [368,184], "src": [64,8], "f": 0, "t": 24, "d": [256,1886], "a": 1 }, + { "px": [504,184], "src": [64,8], "f": 1, "t": 24, "d": [256,1903], "a": 1 }, + { "px": [40,192], "src": [64,8], "f": 0, "t": 24, "d": [256,1925], "a": 1 }, + { "px": [328,192], "src": [64,8], "f": 1, "t": 24, "d": [256,1961], "a": 1 }, + { "px": [368,192], "src": [64,8], "f": 0, "t": 24, "d": [256,1966], "a": 1 }, + { "px": [504,192], "src": [64,8], "f": 1, "t": 24, "d": [256,1983], "a": 1 }, + { "px": [40,200], "src": [64,8], "f": 0, "t": 24, "d": [256,2005], "a": 1 }, + { "px": [328,200], "src": [64,8], "f": 1, "t": 24, "d": [256,2041], "a": 1 }, + { "px": [368,200], "src": [64,8], "f": 0, "t": 24, "d": [256,2046], "a": 1 }, + { "px": [504,200], "src": [64,8], "f": 1, "t": 24, "d": [256,2063], "a": 1 }, + { "px": [40,208], "src": [64,8], "f": 0, "t": 24, "d": [256,2085], "a": 1 }, + { "px": [328,208], "src": [64,8], "f": 1, "t": 24, "d": [256,2121], "a": 1 }, + { "px": [368,208], "src": [64,8], "f": 0, "t": 24, "d": [256,2126], "a": 1 }, + { "px": [504,208], "src": [64,8], "f": 1, "t": 24, "d": [256,2143], "a": 1 }, + { "px": [40,216], "src": [64,8], "f": 0, "t": 24, "d": [256,2165], "a": 1 }, + { "px": [328,216], "src": [64,8], "f": 1, "t": 24, "d": [256,2201], "a": 1 }, + { "px": [368,216], "src": [64,8], "f": 0, "t": 24, "d": [256,2206], "a": 1 }, + { "px": [504,216], "src": [64,8], "f": 1, "t": 24, "d": [256,2223], "a": 1 }, + { "px": [40,224], "src": [64,8], "f": 0, "t": 24, "d": [256,2245], "a": 1 }, + { "px": [328,224], "src": [64,8], "f": 1, "t": 24, "d": [256,2281], "a": 1 }, + { "px": [368,224], "src": [64,8], "f": 0, "t": 24, "d": [256,2286], "a": 1 }, + { "px": [504,224], "src": [64,8], "f": 1, "t": 24, "d": [256,2303], "a": 1 }, + { "px": [40,232], "src": [64,8], "f": 0, "t": 24, "d": [256,2325], "a": 1 }, + { "px": [40,240], "src": [64,8], "f": 0, "t": 24, "d": [256,2405], "a": 1 }, + { "px": [48,240], "src": [64,8], "f": 1, "t": 24, "d": [256,2406], "a": 1 }, + { "px": [40,248], "src": [64,8], "f": 0, "t": 24, "d": [256,2485], "a": 1 }, + { "px": [48,248], "src": [64,8], "f": 1, "t": 24, "d": [256,2486], "a": 1 }, + { "px": [40,256], "src": [64,8], "f": 0, "t": 24, "d": [256,2565], "a": 1 }, + { "px": [48,256], "src": [64,8], "f": 1, "t": 24, "d": [256,2566], "a": 1 }, + { "px": [40,264], "src": [64,8], "f": 0, "t": 24, "d": [256,2645], "a": 1 }, + { "px": [48,264], "src": [64,8], "f": 1, "t": 24, "d": [256,2646], "a": 1 }, + { "px": [40,272], "src": [64,8], "f": 0, "t": 24, "d": [256,2725], "a": 1 }, + { "px": [48,272], "src": [64,8], "f": 1, "t": 24, "d": [256,2726], "a": 1 }, + { "px": [40,280], "src": [64,8], "f": 0, "t": 24, "d": [256,2805], "a": 1 }, + { "px": [48,280], "src": [64,8], "f": 1, "t": 24, "d": [256,2806], "a": 1 }, + { "px": [40,288], "src": [64,8], "f": 0, "t": 24, "d": [256,2885], "a": 1 }, + { "px": [48,288], "src": [64,8], "f": 1, "t": 24, "d": [256,2886], "a": 1 }, + { "px": [40,296], "src": [64,8], "f": 0, "t": 24, "d": [256,2965], "a": 1 }, + { "px": [48,296], "src": [64,8], "f": 1, "t": 24, "d": [256,2966], "a": 1 }, + { "px": [40,304], "src": [64,8], "f": 0, "t": 24, "d": [256,3045], "a": 1 }, + { "px": [48,304], "src": [64,8], "f": 1, "t": 24, "d": [256,3046], "a": 1 }, + { "px": [40,312], "src": [64,8], "f": 0, "t": 24, "d": [256,3125], "a": 1 }, + { "px": [48,312], "src": [64,8], "f": 1, "t": 24, "d": [256,3126], "a": 1 }, + { "px": [40,320], "src": [64,8], "f": 0, "t": 24, "d": [256,3205], "a": 1 }, + { "px": [48,320], "src": [64,8], "f": 1, "t": 24, "d": [256,3206], "a": 1 }, + { "px": [40,328], "src": [64,8], "f": 0, "t": 24, "d": [256,3285], "a": 1 }, + { "px": [48,328], "src": [64,8], "f": 1, "t": 24, "d": [256,3286], "a": 1 }, + { "px": [40,336], "src": [64,8], "f": 0, "t": 24, "d": [256,3365], "a": 1 }, + { "px": [48,336], "src": [64,8], "f": 1, "t": 24, "d": [256,3366], "a": 1 }, + { "px": [40,344], "src": [64,8], "f": 0, "t": 24, "d": [256,3445], "a": 1 }, + { "px": [48,344], "src": [64,8], "f": 1, "t": 24, "d": [256,3446], "a": 1 }, + { "px": [40,352], "src": [64,8], "f": 0, "t": 24, "d": [256,3525], "a": 1 }, + { "px": [48,352], "src": [64,8], "f": 1, "t": 24, "d": [256,3526], "a": 1 }, + { "px": [392,72], "src": [72,16], "f": 0, "t": 41, "d": [255,769], "a": 1 }, + { "px": [400,72], "src": [72,16], "f": 0, "t": 41, "d": [255,770], "a": 1 }, + { "px": [408,72], "src": [72,16], "f": 0, "t": 41, "d": [255,771], "a": 1 }, + { "px": [416,72], "src": [72,16], "f": 0, "t": 41, "d": [255,772], "a": 1 }, + { "px": [56,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2327], "a": 1 }, + { "px": [64,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2328], "a": 1 }, + { "px": [72,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2329], "a": 1 }, + { "px": [80,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2330], "a": 1 }, + { "px": [88,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2331], "a": 1 }, + { "px": [96,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2332], "a": 1 }, + { "px": [104,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2333], "a": 1 }, + { "px": [112,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2334], "a": 1 }, + { "px": [120,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2335], "a": 1 }, + { "px": [128,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2336], "a": 1 }, + { "px": [136,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2337], "a": 1 }, + { "px": [144,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2338], "a": 1 }, + { "px": [152,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2339], "a": 1 }, + { "px": [160,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2340], "a": 1 }, + { "px": [168,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2341], "a": 1 }, + { "px": [176,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2342], "a": 1 }, + { "px": [184,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2343], "a": 1 }, + { "px": [192,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2344], "a": 1 }, + { "px": [200,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2345], "a": 1 }, + { "px": [208,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2346], "a": 1 }, + { "px": [216,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2347], "a": 1 }, + { "px": [224,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2348], "a": 1 }, + { "px": [232,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2349], "a": 1 }, + { "px": [240,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2350], "a": 1 }, + { "px": [248,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2351], "a": 1 }, + { "px": [256,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2352], "a": 1 }, + { "px": [264,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2353], "a": 1 }, + { "px": [272,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2354], "a": 1 }, + { "px": [280,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2355], "a": 1 }, + { "px": [288,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2356], "a": 1 }, + { "px": [296,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2357], "a": 1 }, + { "px": [304,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2358], "a": 1 }, + { "px": [312,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2359], "a": 1 }, + { "px": [320,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2360], "a": 1 }, + { "px": [376,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2367], "a": 1 }, + { "px": [384,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2368], "a": 1 }, + { "px": [392,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2369], "a": 1 }, + { "px": [400,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2370], "a": 1 }, + { "px": [408,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2371], "a": 1 }, + { "px": [416,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2372], "a": 1 }, + { "px": [424,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2373], "a": 1 }, + { "px": [432,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2374], "a": 1 }, + { "px": [440,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2375], "a": 1 }, + { "px": [448,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2376], "a": 1 }, + { "px": [456,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2377], "a": 1 }, + { "px": [464,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2378], "a": 1 }, + { "px": [472,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2379], "a": 1 }, + { "px": [480,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2380], "a": 1 }, + { "px": [488,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2381], "a": 1 }, + { "px": [496,232], "src": [72,16], "f": 0, "t": 41, "d": [255,2382], "a": 1 }, + { "px": [208,296], "src": [72,16], "f": 0, "t": 41, "d": [255,2986], "a": 1 }, + { "px": [216,296], "src": [72,16], "f": 0, "t": 41, "d": [255,2987], "a": 1 }, + { "px": [344,296], "src": [72,16], "f": 0, "t": 41, "d": [255,3003], "a": 1 }, + { "px": [352,296], "src": [72,16], "f": 0, "t": 41, "d": [255,3004], "a": 1 }, + { "px": [360,296], "src": [72,16], "f": 0, "t": 41, "d": [255,3005], "a": 1 }, + { "px": [368,296], "src": [72,16], "f": 0, "t": 41, "d": [255,3006], "a": 1 }, + { "px": [392,64], "src": [72,0], "f": 0, "t": 9, "d": [254,689], "a": 1 }, + { "px": [400,64], "src": [72,0], "f": 0, "t": 9, "d": [254,690], "a": 1 }, + { "px": [408,64], "src": [72,0], "f": 0, "t": 9, "d": [254,691], "a": 1 }, + { "px": [416,64], "src": [72,0], "f": 0, "t": 9, "d": [254,692], "a": 1 }, + { "px": [48,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1606], "a": 1 }, + { "px": [56,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1607], "a": 1 }, + { "px": [64,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1608], "a": 1 }, + { "px": [72,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1609], "a": 1 }, + { "px": [80,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1610], "a": 1 }, + { "px": [88,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1611], "a": 1 }, + { "px": [96,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1612], "a": 1 }, + { "px": [104,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1613], "a": 1 }, + { "px": [112,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1614], "a": 1 }, + { "px": [120,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1615], "a": 1 }, + { "px": [128,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1616], "a": 1 }, + { "px": [136,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1617], "a": 1 }, + { "px": [144,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1618], "a": 1 }, + { "px": [152,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1619], "a": 1 }, + { "px": [160,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1620], "a": 1 }, + { "px": [168,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1621], "a": 1 }, + { "px": [176,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1622], "a": 1 }, + { "px": [184,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1623], "a": 1 }, + { "px": [192,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1624], "a": 1 }, + { "px": [200,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1625], "a": 1 }, + { "px": [208,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1626], "a": 1 }, + { "px": [216,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1627], "a": 1 }, + { "px": [224,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1628], "a": 1 }, + { "px": [232,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1629], "a": 1 }, + { "px": [240,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1630], "a": 1 }, + { "px": [248,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1631], "a": 1 }, + { "px": [256,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1632], "a": 1 }, + { "px": [264,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1633], "a": 1 }, + { "px": [272,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1634], "a": 1 }, + { "px": [280,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1635], "a": 1 }, + { "px": [288,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1636], "a": 1 }, + { "px": [296,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1637], "a": 1 }, + { "px": [304,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1638], "a": 1 }, + { "px": [312,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1639], "a": 1 }, + { "px": [320,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1640], "a": 1 }, + { "px": [376,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1647], "a": 1 }, + { "px": [384,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1648], "a": 1 }, + { "px": [392,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1649], "a": 1 }, + { "px": [400,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1650], "a": 1 }, + { "px": [408,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1651], "a": 1 }, + { "px": [416,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1652], "a": 1 }, + { "px": [424,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1653], "a": 1 }, + { "px": [432,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1654], "a": 1 }, + { "px": [440,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1655], "a": 1 }, + { "px": [448,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1656], "a": 1 }, + { "px": [456,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1657], "a": 1 }, + { "px": [464,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1658], "a": 1 }, + { "px": [472,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1659], "a": 1 }, + { "px": [480,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1660], "a": 1 }, + { "px": [488,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1661], "a": 1 }, + { "px": [496,160], "src": [72,0], "f": 0, "t": 9, "d": [254,1662], "a": 1 }, + { "px": [208,288], "src": [72,0], "f": 0, "t": 9, "d": [254,2906], "a": 1 }, + { "px": [216,288], "src": [72,0], "f": 0, "t": 9, "d": [254,2907], "a": 1 }, + { "px": [0,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3920], "a": 1 }, + { "px": [8,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3921], "a": 1 }, + { "px": [16,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3922], "a": 1 }, + { "px": [24,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3923], "a": 1 }, + { "px": [32,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3924], "a": 1 }, + { "px": [40,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3925], "a": 1 }, + { "px": [48,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3926], "a": 1 }, + { "px": [56,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3927], "a": 1 }, + { "px": [64,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3928], "a": 1 }, + { "px": [72,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3929], "a": 1 }, + { "px": [80,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3930], "a": 1 }, + { "px": [88,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3931], "a": 1 }, + { "px": [96,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3932], "a": 1 }, + { "px": [104,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3933], "a": 1 }, + { "px": [112,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3934], "a": 1 }, + { "px": [120,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3935], "a": 1 }, + { "px": [128,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3936], "a": 1 }, + { "px": [136,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3937], "a": 1 }, + { "px": [144,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3938], "a": 1 }, + { "px": [152,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3939], "a": 1 }, + { "px": [160,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3940], "a": 1 }, + { "px": [168,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3941], "a": 1 }, + { "px": [176,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3942], "a": 1 }, + { "px": [184,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3943], "a": 1 }, + { "px": [192,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3944], "a": 1 }, + { "px": [200,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3945], "a": 1 }, + { "px": [208,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3946], "a": 1 }, + { "px": [216,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3947], "a": 1 }, + { "px": [224,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3948], "a": 1 }, + { "px": [232,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3949], "a": 1 }, + { "px": [240,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3950], "a": 1 }, + { "px": [248,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3951], "a": 1 }, + { "px": [256,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3952], "a": 1 }, + { "px": [264,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3953], "a": 1 }, + { "px": [272,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3954], "a": 1 }, + { "px": [280,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3955], "a": 1 }, + { "px": [288,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3956], "a": 1 }, + { "px": [296,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3957], "a": 1 }, + { "px": [304,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3958], "a": 1 }, + { "px": [312,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3959], "a": 1 }, + { "px": [320,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3960], "a": 1 }, + { "px": [328,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3961], "a": 1 }, + { "px": [336,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3962], "a": 1 }, + { "px": [344,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3963], "a": 1 }, + { "px": [352,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3964], "a": 1 }, + { "px": [360,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3965], "a": 1 }, + { "px": [368,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3966], "a": 1 }, + { "px": [376,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3967], "a": 1 }, + { "px": [384,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3968], "a": 1 }, + { "px": [392,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3969], "a": 1 }, + { "px": [400,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3970], "a": 1 }, + { "px": [408,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3971], "a": 1 }, + { "px": [416,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3972], "a": 1 }, + { "px": [424,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3973], "a": 1 }, + { "px": [432,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3974], "a": 1 }, + { "px": [440,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3975], "a": 1 }, + { "px": [448,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3976], "a": 1 }, + { "px": [456,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3977], "a": 1 }, + { "px": [464,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3978], "a": 1 }, + { "px": [472,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3979], "a": 1 }, + { "px": [480,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3980], "a": 1 }, + { "px": [488,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3981], "a": 1 }, + { "px": [496,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3982], "a": 1 }, + { "px": [504,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3983], "a": 1 }, + { "px": [512,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3984], "a": 1 }, + { "px": [520,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3985], "a": 1 }, + { "px": [528,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3986], "a": 1 }, + { "px": [536,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3987], "a": 1 }, + { "px": [544,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3988], "a": 1 }, + { "px": [552,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3989], "a": 1 }, + { "px": [560,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3990], "a": 1 }, + { "px": [568,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3991], "a": 1 }, + { "px": [576,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3992], "a": 1 }, + { "px": [584,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3993], "a": 1 }, + { "px": [592,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3994], "a": 1 }, + { "px": [600,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3995], "a": 1 }, + { "px": [608,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3996], "a": 1 }, + { "px": [616,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3997], "a": 1 }, + { "px": [624,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3998], "a": 1 }, + { "px": [632,392], "src": [72,0], "f": 0, "t": 9, "d": [254,3999], "a": 1 }, + { "px": [424,72], "src": [64,16], "f": 1, "t": 40, "d": [253,773], "a": 1 }, + { "px": [368,160], "src": [64,16], "f": 2, "t": 40, "d": [253,1646], "a": 1 }, + { "px": [224,288], "src": [64,16], "f": 3, "t": 40, "d": [253,2908], "a": 1 }, + { "px": [376,288], "src": [64,16], "f": 3, "t": 40, "d": [253,2927], "a": 1 }, + { "px": [384,64], "src": [64,0], "f": 0, "t": 8, "d": [252,688], "a": 1 }, + { "px": [424,64], "src": [64,0], "f": 1, "t": 8, "d": [252,693], "a": 1 }, + { "px": [384,72], "src": [64,0], "f": 2, "t": 8, "d": [252,768], "a": 1 }, + { "px": [40,160], "src": [64,0], "f": 0, "t": 8, "d": [252,1605], "a": 1 }, + { "px": [328,160], "src": [64,0], "f": 1, "t": 8, "d": [252,1641], "a": 1 }, + { "px": [504,160], "src": [64,0], "f": 1, "t": 8, "d": [252,1663], "a": 1 }, + { "px": [328,232], "src": [64,0], "f": 3, "t": 8, "d": [252,2361], "a": 1 }, + { "px": [368,232], "src": [64,0], "f": 2, "t": 8, "d": [252,2366], "a": 1 }, + { "px": [504,232], "src": [64,0], "f": 3, "t": 8, "d": [252,2383], "a": 1 }, + { "px": [200,288], "src": [64,0], "f": 0, "t": 8, "d": [252,2905], "a": 1 }, + { "px": [336,288], "src": [64,0], "f": 0, "t": 8, "d": [252,2922], "a": 1 }, + { "px": [200,296], "src": [64,0], "f": 2, "t": 8, "d": [252,2985], "a": 1 }, + { "px": [224,296], "src": [64,0], "f": 3, "t": 8, "d": [252,2988], "a": 1 }, + { "px": [336,296], "src": [64,0], "f": 2, "t": 8, "d": [252,3002], "a": 1 }, + { "px": [376,296], "src": [64,0], "f": 3, "t": 8, "d": [252,3007], "a": 1 }, + { "px": [40,360], "src": [64,0], "f": 2, "t": 8, "d": [252,3605], "a": 1 }, + { "px": [48,360], "src": [64,0], "f": 3, "t": 8, "d": [252,3606], "a": 1 } + ], + "seed": 4713958, + "overrideTilesetUid": null, + "gridTiles": [], + "entityInstances": [] + }, + { + "__identifier": "background", + "__type": "IntGrid", + "__cWid": 80, + "__cHei": 54, + "__gridSize": 8, + "__opacity": 1, + "__pxTotalOffsetX": 0, + "__pxTotalOffsetY": 0, + "__tilesetDefUid": 199, + "__tilesetRelPath": "tiles.png", + "iid": "7501c360-96d0-11f1-a694-2ff9ed1b935b", + "levelId": 0, + "layerDefUid": 240, + "pxOffsetX": 0, + "pxOffsetY": 0, + "visible": true, + "optionalRules": [], + "intGridCsv": [ + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0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,0,0,0,0,0,0,0,0,0,0,0,0,0, + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 + ], + "autoLayerTiles": [], + "seed": 6363301, + "overrideTilesetUid": null, + "gridTiles": [], + "entityInstances": [] + } + ], + "__neighbours": [] + } + ], + "worlds": [], + "dummyWorldIid": "f825bc40-96d0-11f1-8ea2-21f532e70ce9" +} \ No newline at end of file diff --git a/src/level/world.ldtk.import b/src/level/world.ldtk.import new file mode 100644 index 0000000..20a6a74 --- /dev/null +++ b/src/level/world.ldtk.import @@ -0,0 +1,39 @@ +[remap] + +importer="ldtk.import" +type="PackedScene" +uid="uid://cgkcjnr8svcs2" +path="res://.godot/imported/world.ldtk-aa2550e1171e3caf6f2d1d8dd4add57c.scn" + +[deps] + +files=["res://src/level/tilesets/tileset_8px.res", "res://src/level/levels/level_0.scn", "res://.godot/imported/world.ldtk-aa2550e1171e3caf6f2d1d8dd4add57c.scn"] + +source_file="res://src/level/world.ldtk" +dest_files=["res://.godot/imported/world.ldtk-aa2550e1171e3caf6f2d1d8dd4add57c.scn", "res://src/level/tilesets/tileset_8px.res", "res://src/level/levels/level_0.scn", "res://.godot/imported/world.ldtk-aa2550e1171e3caf6f2d1d8dd4add57c.scn"] + +[params] + +World="" +group_world_layers=false +Level="" +pack_levels=true +level_save_extension=0 +Layer="" +layers_always_visible=false +Tileset="" +tileset_custom_data=false +integer_grid_tilesets=false +atlas_texture_type=0 +tileset_save_extension=0 +Entity="" +resolve_entityrefs=true +use_entity_placeholders=false +Post Import="" +tileset_post_import="" +entities_post_import="" +level_post_import="" +world_post_import="" +Debug="" +force_tileset_reimport=false +verbose_output=false diff --git a/src/player/Player.cs b/src/player/Player.cs index f4dd075..befd627 100644 --- a/src/player/Player.cs +++ b/src/player/Player.cs @@ -21,31 +21,31 @@ public sealed partial class Player : CharacterBody2D, IAttackable, IHitboxOwner, public float GroundedSpeedStopDecay { get; set; } = 0.005f; [Export(PropertyHint.None, "suffix:px/s")] - public float WalkMaxSpeed { get; set; } = 140.0f; + public float WalkMaxSpeed { get; set; } = 90.0f; [Export(PropertyHint.None, "suffix:px/s")] - public float AirMaxSpeed { get; set; } = 140.0f; + public float AirMaxSpeed { get; set; } = 90.0f; [Export(PropertyHint.None, "suffix:px/s")] - public float WaterMaxSpeed { get; set; } = 220.0f; + public float WaterMaxSpeed { get; set; } = 130.0f; [Export(PropertyHint.None, "suffix:px/s²")] - public float WalkAccel { get; set; } = 800.0f; + public float WalkAccel { get; set; } = 400.0f; [Export(PropertyHint.None, "suffix:px/s²")] - public float AirAccel { get; set; } = 600.0f; + public float AirAccel { get; set; } = 300.0f; [Export(PropertyHint.None, "suffix:px/s²")] - public float WaterAccel { get; set; } = 1200.0f; + public float WaterAccel { get; set; } = 600.0f; [Export(PropertyHint.None, "suffix:px/s")] - public float JumpAscentSpeed { get; set; } = 190.0f; + public float JumpAscentSpeed { get; set; } = 120.0f; [Export(PropertyHint.None, "suffix:px/s")] public float SlashSpeedBoost { get; set; } = 90.0f; [Export(PropertyHint.None, "suffix:px/s")] - public float DashSpeed { get; set; } = 800.0f; + public float DashSpeed { get; set; } = 400.0f; /// The angle difference from perfect left/right that still counts. [Export(PropertyHint.Range, "0,360,0.1,radians_as_degrees")] @@ -60,6 +60,7 @@ public sealed partial class Player : CharacterBody2D, IAttackable, IHitboxOwner, [Export] public bool CanTurn { get; set; } = true; [Export] public float MaxDashPoints { get; set; } = 2f; [Export] public float DashPointRate { get; set; } = 0.5f; + [Export] public float MaxStaminaPoints { get; set; } = 1f; private ulong MaxInputBufferTimeMicroseconds => (ulong)(MaxInputBufferTime * 1_000_000); public bool IsJumping => !JumpTimer.IsStopped(); @@ -78,8 +79,10 @@ public sealed partial class Player : CharacterBody2D, IAttackable, IHitboxOwner, public bool IsInWater { get; private set; } public bool IsDashing => !DashTimer.IsStopped(); public Vector2 DashDirection { get; set; } + public Vector2 WallJumpDirection { get; set; } public float DashPoints { get; set; } public float BankedDashPoints { get; set; } + public float StaminaPoints { get; set; } [Node] private AnimationTree AnimationTree { get; set; } = null!; [Node] private Area2D SubmersedSensor { get; set; } = null!; @@ -246,10 +249,14 @@ public sealed partial class Player : CharacterBody2D, IAttackable, IHitboxOwner, } // Move up while holding jump - if (!JumpTimer.IsStopped()) + if (IsJumping) { velocity.Y = -JumpAscentSpeed; } + else if (IsWallJumping) + { + velocity = WallJumpDirection * JumpAscentSpeed; + } else if (!IsOnFloor() && !IsInWater && DashTimer.IsStopped()) { velocity += GetGravity() * deltaF; @@ -312,7 +319,11 @@ public sealed partial class Player : CharacterBody2D, IAttackable, IHitboxOwner, } if (IsOnCeiling()) JumpTimer.Stop(); - if (IsOnWall()) WallJumpAllowedTimer.Start(); + if (IsOnWall() && !IsInWater) WallJumpAllowedTimer.Start(); + if (IsOnFloor() || IsInWater) + { + StaminaPoints = MaxStaminaPoints; + } } public void OnEnteredWater(Node2D body) @@ -432,9 +443,17 @@ public sealed partial class Player : CharacterBody2D, IAttackable, IHitboxOwner, GroundJump(); return true; + case { Action: Action.Jump, IsPressed: true, Direction.Y: < 0f } + when StaminaPoints >= 1f + && !WallJumpAllowedTimer.IsStopped() + && (input.Direction.X == 0f || + Mathf.Sign(input.Direction.X) != Mathf.Sign(GetWallNormal().X)): + WallClimb(); + return true; + case { Action: Action.Jump, IsPressed: true } when !WallJumpAllowedTimer.IsStopped(): - WallJump(); + WallBounce(); return true; case { Action: Action.Jump, IsPressed: true } @@ -474,17 +493,27 @@ public sealed partial class Player : CharacterBody2D, IAttackable, IHitboxOwner, JumpTimer.Start(); } - private void WallJump() + private void WallBounce() { - AdjustFacing(); + WallJumpTimer.Start(); WallJumpAllowedTimer.Stop(); JumpAllowedTimer.Stop(); - JumpTimer.Start(); var wallDirection = (float)Mathf.Sign(GetWallNormal().X); - var upwardComponent = IsInWater ? 0f : -.4f; + IsFacingRight = wallDirection > 0f; + const float upwardComponent = -0.6f; var direction = new Vector2(wallDirection, upwardComponent).Normalized(); - Velocity = direction * 200.0f; + WallJumpDirection = direction; + } + + private void WallClimb() + { + WallJumpTimer.Start(); + WallJumpAllowedTimer.Stop(); + JumpAllowedTimer.Stop(); + StaminaPoints -= 1.0f; + + WallJumpDirection = Vector2.Up; } private void JumpCut() @@ -492,7 +521,7 @@ public sealed partial class Player : CharacterBody2D, IAttackable, IHitboxOwner, if (!JumpTimer.IsStopped()) { JumpTimer.Stop(); - // Jump cut only once, if we're still moving up + // Jump cut only once if we're still moving up if (Velocity.Y < 0) Velocity *= new Vector2(1f, 0.1f); } diff --git a/src/player/attack_placeholder.tscn b/src/player/attack_placeholder.tscn index 75e1225..00a5f09 100644 --- a/src/player/attack_placeholder.tscn +++ b/src/player/attack_placeholder.tscn @@ -3,9 +3,9 @@ [node name="AttackPlaceholder" type="Polygon2D" unique_id=2118857772] color = Color(1, 1, 1, 0.54901963) offset = Vector2(0, 16) -polygon = PackedVector2Array(-32, -64, 0, -80, 32, -64, 16, -16, -16, -16) +polygon = PackedVector2Array(-16, -40, 0, -48, 16, -40, 8, -16, -8, -16) [node name="Area2D" type="Area2D" parent="." unique_id=578891655] [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Area2D" unique_id=2127841935] -polygon = PackedVector2Array(-16, 0, -32, -48, 0, -64, 32, -48, 16, 0) +polygon = PackedVector2Array(-8, 0, -16, -24, 0, -32, 16, -24, 8, 0) diff --git a/src/player/player.aseprite b/src/player/player.aseprite index 61eab89..8d54c56 100644 --- a/src/player/player.aseprite +++ b/src/player/player.aseprite @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1c912d0262690bbde6596f50349a8900490726be340c73962575e2735f2f4ab7 -size 4682 +oid sha256:1fba642eba3082e34c8e7c0723d1448e99d9b078e916eb1d5ec357d257af383d +size 3691 diff --git a/src/player/player.png b/src/player/player.png index da2d51c..133408c 100644 --- a/src/player/player.png +++ b/src/player/player.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:78c71b0a83e31a06ed17c22a21a161d6a4935d371c1b083c819904de84160ad8 -size 5319 +oid sha256:43ca081f8d39e55f435ca87c2baf6ca88f4d9ed30d553920624013165a2cafc1 +size 3892 diff --git a/src/player/player.tscn b/src/player/player.tscn index cceb1b2..cd07495 100644 --- a/src/player/player.tscn +++ b/src/player/player.tscn @@ -15,10 +15,6 @@ fill = 1 fill_from = Vector2(0.50213677, 0.50641024) fill_to = Vector2(1, 0.5363248) -[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_5f2sf"] -radius = 4.0 -height = 28.0 - [sub_resource type="RectangleShape2D" id="RectangleShape2D_qi477"] size = Vector2(4, 24) @@ -56,6 +52,9 @@ shader = SubResource("Shader_jiejy") shader_parameter/age = 0.0 shader_parameter/color_ramp = SubResource("GradientTexture1D_5f2sf") +[sub_resource type="RectangleShape2D" id="RectangleShape2D_crv7r"] +size = Vector2(6, 14) + [sub_resource type="RectangleShape2D" id="RectangleShape2D_o822w"] size = Vector2(8, 12) @@ -731,11 +730,6 @@ position = Vector2(0, -13) texture = SubResource("GradientTexture2D_2j2mp") texture_scale = 3.37 -[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=84142517] -visible = false -position = Vector2(0, -14) -shape = SubResource("CapsuleShape2D_5f2sf") - [node name="Camera2D" type="Camera2D" parent="." unique_id=1975474809] position = Vector2(0, -16) process_callback = 0 @@ -748,7 +742,7 @@ current = true [node name="Body" type="Sprite2D" parent="." unique_id=567060128] unique_name_in_owner = true texture = ExtResource("2_mf2ua") -offset = Vector2(0, -22) +offset = Vector2(0, -24) hframes = 4 vframes = 12 metadata/_aseprite_wizard_interface_config_ = { @@ -839,6 +833,11 @@ Lifetime = 0.2 OverrideMaterial = SubResource("ShaderMaterial_5f2sf") CreateAfterImages = false +[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=84142517] +visible = false +position = Vector2(0, -7) +shape = SubResource("RectangleShape2D_crv7r") + [node name="SubmersedSensor" type="Area2D" parent="." unique_id=1595680866] unique_name_in_owner = true visible = false diff --git a/src/shaders/vertex_fun.gdshaderinc b/src/shaders/vertex_fun.gdshaderinc index 0701f03..7444b95 100644 --- a/src/shaders/vertex_fun.gdshaderinc +++ b/src/shaders/vertex_fun.gdshaderinc @@ -1,8 +1,6 @@ #include "res://src/shaders/noise3D.gdshaderinc" -vec2 wobble(vec2 p, float f, float a, int o) { - float t = TIME * f; - +vec2 wobble(vec2 p, float t, float a, int o) { vec2 offset = vec2(0.0); { float mult = 1.0; diff --git a/src/ui/player_hud.tscn b/src/ui/player_hud.tscn index 6ad21de..d1d88a2 100644 --- a/src/ui/player_hud.tscn +++ b/src/ui/player_hud.tscn @@ -16,7 +16,6 @@ shader_parameter/ratios = PackedFloat32Array(0, 0, 0.765, 0) shader_parameter/empty_color = Color(0.12955844, 0.12955847, 0.12955844, 1) shader_parameter/colors = PackedColorArray(0, 0, 0, 1, 0, 0, 0, 1, 0.15294118, 0.827451, 0.79607844, 1, 0, 0, 0, 1) shader_parameter/cheat_amount = 0.0 -shader_parameter/frequency = 0.125 shader_parameter/amplitude = 1.0 [sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_wcly6"] @@ -29,7 +28,6 @@ shader_parameter/ratios = PackedFloat32Array(0, 0, 0.765, 0) shader_parameter/empty_color = Color(0.12955844, 0.12955847, 0.12955844, 1) shader_parameter/colors = PackedColorArray(0, 0, 0, 1, 0.5137255, 0.10980392, 0.3647059, 1, 0.9411765, 0.30980393, 0.47058824, 1, 1, 1, 1, 1) shader_parameter/cheat_amount = 0.15 -shader_parameter/frequency = 0.125 shader_parameter/amplitude = 1.0 [sub_resource type="ShaderMaterial" id="ShaderMaterial_1dykc"] @@ -39,7 +37,6 @@ shader_parameter/ratios = PackedFloat32Array(0, 0, 0.765, 0) shader_parameter/empty_color = Color(0.12955844, 0.12955847, 0.12955844, 1) shader_parameter/colors = PackedColorArray(0, 0, 0, 1, 0.5137255, 0.10980392, 0.3647059, 1, 0.9411765, 0.30980393, 0.47058824, 1, 1, 1, 1, 1) shader_parameter/cheat_amount = 0.15 -shader_parameter/frequency = 0.125 shader_parameter/amplitude = 1.0 [node name="PlayerHud" type="Control" unique_id=763981532] diff --git a/src/ui/poly_bar.gdshader b/src/ui/poly_bar.gdshader index c63f8ea..8a348f0 100644 --- a/src/ui/poly_bar.gdshader +++ b/src/ui/poly_bar.gdshader @@ -7,13 +7,12 @@ uniform vec3 empty_color : source_color; uniform vec3 colors[count] : source_color; uniform float cheat_amount = 0.0; -uniform float frequency = 1.0; uniform float amplitude = 1.0; #include "res://src/shaders/vertex_fun.gdshaderinc" void vertex() { - VERTEX += wobble(VERTEX / 64.0, frequency, amplitude, 1); + VERTEX += wobble(VERTEX / 64.0, floor(TIME), amplitude, 1); } void fragment() { diff --git a/src/ui/wobbly.gdshader b/src/ui/wobbly.gdshader index bfae6e8..a15e731 100644 --- a/src/ui/wobbly.gdshader +++ b/src/ui/wobbly.gdshader @@ -6,5 +6,5 @@ uniform float amplitude = 1.0; #include "res://src/shaders/vertex_fun.gdshaderinc" void vertex() { - VERTEX += wobble(VERTEX / 64.0, frequency, amplitude, 1); + VERTEX += wobble(VERTEX / 64.0, floor(TIME), amplitude, 1); }