catbox305
cgePy
Made with PythoncgePy is a simple to use, console-based graphics engine for python that allows many types of games.
Please install the
cgepy
package instead of forking this repl!
cgePy v6.1
Recent comments (44)catbox3054 months agopackage release
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 agothis repl is dead :/
catbox3055 months ago3.3 Bug Patch
Fixed some bugs relating to
paint()
. Expect more changes soon!catbox3056 months ago40th comment hehe
QwertyQwerty886 months agohey this is actually pretty cool
NirgunIsDaGoAT6 months agoWhat is this?
studentmrcode6 months agohmmmm. . . I'll check it out later, I have to do school for now.
LilKid71296 months agohow does this detect key presses
catbox3056 months agoImportant: 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 currentlyinand use it instead of currentlyin (for example,
if currently in == 7:
would becomeif cin() == 7:
)Note: Not sure if the
global
is 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 agoNice, I just tried it with the bug fix and it works really well!