{"id":15899159,"url":"https://github.com/prozi/pixi-tiled-utils","last_synced_at":"2025-03-20T18:30:42.456Z","repository":{"id":34968180,"uuid":"193164177","full_name":"Prozi/pixi-tiled-utils","owner":"Prozi","description":"PIXI.js Tiled utilities","archived":false,"fork":false,"pushed_at":"2025-01-22T09:07:10.000Z","size":1964,"stargazers_count":5,"open_issues_count":8,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-26T05:47:06.776Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/Prozi.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":"2019-06-21T21:53:28.000Z","updated_at":"2022-10-10T01:04:16.000Z","dependencies_parsed_at":"2024-10-06T10:11:23.394Z","dependency_job_id":"dbe6ebee-f758-432f-bc91-9c2ee9e698b0","html_url":"https://github.com/Prozi/pixi-tiled-utils","commit_stats":{"total_commits":35,"total_committers":6,"mean_commits":5.833333333333333,"dds":0.4,"last_synced_commit":"7c3b8f53bf910dbba60338e647fdf24ee67ffa29"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prozi%2Fpixi-tiled-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prozi%2Fpixi-tiled-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prozi%2Fpixi-tiled-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prozi%2Fpixi-tiled-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Prozi","download_url":"https://codeload.github.com/Prozi/pixi-tiled-utils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244077843,"owners_count":20394354,"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":[],"created_at":"2024-10-06T10:11:19.087Z","updated_at":"2025-03-20T18:30:42.155Z","avatar_url":"https://github.com/Prozi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PIXI.js Tiled utilities\n\n## Documentation\n\nstate: poor but whole\n\n\u003chttps://prozi.github.io/pixi-tiled-utils\u003e\n\n## Some information from author\n\n- Before you import you have to have window.PIXI defined\n\n- When you import this library you get PIXI.Tiled helper\n\n## Whats inside the helper\n\n- FullscreenApplication\n\nwhich extends PIXI.Application and adds autoresize\nand canvas of full width and height of window\n\n- World\n\n```js\nconst PIXI = require(\"pixi.js\");\nconst tu = require(\"pixi-tiled-utils\");\nconst app = new tu.FullscreenApplication();\nconst json = {\n  // json you get from Tiled application\n  backgroundcolor: \"#656667\",\n  height: 4,\n  layers: [],\n  nextobjectid: 1,\n  orientation: \"orthogonal\",\n  properties: [\n    {\n      name: \"mapProperty1\",\n      type: \"string\",\n      value: \"one\",\n    },\n    {\n      name: \"mapProperty2\",\n      type: \"string\",\n      value: \"two\",\n    },\n  ],\n  renderorder: \"right-down\",\n  tileheight: 32,\n  tilesets: [\n    {\n      // at least one tileset is required for tiled-utils\n    },\n  ],\n  tilewidth: 32,\n  version: 1,\n  tiledversion: \"1.0.3\",\n  width: 4,\n};\nconst tileset = new PIXI.Sprite();\n\napp.world = new PIXI.Tiled.World();\napp.world.create(json, tileset).then((world) =\u003e {\n  app.stage.addChild(world);\n\n  console.log(`world has ${app.stage.children.length} children`);\n});\n```\n\nsee live: \u003chttps://codepan.net/gist/9cb3058fd8c27d346bdcc97f440a3c35\u003e\n\n- TextureExtractor\n\nUseful if you want to slice a spritesheet\n\n- utils\n\nSome internally used utils that might or not be useful (just exported them because of reasons)\n\n---\n\n(c) 2019 Jacek Pietal, License: MIT\n\nby players for players\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprozi%2Fpixi-tiled-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprozi%2Fpixi-tiled-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprozi%2Fpixi-tiled-utils/lists"}