forked from pythonarcade/arcade
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pyglet2.1dev$VERSION updates (pythonarcade#2226)
* Bump to pyglet == 2.1dev3 * Remove del trick for getting future vec behavior * Update to options object * Switch arcade/__init__.py to use OOP options object * Convert applications.py to OOP pyglet options * Convert doc on headless to use options object * Fix a comment in arcade/__init__.py * Update tests/__init__.py * Fix formatting * Type compatibility fix in controller db loading * Use pyglet.media.Source instead of a Union type * Fix color typing in arcade.Text * Ignore over-strict pyright Literal opinion * Attempt to patch up the font loader * Use new-style | None in application.Window.__init__ * Update some typing for set_fullscreen * Use new-style | None * Add casting and TODO on resolving screen coord issues upstream * Mention rounding issue in set_fullscreen * Add temporary type ignore for font_size * Update type + doc for arcade.text bold support * Update top-level docstring * Update bold setter & getter * Update bold return types * Temporarily use pyglet development branch directly * Use development pyglet in rolling release mode + comment it * Add commented-out future pyglet == 2.1dev4 release we can swap to it later * Formatting * Use newly released pyglet==2.1dev4 * Projection funcs: remove inner tuple for Mat4 init * add dot to pyproject.toml (no idea why pip resolves that) * Use Vec3 for now in perspective example * Centralize headless + add some type: ignore * Centralize headless * Add some type: ignore since pyglet did vague .pyi * type: ignore in sound.py * Whoops, forgot what file I'm in * Replace todo with # type: ignore # pending syntax * Awful temp fix for Text.font_name * Formatting for sound * Abomination of a test fix * Import sorting for arcade/__init__.py * Revert "Abomination of a test fix" (Test not actually fixed) This reverts commit c59d674. * Maybe fix the import test? * Temp fix for pyglet typing all things as float for some reason * Fix another instance of pyglet making everything a float * Out of patience for pyglet import / metaclass / method resolution * Fix rebase issue in casting * Type ignore window issues * Tweak pyproject.toml * Ignore pyglet Window type The class is dynamically assigned at runtime so pyright can't handle it. * Wrong typing for screen * format issue * Bump pyright * Temp ignore EventDispatcher issue --------- Co-authored-by: Einar Forselv <[email protected]>
- Loading branch information
Showing
18 changed files
with
140 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.