cgePyMade with Python
cgePy is a simple to use, console-based graphics engine for python that allows many types of games.
Please install the
cgepypackage instead of forking this repl!
cgePy v6.1Recent comments (44)catbox3054 months ago
A little late on this, but I actually released cgePy as a package (
pip install cgepy) and will be putting updates on the package. I'll edit this repl soon so that it uses the package, but for now use the package in a new repl. It has bug fixes, better style, etc, so I highly recommend using it.catbox3055 months ago
this repl is dead :/catbox3055 months ago
3.3 Bug Patch
Fixed some bugs relating to
paint(). Expect more changes soon!catbox3056 months ago
40th comment heheQwertyQwerty886 months ago
hey this is actually pretty coolNirgunIsDaGoAT6 months ago
What is this?studentmrcode6 months ago
hmmmm. . . I'll check it out later, I have to do school for now.LilKid71296 months ago
how does this detect key pressescatbox3056 months ago
Important: There is currently a bug where currentlyin will never be updated in main.py (or whatever you are using.) I'll work on fixing it, in the meantime you can add a function:def cin():global currentlyinreturn currentlyin
and use it instead of currentlyin (for example,
if currently in == 7:would become
if cin() == 7:)
Note: Not sure if the
globalis necessary, but I don't want to take any chances.
Edit: The bug isn't confirmed, though I recommend you use this method anyways. Once the (supposed) bug is fixed, it will no longer be needed.YoungWriter6 months ago
Nice, I just tried it with the bug fix and it works really well!