{"id":22045683,"url":"https://github.com/commanderfoo/core-image-to-template","last_synced_at":"2025-03-23T14:17:11.956Z","repository":{"id":54016392,"uuid":"323424825","full_name":"CommanderFoo/Core-Image-To-Template","owner":"CommanderFoo","description":"Convert images to template file that can be dragged and dropped into your template folder (not editor directly). ","archived":false,"fork":false,"pushed_at":"2021-03-10T10:28:11.000Z","size":395,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-28T20:24:40.987Z","etag":null,"topics":["coregames"],"latest_commit_sha":null,"homepage":"https://popthosepringles.github.io/Core-Image-To-Template/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CommanderFoo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-21T19:05:40.000Z","updated_at":"2021-03-10T10:28:14.000Z","dependencies_parsed_at":"2022-08-13T06:01:09.774Z","dependency_job_id":null,"html_url":"https://github.com/CommanderFoo/Core-Image-To-Template","commit_stats":null,"previous_names":["commanderfoo/core-image-to-template"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CommanderFoo%2FCore-Image-To-Template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CommanderFoo%2FCore-Image-To-Template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CommanderFoo%2FCore-Image-To-Template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CommanderFoo%2FCore-Image-To-Template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CommanderFoo","download_url":"https://codeload.github.com/CommanderFoo/Core-Image-To-Template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245111881,"owners_count":20562511,"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":["coregames"],"created_at":"2024-11-30T13:14:42.057Z","updated_at":"2025-03-23T14:17:11.913Z","avatar_url":"https://github.com/CommanderFoo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Pixel Art Images -\u003e Core Templates\n---\n\u0026nbsp;\n\nhttps://popthosepringles.github.io/Core-Image-To-Template/\n\n\u0026nbsp;\n\nCreating Pixel Art in [Core](https://coregames.com) is a very time consuming process.  Currently you can't import images, so to create Pixel Art you need to use planes and painstakingly position each one.\n\nWith this tool you select an image (ideally pixel art, though higher resolution images will work), and a template will be generated for you that can be dropped into your templates folder.\n\nWe use a few methods to help with editor performance and runtime performance.\n\n- Maximal Rectangle Algorithm\n\t\n\tTries to merge rectangles of pixels of the same color together so that 1 pixel is not always 1 plane in the editor.  This is our editor solution to help reduce object count.\n\n- Mesh Merge\n\n\tWith the release of Mesh Merge, we can combine objects together so that at runtime they become 1 object.  We handle wrapping all the pixels (planes) in a mesh merge folder so that when you enter play mode the pixel art is reduced to 1 object.  This is great for runtime performance which now opens up the doors for pixel art style games.\n---\n\n## Examples\n\nBelow are a few examples of what can be done with the tool.\n\n![](images/preview1.png) ![](images/preview2.png)\n![](images/preview3.png) ![](images/preview4.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommanderfoo%2Fcore-image-to-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcommanderfoo%2Fcore-image-to-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommanderfoo%2Fcore-image-to-template/lists"}