Skip to content

Conversation

@Snipy7374
Copy link
Contributor

i'm not entirely sure if i'm missing some of the functions here and here, if that's so let me know!

Copy link
Member

@pushfoo pushfoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for taking a look at this, and I apologize for the delay in reviewing it.

tl;dr I think the physics engine changes are fine, but I have concerns about the use of Literal, the type aliases created with it, and the performance impacts of the alternatives.

I'd spend more time looking at ArcadeContext and gl.Context to better understand blend functions and our current implementations of them.

If you've got Discord, feel free to join the server and bring these changes up in #arcade-dev-1.

Snipy7374 pushed a commit to Snipy7374/arcade that referenced this pull request Sep 8, 2023
* Fixed PyRight issues.

The latest version of PyRight is a little over zealous.. There where two flagged non-issues. One where it didn't realise that the code would escape early, and another which is all pyglets fault.

* initial commit for doc_stack/fix_readthedocs

* Tell readthedocs to install `dev` dependencies, same as CI.  Keeps things consistent

* Update index.rst

Dropdowm -> Dropdown 2 times

* upgrade sphinx

* Fix rendering issue in CONTRIBUTING.rst

* Revert erroneous dep upgrade from pythonarcade#1826

* Lock pyright version

To avoid CI breakages due to pyright releasing a new version, not caused by any of our code

* oof python versions

* add pending comment

* Make `_move_sprite()` generic

* Fix exception type when Window.show_view is passed a non-View (pythonarcade#1876)

* Fix exception type when Window.show_view is passed a non-View

* Include instance info in Window.show_view TypeError

* Add check for TypeError from show_view in Window tests

* Revert inclusion of full printout in show_view TypeError

* Update build procedure (pythonarcade#1884)

* Make annotations singular

* Move filter & blend aliases to arcade.gl.types

* Use PyGLenum per @cspotcode's suggestion

* Remove use of literals

* Move to arcade.gl.types

* Import TypeAlias from typing_extensions since it's from 3.10

* Remove | assignment incompatible with 3.8

* Allow using either int or Tuple[int, int] for filter in SpriteList.draw

* Add casts to make pyright happy

---------

Co-authored-by: DragonMoffon <happydog.aja@gmail.com>
Co-authored-by: cspotcode <cspotcode@gmail.com>
Co-authored-by: Dominik <dominik.reinartz@hotmail.com>
Co-authored-by: DragonMoffon <86714785+DragonMoffon@users.noreply.github.com>
Co-authored-by: Paul V Craven <paul@cravenfamily.com>
@Snipy7374 Snipy7374 requested a review from pushfoo September 11, 2023 09:35
@einarf einarf merged commit ac7c118 into pythonarcade:development Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants