Keep up-to-date with the latest changes to the Arcade library by the release notes.
Released on 2021-Nov-5
Increased pyglet’s default atlas size for text glyphs to remove text flickering and various other artifacts. This issue will be fixed in future versions of pyglet.
Fixed as issue causing all sprites to use the same texture on some Macs.
Improved doc for setting the viewport.
Released on 2021-Nov-3
Python 3.10 updates. Dependent library versions have been updated to include Python 3.10 support. All libraries appear to support 3.10 except Shapely 1.8.0 on the Windows platform. Until those binaries are released, 3.10 support for Windows is still not there.
visibleattribute has been added to this class. If set to
False, when calling
draw()on the SpriteList it will simply return and do nothing. Causing the SpriteList to not be drawn.
SpriteList now has a
lazy(bool) parameter causing it to not create internal OpenGL resources until the first draw call or until SpriteList’s
initialize()is called. This means that sprite lists and sprites can now be created in threads.
sort()method. This is identical to python’s
list.sortbut are many times faster sorting your sprites.
Removed noisy warning message when spritelists were created before the window
Fixed an issue with
insert()when trying to insert sprites past an index greater than the current length. It could cause inserted sprites to be invisible.
arcade.Sprite.visibleproperty for quickly making sprites visible/invisible. This is simply a shortcut for changing the alpha value.
Optimization: Sprites should now take ~15% less memory and be ~15% faster to create
SpriteSolidColortextures are now cached internally for better performance.
wallsparameter has been added to this class. The new intention for usage of this class is for static(non-moving) sprites to be sent to the
wallsparameter, while moving platforms should be sent to the
platformsparameter. Properly differentiating between these parameters can result in extreme performance benefits. Sprites added to
platformsare O(n) whereas Sprites added to
wallsare O(1). This has been tested with anywhere from 100 to 500k+ Sprites, and the physics engine shows no measurable difference between those scenarios.
We have also removed the ability to send a single Sprite to the
wallsparameters of this class. This is a use case which results in some improper usage and unnecessary slowdowns. These parameters will now only accept SpriteLists or an iterable such as a list containing SpriteLists. If you are currently using this functionality, you just need to add your Sprite to a SpriteList and provide that instead.
The simple platformer tutorial has already been updated to make use of this optimization.
The Scene class is now sub-scriptable, previously in order to retrieve a SpriteList from Scene, you needed to use either
Scene.get_sprite_list. We have now added the ability to access it by sub-scripting the Scene object directly, like
spritelist = my_scene["My Layer"]
on_update()method. Previously Scene only had
update(). Both of these methods simply call the corresponding one on each SpriteList, however previously you could not do this with
on_update(). The difference between these methods is that
on_update()allows passing a delta time, whereas
TileMapadditions and fixes:
When loading a Tiled map Arcade will now respect if layers are visible or not. If a layer is not visible in Tiled, the SpriteList created for it will use the new
visibleattribute to control it. This means that when creating a Scene from a TileMap, this will automatically be respected as well.
Fixed support for parallax values on layers. Currently there is no support to do anything with these out of the box, you’d need to manually pull the values and do something based on them, however previously the map would not load if the values were changed from the default. This has been fixed in pytiled-parser and we have updated our version in Arcade accordingly.
Removed a lingering debug tactic of printing the class name of custom SpriteList classes when loading a TileMap.
UIInputTextnow supports both RGB and RGBA text color
Several text related bugs have been resolved in pyglet, the underlying library we now use for text drawing. This has been a fairly time consuming task over several weeks and we hope the new pyglet based text system will stabilize from now on. Arcade is an early adopter of pyglet 2.0 currently using a pre-release
Text related functions should now have better documentation
Many docstring improvements. Initializer docstrings have now been moved to the class docstring ensuring they will always show up in the generated api docs.
Added some new sections under advanced docs related to OpenGL, textures and texture atlas
New utility function
color_from_hex_string()that will turn a hex string into a color.
Bug: Removed a lingering debug key
F12that showed the contents of the global texture atlas
Several improvements to typing and PEP-8. Plus automated tests to help keep things in good shape.
PymunkExceptionclass for throwing Pymunk errors in the Pymunk physics engine.
check_for_collision_with_lists()function will now accept any Iterable(List, Tuple, Set, etc) containing SpriteLists.
Lower level rendering API:
Fixed a problem causing Geometry / VertexArray to ignore
POINTSprimitive mode when this is set as default.
Added support for compute shaders. We support writing to textures and SSBOs (buffers). Examples can be found in
Fixed a crash when drawing with geometry shaders due to referencing a non-existent enum
Released on 2021-Sept-21
Bug fix, use a signed in as the ‘killed’ index. #965
Fix dead links on getting started page See #960
Fix some doc language that mixed function/method vocabulary. See #963
Some initial work on compute and camera shader work. Not done yet.
Fixed a bug causing the sprite geometry shader to not compile in some platforms
Fixed a bug related to texture bleeding with sprites. Texture atlases now pad the texture borders with repeating pixel data to combat this. It should make sprites look much better when scrolling, zooming and on hidpi displays. #959
Added hack for some gui text not appearing (pyglet 2.0 bug)
UIMessageBox should now respect the width and height of the widget
pixelated(bool) argument as a shortcut to setting nearest interpolation
SpriteList.draw: The arguments are now better exposed in docs
Sprite.drawnow has the same blending and interpolation argument as
Upgraded to pyglet 2.0dev9
Released on 2021-Sept-18
Support for custom classes that subclass Sprite for tiles in TileMap objects. See #942
Update PymunkPhysicsEngine to work with any direction of gravity rather than just downward. See #940
Update library versions we depend on. PIL, Pymunk, etc.
Fix the card game example code. See #951
Fix for drawing small circles not using enough segments. See #950
A lot of documentation links in the .py files were old and not updated to the RTD way, fixed now.
arcade.keywas missing from the documentation quick index. Fixed.
Fixed a rendering issue with sprites on M1 Macs
Fix caret not showing up in input box
Lots of type-hint fixes
Removed type annotations which were introduced in Python 3.8 to fix compatibility with Python 3.7 and 3.6
Fixed flickering on static drawing. See #858
Version 2.6.0 is a major update to Arcade. It is not 100% backwards compatible with the 2.5 API. Updates were made to text rendering, tiled map support, sprites, shaders, textures, GUI system, and the documentation.
Tiled Map Editor support has been overhauled.
Arcade now uses the .json file format for maps created by the Tiled Map Editor rather than the TMX format. Tile sets and other supporting files need to all be saved in .json format. The XML based formats are no longer supported by Arcade.
Arcade now supports a minimum version of Tiled 1.5. Maps saved with an older version of Tiled will likely work in most scenarios, but for all features the minimum version we can support is 1.5 due to changes in the Tiled map format.
Feature-support for Tiled maps has been improved to have near 100% parity with Tiled itself.
See Simple Platformer for a how-to, Tiled usage starts at Chapter 9.
Texture atlases have been introduced, texture management has been improved.
A sprite list will create and use its own texture atlas.
This introduces a new
arcade.TextureAtlasclass that is used internally by SpriteList.
Sprites with new textures can be added to a sprite list without the delay. Arcade 2.5 had a delay caused by rebuilding its internal sprite sheet.
As a side effect, sprites can only belong to one sprite list that renders.
The texture atlas portion of a sprite can be drawn to, and quickly updated on the GPU side.
To demonstrate, there is a new Mini-Map example that creates a sprite that has a dynamic minimap projected onto it.
Revamped text rendering done by
arcade.draw_text(). Rather than use Pillow to render onto an image, Arcade uses Pyglet’s text drawing system. Text drawing is faster, higher resolution, and not prone to memory leaks. Fonts are now specifed by the font name, rather than the file name of the font.
Fonts can be dynamically loaded with
Kenney.nl’s TTF are now included as build-in resources.
See the Drawing Text example.
Sprites now draw even faster than before. On an Intel i7 with nVidia 980 Ti graphics card, 8,000+ moving sprites can be drawn while maintaining 60 FPS. The same machine can only do 2,000 sprites with Pygame before FPS drops.
UIElements are replaced by UIWidgets
Option to relative pin widgets on screen to center or border (supports resizing)
Widgets can be placed on top of each other
Overlapping widgets properly handle mouse interaction
Fully typed event classes
Events contain source widget
ScrollableText widgets (more to come)
Support for Sprites within Widgets
Declarative coding style for borders and padding widget.with_border(…)
Automatically place widgets vertically or horizontally (UIBoxLayout)
Dropped support for YAML style files
Better performance and limited memory usage
More documentation (GUI Concepts)
UIFlatButton- 2D flat button for simple interactions (hover, press, release, click)
UILabel- Simple text, supports multiline
UIInputText- field to accept user text input
UITextArea- Multiline scrollable text widget.
UISpriteWidget- Embeds a Sprite within the GUI tree
UIBoxLayout- Places widgets next to each other (vertical or horizontal)
UIMessageBox- Popup box with a message text and a few buttons.
WIP * UIWidgets contain information about preferred sizes * UILayouts can grow or shrink widgets, to adjust to different screen sizes
There is now a new
arcade.Sceneclass that can be used to manage SpriteLists and their draw order. This can be used in place of having to draw multiple spritelists in your draw function.
Contains special integration with
arcade.Scene.from_tilemap()which will automatically create an entire scene from a loaded tilemap in the proper draw order.
See Simple Platformer for an introduction to this concept, and it is used heavily throughout that tutorial.
Add a set of functions to track performance statistics. See Performance Information.
Added the class
arcade.PerfGraph, a subclass of Sprite that will graph FPS or time to process a dispatch-able event line ‘update’ or ‘on_draw’.
Lots of individual documentation updates for commands.
The Quick API Index has been reorganized to be easier to find commands, and the individual API documentation pages have been broken into parts, so it isn’t one large monolithic page.
New tutorial for Ray-casting Shadows.
New tutorial for Shader Toy Tutorial.
Revamped tutorial: Simple Platformer.
Revamped minimap example: Mini-Map.
Moved from AWS hosting to read-the-docs hosting so we can support multiple versions of docs.
New example showing how to use the new performance statistics API: Performance Statistics
New example: GUI Widgets
New example: Flat Text Buttons
New example: OK Message Box
arcade.get_pixel()supports getting RGB and RGBA color value
arcade.get_three_color_float()Returns colors as RGB float with numbers 0.0-1.1 for each color
arcade.get_four_color_float()Returns colors as RGBA float with numbers 0.0-1.1 for each color
Better PyInstaller Support
Previously our PyInstaller hook only fully functioned on Windows, with a bit of functionality on Linux. Mac was just completely unsupported and would raise an UnimplementedError if you tried.
Now we have full out of the box support for PyInstaller with Windows, Mac, and Linux.
See Bundling a Game with PyInstaller for an example of how to use it.
The sound API remains unchanged, however general stability of the sound system has been greatly improved via updates to Pyglet.
Special thanks to:
einarf for performance improvements, texture atlas support, shader toy support, text drawing support, advice on GUI, and more.
Cleptomania for Tiled Map support, sound support, and more.
eruvanos for the original GUI and all the GUI updates.
Released on 2021-May-25
The arcade gui should now respect the current viewport
Fixed an issue with UILabel allocating large amounts of textures over time consuming a lot of memory
Fixed an issue with the initial viewport sometimes being 1 pixel too small causing some artifacts
Fixed a race condition in
Sound.stop()sometimes causing a crash
Fixed an issue in requirements causing issues for poetry
Fixed an error reporting issue when reaching maximum texture size
Arcade should now work out of the box on replit.com. We detect when arcade runs in replit tweaking various settings. One important setting we disable is antialiasing since this doesn’t work well with software rendering.
Alternative Garbage Collection of OpenGL Resources
arcade.gl.Context now supports an alternative garbage collection mode more
compatible with threaded applications and garbage collection of OpenGL resources.
OpenGL resources can only be accessed or destroyed from the same thread the
window was created. In threaded applications the python garbage collector
can in some cases try to destroy OpenGL objects possibly causing a hard crash.
This can be configured when creating the
arcade.Window passing in a new
gc_mode parameter. By default his parameter is
the default garbage collection we have in python.
"context_gc" on the other hand will move all “dead” OpenGL
Context.objects. These can be garbage collected manually
Context.gc() in a more controlled way in the the right thread.
Version 2.5.6 was released 2021-03-28
Fix issue with PyInstaller and Pymunk not allowing Arcade to work with bundling
Update some example code. Highlight PyInstaller instructions
Version 2.5.5 was released 2021-02-23
Version 2.5.4 was released 2021-02-19
Add fishy game on example page
Fix but around framebuffer creation not properly restoring active frame buffer
Fix for but where TextureRenderTarget creates FBO twice
Updated pinned version numbers for dependent libraries
Minor improvements around SpriteList list operations
Version 2.5.3 was released 2021-01-27
Fix/improve tetris example
Fix for camera2d.scroll_x
Version 2.5.2 was released 2020-12-27
Improve schedule/unschedule docstrings
Raise error if there are multiple instances of a streaming source
Fix background music example to match new sound API
Update main landing page for docs
Split sprite platformer tutorial into multiple pages
Add ‘related projects’ page
Add ‘adventure’ sample game link
Add resources for top-down tank images
Add turn-and-move example
Fix name of sandCorner_left.png
Update tilemap to error out instead of continuing if we can’t find a tile
Improve view tutorial
Generate error rather than warning if we can’t find image or sound file
Specify timer resolution in Windows
Version 2.5.1 was released 2020-12-14
Version 2.5 was released 2020-12-09
(Note, libraries Arcade depends on do not work yet with Python 3.9 on Mac. Mac users will need to use Python 3.6, 3.7 or 3.8.)
SpriteList.draw now supports a blend_function parameter. This opens up for drawing sprites with different blend modes.
Bugfix: Sprite hit box didn’t properly update when changing width or height
GUI improvements (eruvanos needs to elaborate)
Several examples was improved
Improvements to the pyinstaller tutorial
Better pin versions of depended libraries
Fix issues with simple and platformer physics engines.
Added support for tessellation shaders
arcade.Windownow takes a
gl_versionparameter so users can request a higher OpenGL version than the default
(3, 3)version. This only be used to advanced users.
Bugfix: Geometry’s internal vertex count was incorrect when using an index buffer
We now support 8, 16 and 32 bit index buffers
Optimized several draw methods by omitting
tobytes()letting the buffer protocol do the work
More advanced examples was added to
Version 2.4.3 was released 2020-09-30
Added PyInstalled hook and tutorial
ShapeLists should no longer share position between instances
GUI improvements: new UIImageToggle
Low level rendering api (arcade.gl):
ArcadeContext now has a load_texture method for creating opengl textures using Pillow.
Bug: Fixed an issue related to drawing indexed geometry with offset
Bug: Scissor box not updating when using framebuffer
Bug: Fixed an issue with pack/unpack alignment for textures
Bug: Transforming geometry into a target buffer should now work with byte offset
Bug: Duplicate sprites in ‘check_for_collision_with_list’ Issue #763
Improved docstrings in arcade.gl
Version 2.4.2 was released 2020-09-08
draw_hit_boxesnew method in
draw_pointsnow significantly faster
Added UIToggle, on/off switch
Add example showing how to do GPU transformations with the mouse
Create buttons with default size/position so size can be set after creation.
Allow checking if a sound is done playing Issue 728
Add an early camera mock-up
New example arcade.experimental.examples.3d_cube (experimental)
New example arcade.examples.camera_example
Improved UIManager.unregister_handlers(), improves multi view setup
SpriteListto actually pre-load textures
GUI code clean-up Issue 723
Update downloadable .zip for for platformer example code to match current code in documentation.
draw_pointcalculates wrong point size
Fixed draw_points calculates wrong point size
Fixed create_line_loop for thickness !=
Fixed pixel scale for offscreen framebuffers and read()
Fixed SpriteList iterator is stateful
Fix for pixel scale in offscreen framebuffers
Fix for UI tests
Fix issues with FBO binding
Cleanup Remove old examples and code
Arcade 2.4.1 was released 2020-07-13.
Arcade version 2.4 is a major enhancement release to Arcade.
Version 2.4 Major Features
Support for defining your own frame buffers, shaders, and more advanced OpenGL programming. New API in Arcade Open GL.
New support for style-able GUI elements.
PyMunk engine for platformers. See tutorial: Pymunk Platformer.
For an example of using the A-Star algorithm, see A-Star Path Finding.
Version 2.4 Minor Features
Added get_display_size() to get resolution of the monitor
Added Window.center_window() to center the window on the monitor.
Added has_line_of_sight() to calculate if there is line-of-sight between two points.
Added SpriteSolidColor class that makes a solid-color rectangular sprite.
Added SpriteCircle class that makes a circular sprite, either solid or with a fading gradient.
get_distancefunction to get the distance between two points.
Support for logging. See Logging.
Support volume and pan arguments in play_sound
Add ability to directly assign items in a sprite list. This is particularly useful when re-ordering sprites for drawing.
Support left/right/rotated sprites in tmx maps generated by the Tiled Map Editor.
Support getting tmx layer by path, making it less likely reading in a tmx file will have directory confusion issues.
Add in font searching code if we can’t find default font when drawing text.
arcade.Sprite.draw_hit_boxmethod to draw a hit box outline.
Version 2.4 Under-the-hood improvements
Simple Physics engine is less likely to ‘glitch’ out.
Anti-aliasing should now work on windows if
antialiasing=Trueis passed in the window constructor.
Major speed improvements to drawing of shape primitives, such as lines, squares, and circles by moving more of the work to the graphics processor.
Speed improvements for sprites including gpu-based sprite culling (don’t draw sprites outside the screen).
Speed improvements due to shader caching. This should be especially noticeable on Mac OS.
Speed improvements due to more efficient ways of setting rendering states such as projection.
Speed improvements due to less memory copying in the lower level rendering API.
A brand new low level rendering API wrapping OpenGL 3.3 core was added in this release. It’s loosely based on the ModernGL API, so ModernGL users should be able to pick it up fast. This API is used by arcade for all the higher level drawing functionality, but can also be used by end users to really take advantage of their GPU. More guides and tutorials around this is likely to appear in the future.
A simplified list of features in the new API:
arcade.ArcadeContextobject was introduced and can be found through the
window.ctxproperty. This object offers methods to create opengl resources such as textures, programs/shaders, framebuffers, buffers and queries. It also has shortcuts for changing various context states. When working with OpenGL in arcade you are encouraged to use
pyglet.gl. This is important as the context is doing quite a bit of bookkeeping to make our life easier.
Textureclass supporting a wide variety of formats such as 8/16/32 bit integer, unsigned integer and float values. New convenient methods and properties was also added to change filtering, repeat mode, read and write data, building mipmaps etc.
Bufferclass with methods for manipulating data such as simple reading/writing and copying data from other buffers. This buffer can also now be bound as a uniform buffer object.
Framebufferwrapper class making us able to render any content into one more more textures. This opens up for a lot of possibilities.
Programhas been expanded to support geometry shaders and transform feedback (rendering to a buffer instead of a screen). It also exposes a lot of new properties due to much more details introspection during creation. We also able to assign binding locations for uniform blocks.
A simple glsl wrapper/parser was introduced to sanity check the glsl code, inject preprocessor values and auto detect out attributes (used in transforms).
A higher level type
Geometrywas introduced to make working with shaders/programs a lot easier. It supports using a subset of attributes defined in your buffer description by inspecting the the program’s attributes generating and caching compatible variants internally.
Queryclass was added for easy access to low level measuring of opengl rendering calls. We can get the number samples written, number of primitives processed and time elapsed in nanoseconds.
Added support for the buffer protocol. When
arcade.glrequires byte data we can also pass objects like numpy array of pythons
array.arraydirectly not having to convert this data to bytes.
Version 2.4 New Documentation
New Tutorial: Pymunk Platformer
New Tutorial: Using Views for Start/End Screens
New Tutorial: Solitaire Tutorial
New Tutorial: GPU Particle Burst
Several new and updated examples on How-To Example Code
A lot of improvements to https://learn.arcade.academy
Version 2.4 ‘Experimental’
There is now an
arcade.experimental module that holds code still under
development. Any code in this module might still have API changes.
Release Date: Apr-14-2020
Release Date: Apr-9-2020
Bug Fix: Another attempt at fixing sprites with different dimensions added to same SpriteList didn’t display correctly Issue 630
Add lots of unit tests around Sprites and texture loading.
Release Date: Apr-8-2020
Bug Fix: Sprites with different dimensions added to same SpriteList didn’t display correctly Issue 630
Release Date: Apr-8-2020
Enhancement: Support more textures in a SpriteList Issue 332
Release Date: Apr-5-2020
Bug Fix: Fix procedural_caves_bsp.py
Bug Fix: Improve Windows install docs Issue 623
Release Date: Mar-31-2020
Bug Fix: Remove unused AudioStream and PlaysoundException from __init__
Remove attempts to load ffmpeg library
Add background music example
Bug Fix: Improve Windows install docs Issue 619
Add tutorial on edge artifacts Issue 418
Bug Fix: Can’t remove sprite from multiple lists Issue 621
Several documentation updates
Release Date: Mar-25-2020
Bug Fix: Fix for calling SpriteList.remove Issue 613
Bug Fix: get_image not working correctly on hi-res macs Issue 594
Bug Fix: Fix for “shiver” in simple physics engine Issue 614
Bug Fix: Fix for create_line_strip Issue 616
Bug Fix: Fix for volume control Issue 610
Bug Fix: Fix for loading SoLoud under Win64 Issue 615
Fix jumping/falling texture in platformer example
Add tests for gui.theme Issue 605
Fix bad link to arcade.color docs
Release Date: Mar-09-2020
Major enhancement to sound. Uses SoLoud cross-platform library. New features include support for sound volume, sound stop, and pan left/right.
Release Date: Feb-27-2020
Release Date: Feb-17-2020
Release Date: Feb-12-2020
Bug Fix: Calling sprite.draw wasn’t drawing the sprite if scale was 1 Issue 575
Add unit test for Issue 575
Bug Fix: Changing sprite scale didn’t cause sprite to redraw in new scale Issue 588
Add unit test for Issue 588
Enhancement: Simplify using built-in resources Issue 576
Fix for failure on on_resize(), which pyglet was quietly ignoring
rotate_pointfunction to make it more obvious it takes degrees
Release Date: Feb-08-2020
Bug Fix: Sprites weren’t appearing Issue 585
Release Date: Feb-08-2020
Bug Fix: set_scale checks height rather than scale Issue 578
Bug Fix: Window flickers for drawing when not derived from Window class Issue 579
Enhancement: Allow joystick selection in dual-stick shooter Issue 571
Test coverage reporting now working correctly with TravisCI
Improved test coverage
Improved documentation and typing with Texture class
Improve minimal View example
Release Date: Feb-01-2020
Remove scale as a parameter to load_textures because it is not unused
Add example for acceleration/friction
Release Date: Jan-30-2020
Don’t auto-update sprite hit box with animated sprite
Fix issues with sprite.draw
Improve error message given when trying to do a collision check and there’s no hit box set on the sprite.
Release Date: Jan-30-2020
Backwards Incompatability: arcade.Texture no longer has a scale property. This property made things confusing as Sprites had their own scale attribute. This seemingly small change required a lot of rework around sprites, sprite lists, hit boxes, and drawing of textured rectangles.
Include all the things that were part of 2.2.8, but hopefully working now.
Bug Fix: Error when calling Sprite.draw() Issue 570
Enhancement: Added Sprite.draw_hit_box to visually draw the hit box. (Kind of slow, but useful for debugging.)
Release Date: Jan-28-2020
Roll back to 2.2.7 because bug fixes in 2.2.8 messed up scaling
Release Date: Jan-27-2020
Version number now contained in one file, rather than three.
Enhancement: Move several GitHub-listed enhancements to the .rst enhancement list
Bug Fix: Texture scale not accounted for when getting height Issue 516
Bug Fix: Issue with text cut off if it goes below baseline Issue 515
Enhancement: Allow non-cached texture creation, fixing issue with resizing Issue 506
Enhancement: Physics engine supports rotation
Bug Fix: Need to better resolve collisions so sprite doesn’t get hyper-spaces to new weird spot Issue 569
Bug Fix: Hit box not getting properly created when working with multi-texture player sprite. Issue 568
Bug Fix: Issue with text_sprite and anchor y of top Issue 567
Bug Fix: Issues with documentation
Release Date: Jan-25-2020
Enhancement: Have draw_text return a sprite Issue 565
Enhancement: Improve speed when changing alpha of text Issue 563
Enhancement: Add dual-stick shooter example Issue 301
Bug Fix: Fix for Pyglet 2.0dev incompatability Issue 560
Bug Fix: Fix broken particle_systems.py example Issue 558
Enhancement: Added mypy check to TravisCI build Issue 557
Enhancement: Fix typing issues Issue 537
Enhancement: Optimize load font in draw_text Issue 525
Enhancement: Reorganize examples
Bug Fix: get_pixel not working on MacOS Issue 539
Release Date: Jan-20-2020
Bug Fix: particle_fireworks example is not running with 2.2.5 Issue 555
Bug Fix: Sprite.pop isn’t reliable Issue 531
Enhancement: Raise error if default font not found on system Issue 432
Enhancement: Add space invaders clone to example list Issue 526
Enhancement: Add sitemap to website
Enhancement: Improve performance, error handling around setting a sprite’s color
Enhancement: Implement optional filtering parameter to SpriteList.draw Issue 405
Enhancement: Return list of items hit during physics engine update Issue 401
Enhancement: Update resources documentation Issue 549
Enhancement: Add on_update to sprites, which includes delta_time Issue 266
Enhancement: Close enhancement-related github issues and reference them in the new Enhancement List.
Release Date: Jan-17-2020
Release Date: Jan-15-2020
Enhancement: Moving sprites now 20% more efficient.
Release Date: Jan-12-2020
Bug fix: Hit boxes not getting updated with rotation and scaling. Issue 548 This update depricates Sprite.points and instead uses Sprint.hit_box and Sprint.get_adjusted_hit_box
Major internal change around not having
import *but specifically name everything. Issue 537 This rearranded a lot of files and also reworked the quickindex in documentation.
Release Date: Jan-09-2020
Bug fix: Arcade assumes tiles in tileset are same sized Issue 550
Release Date: Dec-22-2019
Bug fix: Resource folder not included in distribution Issue 541
Release Date: Dec-19-2019*
Major Enhancement: Add built-in resources support Issue 209 This also required many changes to the code samples, but they can be run now without downloading separate images.
Major Enhancement: Auto-calculate hit box points by trimming out the transparency
Major Enhancement: Sprite sheet support for the tiled map editor works now
load_spritesheetfor loading images from a sprite sheet
Enhancement: Updates to physics engine to better handle non-rectangular sprites
Enhancement: Add SpriteSolidColor class, for creating a single-color rectangular sprite
Enhancement: Add font_color to gui.TextButton init Issue 521
Enhancement: Improve error messages around loading tilemaps
Bug fix: Turn on vsync as it sometimes was limiting FPS to 30.
Bug fix: get_tile_by_gid() incorrectly assumes tile GID cannot exceed tileset length Issue 527
Bug fix: Tiles in object layers not placed properly Issue 536
Bug fix: Typo when loading font Issue 518
Add robots.txt to documentation
Please also update pyglet, pyglet_ffmpeg2, and pytiled_parser libraries.
Special tanks to Jon Fincher, Mr. Gallo, SirGnip, lubie0kasztanki, and EvgeniyKrysanoc for their contributions to this release.
Fix: Default font sometimes not pulling on mac Issue 488
Documentation updates, particularly around examples for animated characters on platformers
Fix to Sprite class to better support character animation around ladders
Fix: Error when importing arcade on Raspberry Pi 4 Issue 485
Fix: Transparency not working in draw functions Issue 489
Fix: Order of parameters in draw_ellipse documentation Issue 490
Raise better error on data classes missing
Lots of code cleanup from SirGnip Issue 484
New code for buttons and dialog boxes from wamiqurrehman093 Issue 476
Fix: Linked to wrong version of Pyglet Issue 467
Added pytiled-parser as a dependency in setup.py
New file reader for tmx files http://arcade.academy/arcade.html#module-arcade.tilemap
Add new view switching framework http://arcade.academy/examples/index.html#view-management
Fix and Re-enable TravisCI builds https://travis-ci.org/pvcraven/arcade/builds
New: Collision methods to Sprite Issue 434
Fix: make_circle_texture Issue 431
Fix: Points drawn as triangles rather than rects Issue 429
Fix: Fix screen update rate issue Issue 424
Fix: Typo Issue 422
Put in exampel Kayzee game
Fix: Add links to PyCon video Issue 414
Fix: Docstring Issue 409
Fix: Typo Issue 403
Thanks to SirGnip, Mr. Gallow, and Christian Clauss for their contributions.
Fix: Unable to specify path to .tsx file for tiled spritesheet Issue 360
Fix: TypeError: __init__() takes from 3 to 11 positional arguments but 12 were given in text.py Issue 373
Fix: Test create_line_strip Issue 379
Fix: TypeError: draw_rectangle_filled() got an unexpected keyword argument ‘border_width’ Issue 385
Fix: See about creating a localization/internationalization example Issue 391
Fix: Glitch when you die in the lava in 09_endgame.py Issue 392
Fix: No default font found on ArchLinux and no error message (includes patch) Issue 402
Fix: Update docs around batch drawing and array_backed_grid.py example Issue 403
Add example code from lixingque
Fix: Drawing primitives example broke in prior release Issue 365
Update: Improve automated testing of all code examples Issue 326
Update: raspberry pi instructions, although it still doesn’t work yet
Fix: Some buffered draw commands not working Issue 368
Remove yml files for build environments that don’t work because of OpenGL
Update requirement.txt files
Fix mountain examples
Better error handling when playing sounds
Remove a few unused example code files
Fix for drawing with a border width of 1 Issue 352
Version 2.0.2 was compiled off the wrong branch, so it had a bunch of untested code. 2.0.3 is what 2.0.2 was supposed to be.
Turn on multi-sampling so lines could be anti-aliased Issue 325
Lots of improvements in 2.0.0. Too many to list, but the two main improvements:
Using shaders for sprites, making drawing sprites incredibly fast.
Using ffmpeg for sound.
Fix for Issue 275 where sprites can get blurry.
Bux fix for spatial hashing
Implement commands for getting a pixel, and image from screen
Bug fixes for spatial hashing and sound.
Issue 159: Fix array backed grid buffer example
Issue 177: Kind of fix issue with gi sound library
Issue 180: Fix up API docs with sound
Issue 198: Add start of isometric tile support
Issue 210: Fix bug in MacOS sound handling
Issue 213: Update code with gi streamer
Issue 214: Fix issue with missing images in animated sprites
Issue 216: Fix bug with venv
Issue 222: Fix get_window when using a Window class
Issue 184: For sound, wav, mp3, and ogg should work on Linux and Windows. wav and mp3 should work on Mac.
Add happy face drawing example
Link the class methods in the quick index to class method documentation
Add mountain midpoint displacement example
Add “Two Worlds” example game
sprite_collect_coints_move_down.pyto not use
sprite_bullets_aimed.pyto add a warning about how to manage text on a scrolling screen
Issue 194: Fix for calculating distance traveled in scrolling examples
Update quick-links on homepage of http://arcade.academy
Update Sprite class documentation
Update copyright date to 2018
Update PyMunk example code to use keyboard constants rather than hard-coded values
New sample code showing how to avoid placing coins on walls when randomly placing them
Improve listing/organization of sample code
Work at improving sample code, specifically try to avoid using
Add PyMunk platformer sample code
Unsuccessful work at getting TravisCI builds to work
Add new sample for using shape lists
Create sample code showing difference in speed when using ShapeLists.
Issue 182: Use explicit imports in sample PyMunk code
Improve sample code for using a graphic background
Improve collect coins example
New sample code for creating caves using cellular automata
New sample code for creating caves using Binary Space Partitioning
New sample code for explosions
Issue 173: JPGs not included in examples
Issue 171: Clean up sprite list code
Issue 170: Unusually high CPU
Issue 84: Allow quick running via -m
Issue 149: Need better error message with check_for_collision
Issue 151: Need example showing how to go between rooms
Issue 152: Standardize name of main class in examples
Issue 154: Improve GitHub compatibility
Issue 155: Improve readme documentation
Issue 156: Clean up root folder
Issue 162: Add documentation with performance tips
Issue 164: Create option for a static sprite list where we don’t check to see if things moved.
Issue 165: Improve error message with physics engine
Issue 147: Fix bug building documentation where two image files where specified incorrectly
Issue 146: Add release notes to documentation
Issue 144: Add code to get window and viewport dimensions
Issue 139: Add documentation on what
Issue 131: Add example code on how to do full-screen games
Issue 113: Add example code showing enemy turning around when hitting a wall
Issue 67: Improved support and documentation for joystick/game controllers