Comments (5)
On Mac 10.13.2
Try using python===2.7 and pygame==1.9.3
using a virtualenv
virtualenv python=/usr/bin/python2.7 <path to your virtualenv>
cd <path to your virtualenv>
git clone https://github.com/sourabhv/FlappyBirdClone.git flappy
. ./bin/activate
cd flappy
python -m pip install pygame
python flappy.py
Enjoy the game
from flappybird.
I'm also having trouble getting it to run properly on Mac. The game starts fine but doesn't respond to key inputs. VS Code reports an error on the key constants used K_ESCAPE and K_UP which seem to be undifined. In which file should they be defined?
from flappybird.
try to add "pygame. " for example pygame.K_ESCAPE , it works on my Mac
from flappybird.
I believe you are having the same question as #17.
I answered your question on the issue #17 if so.
from flappybird.
Closing because of no recent activity.
I switched to pipenv and tested on my MacOS, works fine.
from flappybird.
Related Issues (19)
- libpng warning: iCCP: known incorrect sRGB profile HOT 2
- Display not showing sprites HOT 4
- Assets are commercial free? HOT 1
- Not working HOT 2
- Make exe using setup.py HOT 1
- Can I use this game for my research? HOT 1
- Forked Repo HOT 3
- Flappy Bird HOT 1
- Could you add QuFlapPyBird to the fork section in README HOT 2
- Add rotation on player HOT 1
- Found a 4th pipe occassionally
- Possible addition HOT 3
- Bird going outside the window(on top) not ending the game? HOT 4
- Refactor code to make is OO
- Pygame
- FlapPyBird
- Player's collision with pipe doesn't happen with its outline
- Pipe lightsing is wrong HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flappybird.