{"id":23547030,"url":"https://github.com/drincs-productions/renpygame","last_synced_at":"2026-01-24T21:14:52.417Z","repository":{"id":65816733,"uuid":"600571246","full_name":"DRincs-Productions/Renpygame","owner":"DRincs-Productions","description":"Renpygame is a framework that allows pygame games to be integrated with Ren'Py. It's intended for people who are capable programmers.","archived":false,"fork":false,"pushed_at":"2024-01-29T15:15:46.000Z","size":5774,"stargazers_count":11,"open_issues_count":7,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-26T09:14:17.060Z","etag":null,"topics":["game-development","minigame","pygame","pygame-games","pygame-into-renpy","renpy","renpy-game","renpy-minigame","renpygame","sdl2"],"latest_commit_sha":null,"homepage":"https://drincs-website.web.app","language":"Ren'Py","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/DRincs-Productions.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-02-11T22:30:52.000Z","updated_at":"2024-12-18T10:54:06.000Z","dependencies_parsed_at":"2023-10-17T00:13:23.383Z","dependency_job_id":null,"html_url":"https://github.com/DRincs-Productions/Renpygame","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DRincs-Productions%2FRenpygame","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DRincs-Productions%2FRenpygame/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DRincs-Productions%2FRenpygame/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DRincs-Productions%2FRenpygame/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DRincs-Productions","download_url":"https://codeload.github.com/DRincs-Productions/Renpygame/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239278538,"owners_count":19612329,"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":["game-development","minigame","pygame","pygame-games","pygame-into-renpy","renpy","renpy-game","renpy-minigame","renpygame","sdl2"],"created_at":"2024-12-26T09:14:18.573Z","updated_at":"2025-11-01T10:30:27.356Z","avatar_url":"https://github.com/DRincs-Productions.png","language":"Ren'Py","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Renpygame\n\n**IMPORTANT**: This is a continuation of a project not mine, abandoned from 2008 [Renpygame](https://renpy.org/wiki/renpy/frameworks/Renpygame) (not working). Currently compared to 2008, it is not possible to directly use the [pygame_sdl2](https://github.com/renpy/pygame_sdl2) library, especially to \"draw\".\n\n\n\nRenpygame is a framework that allows pygame games to be integrated with Ren'Py. It's intended for people who are capable programmers.\n\nThe idea is to create a library that uses [pygame_sdl2](https://github.com/renpy/pygame_sdl2) and overrides functions that can be handled by the [renpy](https://github.com/renpy/renpy) library.\n\nThe big problem is that the mode for drawing is very different. The only way I found was to use [CDD](https://www.renpy.org/doc/html/cdd.html) and use that events to draw and update an element.\n\nUse of events to draw limits a lot -\u003e you can't create loops to update a renpy.Displayable -\u003e that's why you can't copy and paste a game, but modify it slightly.\n\n![ezgif com-video-to-gif](https://user-images.githubusercontent.com/67595890/236701292-d36a5f0f-d4e8-4e53-8671-a79fd903786b.gif)\n\n----\n\n## TO DOWNLOAD THIS TEST PROJECT\n```shell\n# Basic command to download projects from git\ngit clone https://github.com/DRincs-Productions/Renpygame\n# IMPORTANT -\u003e Will add the libraries needed to run the program\ncd Renpygame\ngit submodule update --init --recursive\n\n```\n----\n\n## Other minigames\n\n(Add topics `renpygame` to add it to the list)    \nhttps://github.com/topics/renpygame\n\n## Instructions\n\n**[Wiki](https://github.com/DRincs-Productions/Renpygame/wiki)**\n\n## Why use pygame-renpygame and not renpy-CDD?\n\npygame-renpygame's pros:\n\n- You can use pygame and renpy functions\n- huge number of minigames on github\n- popularity (pygame is also often used in universities)\n- typification (I am endeavouring to add the type everywhere)\n\nrenpy's pros:\n\n- durability ([CDD](https://www.renpy.org/doc/html/cdd.html) is developed by the same developer as renpy)\n- you can create simple and effective effects on images thanks to [Transforms](https://www.renpy.org/doc/html/transforms.html) (in the future it could also be integrated into Renpygame)\n\n## Performance\n\n([in development](https://github.com/DRincs-Productions/Renpygame/issues/10))\n\n(I don't made any tests for now) Renpygame use [CDD](https://www.renpy.org/doc/html/cdd.html) for draw and renpy for open a file, but I use a typification and is a external library. So, the performance is the same as renpy, excluding possible implementation errors.\n\n\n## Insert Toolkit in your project\n\nI recommend the following ways to include it in your project:\n\n- [**Pull branch**](#pull-branch) (to **insert** it into your game and **update** it easily)\n- [**Fork**](https://docs.github.com/en/get-started/quickstart/fork-a-repo) (to improve the repo or create a Toolkit based on mine)\n- [Manually](https://github.com/DRincs-Productions/Renpygame/releases) (not recommended)\n\n### Pull branch\n\nTo **insert** or **update** the Toolkit in your repo with Pull branch I recommend the following procedure:\n\n(only if you want to insert the repo) Create a new empty branch, in the example I'll use **renpygame**\n\n```shell\ngit checkout -b renpygame\ngit checkout renpygame\ngit config pull.rebase false\ngit pull https://github.com/DRincs-Productions/Renpygame.git tool-only --allow-unrelated-histories\ngit submodule update --remote\n\n```\n\nAt the end make a merge inside the arm of the project.\n\n## Supported Modules\n\nA good number of functions should already work even if they have not yet been tested\n\n- [ ] renpygame.color\n- [x] renpygame.constants (Still to be tested, should already be working)\n- [x] renpygame.cursors (Still to be tested, should already be working)\n- [ ] renpygame.display (Incomplete)\n- [x] renpygame.display.Surface\n- [x] renpygame.draw\n- [x] renpygame.event (Still to be tested, should already be working)\n- [ ] renpygame.font\n- [ ] renpygame.image (Incomplete)\n- [ ] renpygame.joystick\n- [ ] renpygame.key (Incomplete)\n- [x] renpygame.locals (Still to be tested, should already be working)\n- [ ] renpygame.mixer (Incomplete)\n- [ ] renpygame.mixer.music (Incomplete)\n- [x] renpygame.mouse (Still to be tested, should already be working)\n- [x] renpygame.rect\n- [ ] renpygame.sprite (Incomplete)\n- [x] renpygame.time (Still to be tested, should already be working)\n- [ ] renpygame.transform (Incomplete)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrincs-productions%2Frenpygame","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrincs-productions%2Frenpygame","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrincs-productions%2Frenpygame/lists"}