Skip to content
Sign UpLog In
Profile icon

catbox305

@catbox305
  • cgePy

    Cover page
    Made with Python

    cgePy is a simple to use, console-based graphics engine for python that allows many types of games.


    cgePy 3.2.2 Check README.md for additional info.

    Recent comments (37)
    ShadowedMonkey
    ShadowedMonkey
    6 days ago

    What is this?

    studentmrcode
    studentmrcode
    10 days ago

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

    LilKid7129
    LilKid7129
    10 days ago

    how does this detect key presses

    catbox305
    catbox305
    10 days 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
    15 days ago

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

    catbox305
    catbox305
    15 days ago

    Alr yall, I fixed the bug where going off the edge crashes the engine, enjoy ;) edit - tbh idk why i didn't do it sooner, I guess my priorities are more in developing the template.

    GLiQue
    GLiQue
    16 days ago

    Coool, but going down crashes image

    YoungWriter
    YoungWriter
    16 days ago

    Cool. I'm not sure if there's a way to fix it, but if I go to the edge and try to move further in that direction it gives me a list assignment index out of range error. Maybe you could use an if statement or loop to detect if it's out of range, so that it doesn't crash the game but instead gives a message saying, "You can't go there". Over all really impressive for python.

    Tovtovim
    Tovtovim
    16 days ago

    a

    MaxNeish
    MaxNeish
    16 days ago

    Noice

Repls
Community
catbox305
catbox305
published a Repl
11 days ago
0
reaction time test but it's just an embed
reaction time test but it's just an embedlol
catbox305
catbox305
published an Update
19 days ago
1
replit tutorials: fan edition
replit tutorials: fan editionalr. just a warning that this is some pretty messy code. Welcome to Replit Tutorials! Can you find all the endings? Original game by @TheCodingGuy23 Play here: https://replit.com/@TheCodingGuy23/replit-tutorials-find-all-the-endings
more endings
go ahead. find them.
#python
#games
#replit
catbox305
catbox305
published an Update
19 days ago
1
replit tutorials: fan edition
replit tutorials: fan editionalr. just a warning that this is some pretty messy code. Welcome to Replit Tutorials! Can you find all the endings? Original game by @TheCodingGuy23 Play here: https://replit.com/@TheCodingGuy23/replit-tutorials-find-all-the-endings
more endings + bug fix
I added like 2 or 5 more endings Have fun finding them..! Hint: tip
catbox305
catbox305
published a Repl
19 days ago
1
replit tutorials: fan edition
replit tutorials: fan editionalr. just a warning that this is some pretty messy code. Welcome to Replit Tutorials! Can you find all the endings? Original game by @TheCodingGuy23 Play here: https://replit.com/@TheCodingGuy23/replit-tutorials-find-all-the-endings
catbox305
catbox305
go ahead. find them.19 days ago
TheCodingGuy23
TheCodingGuy23
its good19 days ago
catbox305
catbox305
published a Repl
21 days ago
0
 cgePy branch 3.1.2 1a
