Skip to content
Open navbar menu
Sign UpLog In
Profile icon

catbox305

@catbox305
Small developer primarily focusing on Python. Also the creator of the "cgepy" library, which allows for GUIs inside the console.
GitHub
  • cgePy

    Cover page
    Made with Python

    cgePy 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)
    catbox305
    catbox305
    4 months ago

    package 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.

    catbox305
    catbox305
    5 months ago

    this repl is dead :/

    catbox305
    catbox305
    5 months ago

    3.3 Bug Patch

    Fixed some bugs relating to paint(). Expect more changes soon!

    catbox305
    catbox305
    6 months ago

    40th comment hehe

    QwertyQwerty88
    QwertyQwerty88
    6 months ago

    hey this is actually pretty cool

    NirgunIsDaGoAT
    NirgunIsDaGoAT
    6 months ago

    What is this?

    studentmrcode
    studentmrcode
    6 months ago

    hmmmm. . . I'll check it out later, I have to do school for now.

    LilKid7129
    LilKid7129
    6 months ago

    how does this detect key presses

    catbox305
    catbox305
    6 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 currentlyin
    return currentlyin

    and use it instead of currentlyin (for example, if currently in == 7: would become if 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.

    YoungWriter
    YoungWriter
    6 months ago

    Nice, I just tried it with the bug fix and it works really well!

Repls
Community
All Repls