Flappuccino icon indicating copy to clipboard operation
Flappuccino copied to clipboard

Typo in "main.py" and Added "import colorsys" in background.py

Open renderman21 opened this issue 4 years ago • 6 comments

Running the game, there is a sudden error in the console that most of them are "undefined". And when importing the files for main.py, there is a dot (.) before the referenced file, thus throwing off an error

renderman21 avatar Jun 22 '21 08:06 renderman21

no no, . means the current directory, it needs that otherwise it will attempt to open a file in path, or what is system32 if you use that shitty abomination called Microsoft Windows

On Tue, Jul 6, 2021, 06:28 ph3b3 @.***> wrote:

the . at the start of directorys is a unix thing i think

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PolyMarsDev/Flappuccino/pull/21#issuecomment-874471351, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH5R7YUBGIECCP5FY3ZLG2LTWKIBHANCNFSM47DEJEBA .

firefish111 avatar Jul 06 '21 06:07 firefish111

youll have to edit all of the directory references

phoebe-leong avatar Jul 07 '21 01:07 phoebe-leong

on your local version

phoebe-leong avatar Jul 07 '21 01:07 phoebe-leong

youll have to edit all of the directory references

but it works on Windows as well, have you not used cmd?

firefish111 avatar Jul 07 '21 06:07 firefish111

@phoebe-leong this guy is right though, it's supposed to be ./ not just .

firefish111 avatar Jul 07 '21 06:07 firefish111

no no, . means the current directory, it needs that otherwise it will attempt to open a file in path, or what is system32 if you use that shitty abomination called Microsoft Windows On Tue, Jul 6, 2021, 06:28 ph3b3 @.***> wrote: the . at the start of directorys is a unix thing i think — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#21 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH5R7YUBGIECCP5FY3ZLG2LTWKIBHANCNFSM47DEJEBA .

Ah okay okay, I am using Linux in testing the game. And the . before the referenced python files such as player.py utils.py, etc., is a hidden file. Guessed I didn't account for Windows though.

renderman21 avatar Jul 09 '21 04:07 renderman21