Git Product home page Git Product logo

flappuccino's People

Contributors

nigamanthsrivatsan avatar polymarsdev 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  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  avatar  avatar

flappuccino's Issues

colorsys is not defined

Traceback (most recent call last):
File "C:\Users\Anthony admintrator\Desktop\Flappuccino-main\Flappuccino-main\main.py", line 277, in
main()
File "C:\Users\Anthony admintrator\Desktop\Flappuccino-main\Flappuccino-main\main.py", line 161, in main
o.setSprite(((player.position.y/50) % 100) / 100)
File "C:\Users\Anthony admintrator\Desktop\Flappuccino-main\Flappuccino-main\background.py", line 9, in setSprite
color = colorsys.hsv_to_rgb(tint,1,1)
NameError: name 'colorsys' is not defined
._.

Error

Hey, so when I run the project, I receive this error
PS C:\Users\orlan\OneDrive\Desktop\Flappuccino-main> & C:/Users/orlan/AppData/Local/Programs/Python/Python310/python.exe c:/Users/orlan/OneDrive/Desktop/Flappuccino-main/main.py pygame 2.1.2 (SDL 2.0.18, Python 3.10.5) Hello from the pygame community. https://www.pygame.org/contribute.html Traceback (most recent call last): File "c:\Users\orlan\OneDrive\Desktop\Flappuccino-main\main.py", line 277, in <module> main() File "c:\Users\orlan\OneDrive\Desktop\Flappuccino-main\main.py", line 17, in main pygame.display.set_icon(bean().sprite) UnboundLocalError: local variable 'bean' referenced before assignment

itch.io link

Uhh, in the README.md the link which leads to the game's itch.io page goes to cursor-custodian. Can you please fix this, I would have pull requested, if I knew the game's itch.io link.

Thanks

Importing error

When I run it, the terminal says Import Error.
Here's the total error:

Traceback (most recent call last):
File "c:\Users\dacpu\OneDrive\Desktop\Flappuccino\main.py", line 5, in
from .player import Player
ImportError: attempted relative import with no known parent package

I have every file, and it is not just this import, it is all of them.

Not working on Linux (Ubuntu 20.04.2 LTS)

Hi, I'm running GNU/LInux Ubuntu 20.04.2 LTS with the KDE Plasma Desktop.
I ran from source and installed pygame. But when I run Flappuccino, this error comes up (full log output):
jeremystartm@StarPC:~/Flappuccino$ python3 main.py
pygame 2.0.1 (SDL 2.0.14, Python 3.8.5)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "main.py", line 4, in
from .player import Player
ImportError: attempted relative import with no known parent package

Info: Bold = Command | Italic = Command output

What should I do?

pygame 2.0.1 (SDL 2.0.12, Python 3.9.7)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "/storage/emulated/0/main.py", line 9, in
ImportError: attempted relative import with no known parent package

a performance improvement and cleaner code

so i wanted to merge my fork with this branch and couldnt make a pull request so i am here making a ticket. so i basically improved FPS and made the code cleaner with more comments were i understood what was going on

No parent package for .player

When ever i try to run main.py with any command that works i get this error

C:\Users\{MY USER}\Downloads\Flappuccino-main\Flappuccino-main>python3 main.py pygame 2.1.2 (SDL 2.0.18, Python 3.10.6) Hello from the pygame community. https://www.pygame.org/contribute.html Traceback (most recent call last): File "C:\Users\{MY USER}\Downloads\Flappuccino-main\Flappuccino-main\main.py", line 4, in <module> from .player import Player ImportError: attempted relative import with no known parent package

NameError: name 'colorsys' is not defined

I removed the "." before the imports and now this happens:

$ python3 main.py
pygame 2.0.0 (SDL 2.0.12, python 3.8.5)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "main.py", line 277, in <module>
main()
File "main.py", line 161, in main
o.setSprite(((player.position.y/50) % 100) / 100)
File "/home/shokifrend77/Downloads/flappuchino/Flappuccino-main/background.py", line 9, in setSprite
color = colorsys.hsv_to_rgb(tint,1,1)
NameError: name 'colorsys' is not defined

Thanks in advance!

Why official code gives me a lotta error

when i tried to execute the main.py, it says

Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
  File "D:\Coding Stuff\Python\Flappuccino-main\main.py", line 4, in <module>
    from .player import Player
ImportError: attempted relative import with no known parent package```

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.