Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing issue #11 and #6, Enable running the game from anywhere #16

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Commits on Apr 22, 2021

  1. Fix issue PolyMarsDev#11, name 'colorsys' is not defined

    Fix:
        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/jan/Tmp/Flappuccino/background.py", line 9, in setSprite
    	color = colorsys.hsv_to_rgb(tint,1,1)
        NameError: name 'colorsys' is not defined
    JanPoonthong committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    c5d0469 View commit details
    Browse the repository at this point in the history
  2. Fix issue attempted relative import with no known parent package

    Fix:
        Traceback (most recent call last):
          File "main.py", line 4, in <module>
    	from .player import Player
        ImportError: attempted relative import with no known parent package
    JanPoonthong committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    1ee88e7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    32ddf68 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2021

  1. Enable running the game from anywhere, no need for cd into the game

    So now you could run your games like python3 /home/PolyMarsDev/games/Flappuccino/main.py
    JanPoonthong committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    86fd6e0 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2022

  1. Refactor code with black

    JanPoonthong committed Sep 13, 2022
    Configuration menu
    Copy the full SHA
    4c92e78 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2022

  1. Fix BASE_PATH bug

    JanPoonthong committed Sep 14, 2022
    Configuration menu
    Copy the full SHA
    5be8526 View commit details
    Browse the repository at this point in the history