{"id":15519117,"url":"https://github.com/i80and/gamekit","last_synced_at":"2025-11-11T23:37:32.593Z","repository":{"id":18202672,"uuid":"21334004","full_name":"i80and/gamekit","owner":"i80and","description":"Miniature graphics library for Python with no dependencies","archived":false,"fork":false,"pushed_at":"2014-08-22T00:52:20.000Z","size":168,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T20:12:42.836Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/i80and.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-29T22:56:42.000Z","updated_at":"2014-06-29T23:34:06.000Z","dependencies_parsed_at":"2022-07-26T21:32:05.182Z","dependency_job_id":null,"html_url":"https://github.com/i80and/gamekit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/i80and/gamekit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i80and%2Fgamekit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i80and%2Fgamekit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i80and%2Fgamekit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i80and%2Fgamekit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/i80and","download_url":"https://codeload.github.com/i80and/gamekit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i80and%2Fgamekit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":283950016,"owners_count":26921648,"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","status":"online","status_checked_at":"2025-11-11T02:00:06.610Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-02T10:20:18.475Z","updated_at":"2025-11-11T23:37:32.563Z","avatar_url":"https://github.com/i80and.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"GameKit\n=======\nGameKit is a miniature graphics library for Python with no dependencies, outside\nof an intact (including tkinter) Python installation.  This may be useful for\ngetting started with a project quickly with no fuss, or if you want to deploy\nonto systems without having to ship dependencies.\n\nMostly, it's just a test to see how capable Tkinter is out-of-the-box.  The\nanswer is: not very, but you can fudge it if you're OK with dog-slow performance,\nno alpha channel (bitmask transparency is OK), and just using GIF files.\n\nDon't expect tests or real documentation.  The code is very small, at least,\nso there isn't much going on.\n\nPrerequisites\n=============\nTechnically none other than Python and a working graphics system.  On Debian and\nUbuntu, you may have to execute\n  $ sudo apt-get install python3-tk\n\nDocumentation\n=============\nThere are a few important classes in GameKit:\n  * Point\n  * Game\n  * Thing\n    * Text\n    * MovingThing\n  * Camera\n\nGame\n----\n`Game` is the basic entry point for your code.  It has 4 methods that should be\ndefined in your subclass:\n  * `init()` is called after the window is opened and Tk is ready.\n    This may be useful for loading sprites and creating entities.\n  * `update()` is called at each tick of the mainloop (around every\n    16 ms) before the screen is cleared and the redraw phase begins.\n  * `draw(camera)` is called after the screen is cleared, and is responsible for\n    repopulating the canvas.\n  * `input(event)` is called whenever an input event occurs.\n\nExamples\n========\nSee `demo1.py` for a demonstration of how to use GameKit.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fi80and%2Fgamekit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fi80and%2Fgamekit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fi80and%2Fgamekit/lists"}