Coder Social home page Coder Social logo

pythonangrybirds's People

Contributors

marblexu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pythonangrybirds's Issues

pymunk 6.X have incompatible changes

❯ angry-birds
<frozen importlib._bootstrap>:241: RuntimeWarning: Your system is avx2 capable but pygame was not built with support for it. The performance of some of your blits could be adversely affected. Consider enabling compile time detection with environment variables like PYGAME_DETECT_AVX2=1 if you are compiling without cross compilation.
pygame 2.5.2 (SDL 2.30.1, Python 3.11.8)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
  File "/usr/bin/angry-birds", line 5, in <module>
    from angry_birds.__main__ import main
  File "/usr/lib/python3.11/site-packages/angry_birds/__main__.py", line 6, in <module>
    from .state import level
  File "/usr/lib/python3.11/site-packages/angry_birds/state/level.py", line 9, in <module>
    from ..component import button, physics, bird, pig, block
  File "/usr/lib/python3.11/site-packages/angry_birds/component/physics.py", line 495, in <module>
    my_phy = Physics()
             ^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/angry_birds/component/physics.py", line 30, in __init__
    self.reset()
  File "/usr/lib/python3.11/site-packages/angry_birds/component/physics.py", line 46, in reset
    self.setup_lines()
  File "/usr/lib/python3.11/site-packages/angry_birds/component/physics.py", line 59, in setup_lines
    self.space.add(static_lines)
  File "/usr/lib/python3.11/site-packages/pymunk/space.py", line 405, in add
    raise Exception(f"Unsupported type  {type(o)} of {o}.")
Exception: Unsupported type  <class 'list'> of [<pymunk.shapes.Segment object at 0x77aa86b892d0>].

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.