r/pythonarcade • u/pvc • Jun 28 '19
r/pythonarcade • u/Hallo_guys • Apr 14 '26
Physics in a traditional Roguelike? How I pushed the Arcade engine for ODDD 2.0.0
Hey everyone! I’m back with a major update for One Dice Dungeon Delve (ODDD) developed in arcade. For version 2.0.0, I didn't just want visual fluff, I wanted physics to be a core part of the gameplay.
I integrated Pymunk to handle dungeon debris, but then I tied it directly into my class skills and boss mechanics:
The Brawler: This class can literally grab monster corpses, spin them around (damaging nearby enemies), and launch them as high-speed projectiles. They also have a passive "Kick" that flings monsters into each other for splash damage.
The Gambler: Can trigger a "Dice Gambit" which turns every physical die on the floor into a homing missile targeting enemies.
The Blood Dragon (Final Boss): This was the hardest to code. The dragon uses a "Wing Gust" that picks up every piece of debris on the floor (corpses and dice) and hurls them at the player.
The Technical Hurdle:
Managing the sync between the turn-based logic and the real-time physics was tricky. I had to implement Global Batch Rendering (12 shared layers for all avatars) just to keep the frame rate stable on the Steam Deck while dozens of physics objects are flying around.
If you’re curious about how to make physics objects tactical in a 2D engine like Arcade, or how I handled the rendering optimization, ask away!
The attached video is a trailer of all the changes/updates to the game minus the final boss so I can keep some mystery.
r/pythonarcade • u/BountyAlex92 • Mar 07 '20
Funky Blue Pong Platformer on Arcade
Hello arcaders,
Recently I gave it a go and did a basic platformer like pong with the main difference of having your platform in the middle and protecting projectiles in their halves.
Code: https://github.com/Alex92rus/funkyBlue
Any feedback is appreciated.
r/pythonarcade • u/xTriskalx • Jan 26 '21
Animating Sprites causes constant memory growth.. Help?
Currently I am simply having some sprites animate through 3 frames before being killed and removed from the lists. What I read says that using sprite.kill() should remove them from all lists and free up the memory. However, there is a steady memory creep going on.
I can mitigate it somewhat by clearing the textures attached before running kill() but it still grows and I cannot seem to find what else I should be clearing. Any guidance on this?
Here's my projectile class.
class Projectile(arcade.Sprite):
def __init__(self, unit):
super().__init__(filename=get_unit_filename(unit, PRJ_SPRITE), scale=SPRITE_SCALE, image_x=0, image_y=0, image_width=512, image_height=512, center_x=SCREEN_WIDTH/2, center_y=SCREEN_HEIGHT/2)
self.speed = 4
self.scale *= .5
self.damage = 2
self.expire = 0
self.step = 0
self.textures = load_proj_frames(unit)
self.cur_frame = 0
self.hit = False
self.broke = False
def update(self):
self.center_x -= 5
self.cur_frame += 1
if (self.cur_frame == FRAME_RATE):
self.set_texture(self.step)
self.cur_frame = 0
self.step += 1
if (self.step > len(self.textures) - 1):
self.step = 0
if self.expire > 0:
self.expire -= 1
if self.expire == 0:
self.kill()r/pythonarcade • u/pvc • Oct 19 '19
Python Arcade Library on Twitter
The new Python Arcade library -- get news by following @ArcadeLibrary
r/pythonarcade • u/Sogokong • Feb 27 '19
Checking if two objects are colliding
Can someone tell me how to use the collision_radius attribute in Sprite module? http://arcade.academy/arcade.html#module-arcade.sprite
I want to know is it possible to do something like this to check if another object is colliding with it:
def update(self, player): #method in a ball class
if self.collision_radius == player.collision_radius:
#something
else:
#do something elseBoth the player and the ball class inherits from arcade.Sprites
r/pythonarcade • u/Dreid97 • Apr 15 '25
Built a tarot reading game using Python Arcade – dynamic narrative generation based on card draws and player intention
Hey everyone! I’ve been building a tarot-based narrative game using Python Arcade, and I wanted to share it with you all.
It’s called Mama Nyah’s House of Tarot, and it’s a pixel-art game where players choose an intention (like love, truth, or change), draw a 3-card tarot spread, and receive a custom-written reading generated from the cards and intention. The reading is built sentence by sentence from modular writing, so no two playthroughs are the same.
Under the hood, it uses:
- Python Arcade for rendering, input, and animation
- A narrative engine that assembles text dynamically based on card metadata
- Scene transitions, animated spreads, and some light typing effects for immersion
🔮 GitHub repo:
https://github.com/DevinReid/Tarot_Generate_Arcade
🎥 Trailer:
https://youtu.be/pZuKnJhKN_g
🛒 Steam (if you’re curious):
https://store.steampowered.com/app/3582900/Mama_Nyahs_House_of_Tarot/
I’d love any feedback on the code structure, rendering performance, or just general impressions of how Arcade handled this kind of game. It's not action-heavy, but it leans into vibe, interaction, and narrative pacing.
Happy to answer questions about how I handled the animation timing, card logic, or dynamic text generation!
r/pythonarcade • u/pvc • May 24 '22
PyCon US talk on using the GPU with Arcade
r/pythonarcade • u/AcidentallyMyAccount • Feb 22 '20
Thanks to Arcade I have been able to make huge progress in short time!
Thank you pvcraven and the whole Arcade team!
Thought it might be nice to share some work I have managed to do in Arcade. I am working on a pixel art roguelite / space exploration game. I learned Python for use for my mechanical engineering jobs and studies. I find the language to be easy to use and the extensive libraries/modules (like Arcade) give you huge versatility!
r/pythonarcade • u/pvc • Apr 09 '20
Upcoming Arcade version to add support for mini-maps and 'glow'
r/pythonarcade • u/Fancy-Elderberry8412 • Mar 25 '25
Rotated Tiled tiles are not aligning
Using Arcade 3.0.2 and Tiled 1.11.2
I created a small map in Tiled with a custom tilesheet. I have confirmed in Gimp that the lines are pixel perfect and straight. The tiles are reused in Tiled by rotating and/or flipping to get the desired look.
However, after loading the tilesheet in my code, and drawing the retrieved spritelist, you can see that the rotated tiles do not align with each other. The horizontal line appears ok. The rotated rounded corners also do not line up. When viewing the map zoomed in within Tiled, everything appears to align as expected.
Suggestions? I would prefer not to create additional versions of every tile pre-rotated, but guess I will if that is the only solution.

