{"id":18743945,"url":"https://github.com/kerodekroma/python-pygame-loader","last_synced_at":"2026-02-23T04:15:36.510Z","repository":{"id":222056957,"uuid":"756135780","full_name":"kerodekroma/python-pygame-loader","owner":"kerodekroma","description":"Free loader asset to use it in your personal project ","archived":false,"fork":false,"pushed_at":"2024-07-29T03:03:17.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-02T17:27:13.181Z","etag":null,"topics":["free-assets","game-dev","game-develop","game-development","pygame","python"],"latest_commit_sha":null,"homepage":"https://kerodekroma.itch.io/python-pygame-loader","language":"Python","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/kerodekroma.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-02-12T02:48:26.000Z","updated_at":"2024-09-10T16:32:50.000Z","dependencies_parsed_at":"2024-02-12T04:23:58.914Z","dependency_job_id":"168ee860-6728-4f9f-b305-0d9406c1d269","html_url":"https://github.com/kerodekroma/python-pygame-loader","commit_stats":null,"previous_names":["kerodekroma/python-pygame-loader"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/kerodekroma/python-pygame-loader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kerodekroma%2Fpython-pygame-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kerodekroma%2Fpython-pygame-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kerodekroma%2Fpython-pygame-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kerodekroma%2Fpython-pygame-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kerodekroma","download_url":"https://codeload.github.com/kerodekroma/python-pygame-loader/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kerodekroma%2Fpython-pygame-loader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28850353,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T15:15:36.453Z","status":"ssl_error","status_checked_at":"2026-01-28T15:15:13.020Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["free-assets","game-dev","game-develop","game-development","pygame","python"],"created_at":"2024-11-07T16:13:13.715Z","updated_at":"2026-01-28T19:34:31.774Z","avatar_url":"https://github.com/kerodekroma.png","language":"Python","readme":"# Python Pygame Loader\n\n[![CI](https://github.com/kerodekroma/python-pygame-loader/actions/workflows/build_pygame.yml/badge.svg)](https://github.com/kerodekroma/python-pygame-loader/actions/workflows/build_pygame.yml/badge.svg)\n\nThis is the demo of the loader of python and pygame. LIVE DEMO LINK: https://kerodekroma.itch.io/python-pygame-loader\n\n## Install Dependencies\n\n```bash\npip install pygame pygbag\n```\n\n## Run the demo\n\nOnce you download this repo and their dependencies are available, run this command\n\n```bash\npython main.py\n```\n\n## Usage\n\nThese steps are part of a single intro of how to add in your code, you can find further details in the `main.py` file:\n\n```py\nfrom atlas_spritesheet import AtlasSpritesheet\n```\n\nThen you can just declare the proper class with the asset when your game starts\n\n```py\n    file_path = 'assets/python-pygame-loader/python-pygame-loader'\n    '''\n    this constructor method needs 3 params:\n    - the .png file where is located the spritesheet of the animation\n    - the .json file where is located the metadata of the spritesheet\n    - the scale of the sprite, you can reduce/enlarge the sprite\n    '''\n    loader_spritesheet = AtlasSpritesheet(f'{file_path}.png', f'{file_path}.json', 4)\n    '''\n    the `setup` method needs 3 params:\n    - the coords to show the animation\n    - the frame rate of it, or how many FPS must run the animation itself\n    - If the animation must be repeated or not\n    '''\n    self.loader_spritesheet.setup((0, 0), 20, True)\n```\n\nFinally, you can play the animation it into the game loop:\n\n```py\n    loader_spritesheet.play(my_main_creen)\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkerodekroma%2Fpython-pygame-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkerodekroma%2Fpython-pygame-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkerodekroma%2Fpython-pygame-loader/lists"}