{"id":21253255,"url":"https://github.com/critique-gaming/defold-resize-scripts","last_synced_at":"2025-03-15T05:42:32.821Z","repository":{"id":132308385,"uuid":"273445772","full_name":"critique-gaming/defold-resize-scripts","owner":"critique-gaming","description":"Script that rescales a font in all GUI files of a Defold project","archived":false,"fork":false,"pushed_at":"2020-06-27T07:24:59.000Z","size":4,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T21:11:29.380Z","etag":null,"topics":["defold"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/critique-gaming.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-19T08:37:15.000Z","updated_at":"2023-07-30T17:59:09.000Z","dependencies_parsed_at":"2023-06-16T00:00:09.212Z","dependency_job_id":null,"html_url":"https://github.com/critique-gaming/defold-resize-scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/critique-gaming%2Fdefold-resize-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/critique-gaming%2Fdefold-resize-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/critique-gaming%2Fdefold-resize-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/critique-gaming%2Fdefold-resize-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/critique-gaming","download_url":"https://codeload.github.com/critique-gaming/defold-resize-scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243690142,"owners_count":20331727,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["defold"],"created_at":"2024-11-21T03:50:57.477Z","updated_at":"2025-03-15T05:42:32.802Z","avatar_url":"https://github.com/critique-gaming.png","language":"Python","readme":"# Scripts for resizing GUIs in Defold\n\n## Setup\n\nInstall Python 3. Then:\n\n```\npip install deftree\n```\n\n## Resize fonts project-wide in Defold\n\n```\npython resize_font.py \u003cpath_to_project_root\u003e \u003cname_of_font\u003e \u003camount_to_scale\u003e\n```\n\nThis will look through all .gui files for text nodes with font `\u003cname_of_font\u003e` and\nscale them by `\u003camount_to_scale\u003e`.\n\n**This doesn't support game object labels. Feel free to submit a PR**\n\n## Resize GUI to a different design size\n\n```\npython resize_gui.py \u003cpath_to_project_root\u003e \u003camount_to_scale\u003e\n```\n\nThis will look through all .gui files and scale all measurements (position, size, slice9)\nby `\u003camount_to_scale\u003e`. Use this after you changed your project's design \nresolution and after you re-exported all the assets at the new resolution.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcritique-gaming%2Fdefold-resize-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcritique-gaming%2Fdefold-resize-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcritique-gaming%2Fdefold-resize-scripts/lists"}