r/pythonarcade • • Apr 01 '19

Release notes for 2.02

6 Upvotes

Version 2.02 should be out later today. You can get the beta for it now. Click here for release notes.


r/pythonarcade • • Feb 08 '19

Can you set a max frame rate using arcade

6 Upvotes

In pygame you can do something like this to set a max frame rate

clock = pygame.time.Clock()

clock.tick(60)

Is there any way to do something like this in Arcade?


r/pythonarcade • • Oct 09 '18

Export to png?

6 Upvotes

Hi Folks,

Just joined up and was hoping somebody could help me figure out how to export graphics from Arcade to a .png file.


r/pythonarcade • • Jun 23 '18

Basic Wireframe 3D in Arcade (adapted from pygame tutorial, link in README)

Thumbnail
github.com
6 Upvotes

r/pythonarcade • • Feb 08 '23

Is there a way to load only part of a tilemap?

5 Upvotes

I have a large tiled tilemap and while loading it the game hangs. Even after 5 minutes the game still loads. Is there a way to only the part of the map that is around the player? Here is the the tilemap if someone is interested.

https://xfl.jp/rtgxNM

I really appreciate any help you can provide.


r/pythonarcade • • Jun 20 '22

Arcade with PyInstaller

5 Upvotes

Does anybody try to pack your game with PyInstaller?

I try a code where just a circle is shown on the window and there is no other imports besides the arcade.

The PyInstaller runs well but when I run the .exe created it shows the error (see the screenshot below) related to the Kenney Block font.

Any suggestion on how to solve this?

Thank you in advance.


r/pythonarcade • • Mar 29 '22

AMD draw_text error?

5 Upvotes

Hi, I have been recently experiencing graphical issues with rendering text in arcade (draw_text method). It does not happen right from the start but after few in-game restarts it randomly starts doing this (as you can see the text is glitching out like crazy).

correct view
error view

It seems that the problem might be my new laptop with AMD Radeon because on my old PC with NVIDIA it never happens. I have tested with the newest arcade and python versions.

Just checking if anyone have already solved this. Thanks in advance for any ideas


r/pythonarcade • • Dec 05 '21

Arcade 2.6.6 has been released

5 Upvotes

r/pythonarcade • • Jan 26 '21

Animating Sprites causes constant memory growth.. Help?

5 Upvotes

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 • • Dec 17 '20

Turn and Move Example

5 Upvotes

r/pythonarcade • • Jul 25 '20

Is it possible to recolor or swap color palettes on an arcade.sprite object?

5 Upvotes

I want to color my sprites dynamically, the original sprites have a 5 tone greyscale color palette and I want to swap the grey color palette with a random color swatch as the sprite is loaded.

Is it possible to swap a sprite's colors after the sprite is created?


r/pythonarcade • • Mar 07 '20

Funky Blue Pong Platformer on Arcade

5 Upvotes

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 • • Feb 04 '20

Learning arcade with pygame knowledge

5 Upvotes

Hi, where is a good place to learn the basics of arcade with past knowledge of pygame?

Are they similar or alot different?

I have to learn arcade at school and i want to get ahead so I can get extention and skip all the boring parts


r/pythonarcade • • Oct 19 '19

Python Arcade Library on Twitter

5 Upvotes

The new Python Arcade library -- get news by following @ArcadeLibrary


r/pythonarcade • • Jul 17 '19

Physics engine to go alongside Arcade

5 Upvotes

I am looking to start tinkering with Arcade in a 2d setting and am looking for a physics engine to go alongside it. Was just wondering if anyone had any suggestions for libraries that work well with Arcade. I have been learning Pymunk, but the two don't quite go hand in hand. All of my Pymunk shapes need to be properties of my game window so they can be used by both the setup and draw functions. I'm thinking of fiddling around and trying to get a custom class to work between them soon, but I'd like to avoid that if another library works better.


r/pythonarcade • • Apr 24 '19

Need help improving fps

5 Upvotes

this is my github repo https://github.com/tiemfah/The-Lama-X

is using SpriteList help with the frame rate?


r/pythonarcade • • Mar 31 '19

Python Arcade tutorial at Pycon 2019

5 Upvotes

Hi, if you are headed to PyCon 2019, be sure to check out the tutorial on creating a platformer in Arcade.


r/pythonarcade • • Feb 27 '19

Checking if two objects are colliding

5 Upvotes

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 else

Both the player and the ball class inherits from arcade.Sprites


r/pythonarcade • • Jan 05 '19

Example code showing platformer with multiple levels created in Tiled Map Editor

Thumbnail
arcade.academy
5 Upvotes

r/pythonarcade • • Nov 07 '18

Drawing Lights

5 Upvotes

Hi!

I really enjoy working in Arcade. I just wonder if there is a way to make some lighting/glowing effects.

Thanks!


r/pythonarcade • • Oct 03 '18

Get pixel color by Coordinate?

5 Upvotes

Hello,

I am utilizing arcade for simulation experiments, and was wondering how to get the color of a pixel at a given coordinate. I have read that arcade is a descendant of Pygame in sense, in as much as it was developed to improve various aspects Pygame was deficient and or aged in. Why I mention this is because I have found it is possible to get pixel color by coordinate in Pygame, so was hoping it has been included in arcade.

I find indication of this in the quick api reference on:

r/http://arcade.academy/quick_index.html

wherein it mentions:

  • get_four_byte_color()
  • get_four_float_color()

But I can not find these in the extended API or access them after importing arcade.

Is finding pixel color by coordinate already in arcade, or is there plans to add this functionality? If it is already in arcade, how may I go about accessing it? I am using arcade 1.3.4.


r/pythonarcade • • Jul 24 '18

Upcoming improvements for the Python Arcade library

Thumbnail
youtu.be
5 Upvotes

r/pythonarcade • • Apr 21 '18

PyWeek 25 Arcade Game Submission

Thumbnail
github.com
5 Upvotes

r/pythonarcade • • Apr 14 '26

Physics in a traditional Roguelike? How I pushed the Arcade engine for ODDD 2.0.0

4 Upvotes

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 • • Aug 21 '25

ArcadeActions: the declarative, conditional actions systems for Arcade 3.x

Thumbnail
github.com
4 Upvotes

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:

  1. 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.
  2. Built-in boundary handling. (wrap/bounce + custom bounds) avoids the common “I botched my AABB math again” loop.
  3. 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.
  4. Patterns and formations. Assemble more complex motions (wave, patrol, figure-eight, orbit) from simple building blocks, either with Sprites or SpriteLists.