Cleptomania
Repos
15
Followers
10

Events

Ability to parse map from already loaded files

Currently we are only capable of accepting a file path to parse the map. Instead we should add the ability to pass an already parsed JSON, or a raw JSON string for example. This may have some implications for how we find the tileset files for external tilesets. What is likely is that the user will have to define any external tilesets to the parse function, in a dictionary that maps the tileset to whatever it’s filepath in the map object is.

Tiled stores the reference to tileset and image objects as relative to the map file, so one solution is to also accept a filepath alongside this and use that instead of deriving the parent directory of the map file.

Created at 14 hours ago
issue comment
module 'arcade' has no attribute 'create_text'

This is a bug in Arcade, however I doubt we will fix it in a 2.6 release. It is already fixed in our upcoming 2.7 development branch.

In the meantime, you can use import arcade instead of from arcade import *. In general doing a full static import of a package is somewhat considered bad practice as you lose the ability to namespace functions/classes

@einarf __init__.__all__ does still contain a reference to this, which is why it’s being triggered from the static import.

Created at 3 days ago
issue comment
Documentation: Add guide on taking screenshots & recordings

FYI for Linux I’ve used Flameshot for a long, it’s really powerful for still screenshots(unsure if it works on Wayland or with XWayland), doesn’t cover video recording but is one of the better desktop environment independent tools I’ve used on Linux for screenshots

Created at 4 days ago
issue comment
Can't set update_interval

Hi, thanks for the report. We actually already discovered this issue previously, and it has since been fixed in our development branch and will be part of an upcoming 2.7 release.

This happens because of the underlying event loop in Pyglet, in Pyglet this system changed to accepting a parameter for the draw rate, and defaults to 1 / 60(aka 60 FPS). Prior to the version of Pyglet used in Aracde 2.6, it would simply run it as fast as possible. We missed the change in behavior during the original 2.6 release of Arcade.

In the development branch of Arcade, the way to handle this is by setting the draw_rate parameter of the Window constructor, however since this doesn't exist in Arcade 2.6, a work-around is to call pyglet.app.run(1 / 120) instead of calling arcade.run(), this example should give you an FPS limit of 120. The arcade run function is just a wrapper over top of the Pyglet one.

It would be possible to backport this draw_rate parameter to a 2.6 version of Arcade, but I'm unsure if that is going to happen right now or not, as we are approaching the 2.7 release.

Let me know if the workaround above works for you, if it doesn't you can also optionally install Arcade from the development branch here on Github and use the new draw_rate parameter(though there are potentially other breaking changes you may need to handle with using 2.7, depending on what all your application uses).

Created at 5 days ago
pull request opened
Support for Tiled 1.9 via pytiled-parser 2.2.0

This upgrades pytiled-parser to version 2.2.0 which gives us support for Tiled 1.9 as there were breaking changes introduced in both the TMX and JSON map formats in Tiled 1.9.

This will support both pre and post 1.9 formats. Prior to these changes, users would need to save maps/tilesets in 1.8 compatibility mode within Tiled for them to properly load within Arcade.

Created at 2 weeks ago

Support for Tiled 1.9 via pytiled-parser 2.2.0

Created at 2 weeks ago
create branch
Cleptomania create branch tiled-backports
Created at 2 weeks ago
delete branch
Cleptomania delete branch tiled-backports
Created at 2 weeks ago
create branch
Cleptomania create branch tiled-backports
Created at 2 weeks ago
delete branch
Cleptomania delete branch text_revamp
Created at 2 weeks ago
delete branch
Cleptomania delete branch draw_rate
Created at 2 weeks ago

Text revamp (#1323)

Shader based rotation and batch drawing for Text objects

Created at 2 weeks ago
pull request closed
Text revamp

Updates for moving text rotation to being handled by the Pyglet label, as well as the ability to draw Text objects with Pyglet batches.

Created at 2 weeks ago

Fix batch text example docstring

Created at 2 weeks ago

Update pygame comparison with new info.

Capitalization and doc about pyglet batches (#1303)

Fix up spacing around bullets with main landing page.

Fix for line numbers in listings not lining up with the correct line.

Fix CSS for numbering multiple code listings.

Add sphinx interdoc link for SpriteList describing sorting behavior (#1305)

Updated text by making docs consistent and fixing small typo (#1309)

Remove remaining references to pillow text functions (#1310)

Auto release note log (#1311)

  • Add a GitHub action to create a list of all commit notes

  • Attempt at fixing yaml syntax

  • Fix for tag wildcard search

Co-authored-by: Paul V Craven paul.craven@optimizely.com

Update for GitHub issue #1312 where datatables were throwing an error in quick index. Also bump sphinx, pygments, and docutil versions and do some other doc stuff. (#1313)

Co-authored-by: Paul V Craven paul.craven@optimizely.com

Merge branch 'development' of github.com:pythonarcade/arcade into development

Work on implementing a self-hosted runner.

Fix bad reference to examples

Update self-hosted runner script

Fix UnboundLocalError in tilemap

Update self-hosted runner script

Update self-hosted runner script

Fix for point - in - polygon function

Bump pillow version

PEP-8 fixes

Created at 2 weeks ago
pull request opened
Text revamp

Updates for moving text rotation to being handled by the Pyglet label, as well as the ability to draw Text objects with Pyglet batches.

Created at 2 weeks ago
Created at 3 weeks ago

Added basic logging utility

Created at 3 weeks ago

Add CNAME to actions

Created at 3 weeks ago

Create CNAME

Created at 3 weeks ago

Delete CNAME

Created at 3 weeks ago

Create CNAME

Created at 3 weeks ago

Actions fixes

Created at 3 weeks ago
create branch
Cleptomania create branch master
Created at 3 weeks ago
create repository
Cleptomania create repository
Created at 3 weeks ago

Actions fixes

Created at 3 weeks ago

Actions fixes

Created at 3 weeks ago
create branch
Cleptomania create branch master
Created at 3 weeks ago

Some re-figuring out the pybind11 module

Created at 3 weeks ago