cgePy branch 3.1.2 1adev beta of cgepy now an official version -=- cgePy 3.1.2 b1a Now cgePy 3.2 Check README.md for additional info.
catbox305
catbox305
published a Repl
1 month ago
0
PyPaint
PyPaintPyPaint is an artwork application in Python that doesn't use any packages like Turtle. Paint in multiple colors, move your brush up and down, and draw anything! Now with save slots, you can have up to three different paintings at a time! (beta) cgePy 2.2.1 (tweaked) menu engine 3.0 (tweaked) Check README.md for additional info.
catbox305
catbox305
published a Repl
2 months ago
0
reverse reverse Flappy
reverse reverse FlappyReverse reverse Flappy (jumpy birds not flappy pipes)
catbox305
catbox305
published an Update
2 months ago
1
Flappy Bird
Flappy BirdFlappy bird, in python, made with cge! (catbox's graphics engine 2.1) Also, this is pretty hard to play, but whatever. This is actually text based lol. The graphics are well, another story.
Bot Update
Added an bot feature that plays the game for you - you will have to fork the game and change flap("") to flap("auto") in order to use it. Edit - I actually forgot to disable it before rolling out the update, soooo....
catbox305
catbox305
published an Update
2 months ago
1
Flappy Bird
Flappy BirdFlappy bird, in python, made with cge! (catbox's graphics engine 2.1) Also, this is pretty hard to play, but whatever. This is actually text based lol. The graphics are well, another story.
Bug Fix
Forgot to clear pipes instantly, so there it is.
catbox305
catbox305
published an Update
2 months ago
1
Flappy Bird
Flappy BirdFlappy bird, in python, made with cge! (catbox's graphics engine 2.1) Also, this is pretty hard to play, but whatever. This is actually text based lol. The graphics are well, another story.
A couple polishes
Just added some finishing touches
catbox305
catbox305
published a Repl
2 months ago
1
Flappy Bird
Flappy BirdFlappy bird, in python, made with cge! (catbox's graphics engine 2.1) Also, this is pretty hard to play, but whatever. This is actually text based lol. The graphics are well, another story.
catbox305
catbox305
Just added some finishing touches2 months ago
catbox305
catbox305
Forgot to clear pipes instantly, so there it is.2 months ago
catbox305
catbox305
published a Repl
2 months ago
0
Get the squares! [TWO PLAYER]
Get the squares! [TWO PLAYER]2p version of a game I made. p1 uses WASD p2 uses IJKL don't go off the grid. also, this game can be wonky sometimes.
catbox305
catbox305
published an Update
2 months ago
0
Get the squares!
Get the squares!this program lets you move a white square around a 5x5 grid using WASD cover as many red squares as you can! i will update it every now and then whatever you do, don't let the debug counter go into the negatives. it can break the game (patch soon maybe) changelog: 1.0: created repl 2.0 added scoring 3.0 added colors pt 1 4.0 added colors pt 2 5.0 i forget 6.0 details pt 1
6.0 could take a while
i might not update for a long time BUT i might update soon. Who knows?
catbox305
catbox305
published an Update
2 months ago
0
Get the squares!
Get the squares!this program lets you move a white square around a 5x5 grid using WASD cover as many red squares as you can! i will update it every now and then whatever you do, don't let the debug counter go into the negatives. it can break the game (patch soon maybe) changelog: 1.0: created repl 2.0 added scoring 3.0 added colors pt 1 4.0 added colors pt 2 5.0 i forget 6.0 details pt 1
5.0
update 5.0
catbox305
catbox305
published an Update
2 months ago
0
Get the squares!
Get the squares!this program lets you move a white square around a 5x5 grid using WASD cover as many red squares as you can! i will update it every now and then whatever you do, don't let the debug counter go into the negatives. it can break the game (patch soon maybe) changelog: 1.0: created repl 2.0 added scoring 3.0 added colors pt 1 4.0 added colors pt 2 5.0 i forget 6.0 details pt 1
Color Update! (pt 2)
and ~10 minutes later another update rolls out lol i might do a color update part 3 anyways whatever
catbox305
catbox305
published an Update
2 months ago
0
Get the squares!
Get the squares!this program lets you move a white square around a 5x5 grid using WASD cover as many red squares as you can! i will update it every now and then whatever you do, don't let the debug counter go into the negatives. it can break the game (patch soon maybe) changelog: 1.0: created repl 2.0 added scoring 3.0 added colors pt 1 4.0 added colors pt 2 5.0 i forget 6.0 details pt 1
Color Update! (pt 1)
I've added color to the game! Pt 2 is coming out soon.
catbox305
catbox305
published a Repl
2 months ago
0
Get the squares!
Get the squares!this program lets you move a white square around a 5x5 grid using WASD cover as many red squares as you can! i will update it every now and then whatever you do, don't let the debug counter go into the negatives. it can break the game (patch soon maybe) changelog: 1.0: created repl 2.0 added scoring 3.0 added colors pt 1 4.0 added colors pt 2 5.0 i forget 6.0 details pt 1
catbox305
catbox305
update 5.02 months ago
catbox305
catbox305
i might not update for a long time BUT i might update soon. Who knows?2 months ago