Edit of asset "Easy Zip" Accepted
Old/Current | New/Edit | |
---|---|---|
Title | Easy Zip | Easy Zip |
Description |
Easily zip a bunch of files for save games or level editors! Support images, nodes, resources, and built in types like dictionaries. **API** ```gd # Write files by passing as a zip, with names as file paths. Zip.write("user://slot0.save", {"state.var": {"score": 10, "name": "player"}, "scene.scn": get_tree().current_scene(), "screen.jpg": screenshot }) # Append works the same but without erasing data. Zip.append() # Automatically snaps, shrinks, and appends to the file. Zip.write_screenshot("user://slot.zip", get_viewport()) # Automatically converts bytes to the appropriate format. # .tscn and .scn will come back as a PackedScene. Zip.read("user://slot.zip", "screen.jpg") # Get a list paths that match the head and tail. Zip.get_files("user://slot0.save", "", ".png") # Remove a list of files. Zip.remove("user://custom_map.map", ["area1.scn", "area2.scn"]) ``` **Check the README for more details.** |
Easily zip a bunch of files for save games or level editors! Support images, nodes, resources, and built in types like dictionaries. **API** ```gd # Write files by passing as a zip, with names as file paths. Zip.write("user://slot0.save", {"state.var": {"score": 10, "name": "player"}, "scene.scn": get_tree().current_scene(), "screen.jpg": screenshot }) # Append works the same but without erasing data. Zip.append() # Automatically snaps, shrinks, and appends to the file. Zip.write_screenshot("user://slot.zip", get_viewport()) # Automatically converts bytes to the appropriate format. # .tscn and .scn will come back as a PackedScene. Zip.read("user://slot.zip", "screen.jpg") # Get a list paths that match the head and tail. Zip.get_files("user://slot0.save", "", ".png") # Remove a list of files. Zip.remove("user://custom_map.map", ["area1.scn", "area2.scn"]) ``` **Check the README for more details.** |
Category | Tools | Tools |
License | MIT | MIT |
Repository Provider | GitHub | GitHub |
Repository Url | https://github.com/chairfull/GodotEasyZip | https://github.com/chairfull/GodotEasyZip |
Issues Url | https://github.com/chairfull/GodotEasyZip/issues | https://github.com/chairfull/GodotEasyZip/issues |
Godot version | Godot 4.3 | Godot 4.3 |
Version String | 1.0 | 1.0 |
Download Commit | af595a0ed38bf67c7c7bf4d9f149df20312c03bb | af595a0ed38bf67c7c7bf4d9f149df20312c03bb |
Download Url (Computed) | https://github.com/chairfull/GodotEasyZip/archive/af595a0ed38bf67c7c7bf4d9f149df20312c03bb.zip | https://github.com/chairfull/GodotEasyZip/archive/af595a0ed38bf67c7c7bf4d9f149df20312c03bb.zip |
Icon Url |
https://github.com/chairfull/GodotEasyZip/raw/main/addons/zip/EasyZipLogo.jpg
|
https://github.com/chairfull/GodotEasyZip/raw/main/addons/zip/EasyZipLogo.jpg
|