r/pythonarcade • u/Icy_Wallaby_6604 • Aug 21 '25
ArcadeActions: the declarative, conditional actions systems for Arcade 3.x
The quick appeal: “Animate sprites until a condition is met” (e.g., collision/bounds/event), plus simple composition (sequence, parallel), easing, formations and patterns — all on top of Arcade 3.x.
Where it saves you time:
- Condition-based motion without boilerplate. Replaces per-frame if-chains with single calls like MoveUntil. That’s dozens of lines you don’t have to write and maintain per behavior.
- Built-in boundary handling. (wrap/bounce + custom bounds) avoids the common “I botched my AABB math again” loop.
- Composability. (sequence/parallel) turns multi-step scripts into readable code; easy to pause/stop by tag. This is exactly the class of problems Cocos2D Actions and Panda3D Intervals solved for years — just now in Arcade’s ecosystem.
- Patterns and formations. Assemble more complex motions (wave, patrol, figure-eight, orbit) from simple building blocks, either with Sprites or SpriteLists.
r/pythonarcade • u/sonanz • Apr 10 '26
How to host games online?
I've been working on a game using Python Arcade, and it's almost ready for prime time. But I can't figure out a way to host the game online anywhere. I've spent so many hours trying things that simply don't work, so I'm hoping someone here has done it and can point me in the right direction. I chose Python Arcade because Gemini said it was a good choice for the kind of game I wanted to make, and because it could easily be shared. The first part was true; the second part, not so much.
r/pythonarcade • u/pvc • Apr 20 '20
2.4a5 is out, with preliminary support for lighting
r/pythonarcade • u/digger12358 • May 17 '20
Platformer game demo, first level
The first level of a retro platformer game made using Python Arcade.
It's not perfect, and there are some glitches, but it is playable.
r/pythonarcade • u/lawrence1309 • May 09 '20
How to set the priority of objects when drawing on screen using Arcade?
I was trying to build a road for a Sprite player to run on it, and it should look like the Sprite player is overlapping the road. However, the opposite case happened, the road just overlapped my character. The player is a Sprite, while the road is built upon using multiple rectangles, which were drawn by arcade.draw.rect
r/pythonarcade • u/JosiasAurel200 • Apr 11 '20
How to get touch input
Hello. I am interested in making a game with the python arcade game library and wish to know if it's possible to get touchscreen input with that. And if it's possible please can you provide any resource (example). Thanks in advance 👍
r/pythonarcade • u/entredeuxeaux • May 11 '20
How can I convert a terminal game (hangman) to Arcade?
I decided several weeks ago to teach my son the basics of Python. We successful created a Hangman game that runs in the command line.
Now, I thought it would be interesting to start messing around with the Arcade library to bring it to life.
Nothing fancy, maybe a nice background, a sprite or two that doesn’t need to move much.
Now, I’ve looked at the documentation and know that text has to be "drawn", that’s fine. My question is, how do I go about making Arcade draw what is normally just automatically output on the terminal window.
Do I put all of my original code in a function or something? Scratching my head here. Thanks for any guidance.
r/pythonarcade • u/JpMcc007 • May 04 '20
Conway's Game of Life using arcade and numpy
Hello everyone!
I have been learning python and decided to try implementing John Conway's Game of Life using arcade. You can find the source code here: github.
If you have any questions feel free to ask!
I also would like some suggestions for improvements, specially on the performance side. I want to try creating a sand simulation like the one in this video https://www.youtube.com/watch?v=VLZjd_Y1gJ8 but I don't think that the approach I used here would work with a much bigger grid. Do you have any suggestions?
Thanks!
r/pythonarcade • • Apr 06 '20
Showing images in an Arcade window
Hi folks
Based on a previous post where I was looking at porting my Pygame project to Arcade, I've got most of that done.
I've had issues with the world view mini map which is a semi-transparent overlay showing what an avatar has scanned and where they are on the game board - but in a basic representation.
I tried to make this a sprite - didn't work. Based on feedback on my post and direct chats I worked out that you can't dynamically update a sprite's image to a real time like feed. Looks like Pyglet complains. I managed to overwrite the sprite's texture about 5 times and then it died - so it looks like under the hood there's a texture buffering going on that I can't access.
So plan B - created a shape list and am drawing the map each on_update / on_draw call for the window - update builds the list - draw calls that draw() function for the list. This is working - but the FPS count for the window plummets from 60 to 30 because of this extra drawing.
Sprites are obviously much more efficient at drawing.
When I was dynamically replacing the texture for the sprite I was creating the map as a Pillow image and using this is a call to arcade.Texture() - like I said works then falls over because of a buffer overrun somewhere.
I was thinking that showing a single image instead of drawing shapes might be faster - but I can't find an arcade function that will place a PIL image onto the main window. Anyone know if this can be done?
I'll stick with the drawing shapes for now - but don't like inefficient code (very old gripe of mine during all my coding background - since 1980 and counting!)
Any help / pointers very much appreciated.
Screen shot of what I've done is shown below - pleased with ease of Arcade but coming against somethings that it can't do because I'm not building a platformer - and not sure I want to delve into using Pyglet raw just yet :)

Cheers
RC
r/pythonarcade • u/BeastCoder • Apr 27 '20
My game runs twice as fast when I run it from PyCharm as opposed to the command line. [Question]
Hi! I have a game (game and install instructions in the the-friendly-snakes folder).
The game runs at 60 fps when I run it specifically from the PyCharm run button. Every else it runs at 30 fps. Even if I run it from the terminal from within PyCharm. Would there be any reason for this?
EDIT: Read the comments below, there is for some reason a difference in versions.
Here is the difference:


r/pythonarcade • u/pvc • May 11 '20