Open albertz opened 2 years ago
Reported upstream: https://github.com/pyglet/pyglet/issues/696
It seems I need to migrate some pyglet Batch
related code to pyglet 2.
I think I have done that now. However, now I stumble upon some Arcade error. Probably I need to migrate sth there as well...
...
File "/Users/az/Programmierung/PyOverheadGame/game/gui.py", line 123, in <listcomp>
line: arcade.create_text(
act[0], color=arcade.color.BLACK, anchor_y="center", font_size=20)
locals:
arcade = <global> <module 'arcade' from '/Users/az/.local/lib/python3.9/site-packages/arcade/__init__.py'>
arcade.create_text = <global> !AttributeError: module 'arcade' has no attribute 'create_text'
act = <local> ("Game 'robot'", <function SelectGameMenu.__init__.<locals>.make_load_action_tuple.<locals>.<lambda> at 0x12fac6d30>), _[0]: {len = 12}
color = <not found>
arcade.color = <global> <module 'arcade.color' from '/Users/az/.local/lib/python3.9/site-packages/arcade/color/__init__.py'>
arcade.color.BLACK = <global> (0, 0, 0)
anchor_y = <not found>
font_size = <not found>
AttributeError: module 'arcade' has no attribute 'create_text'
I found that someone reported this here: https://github.com/pythonarcade/arcade/issues/1339