Comments (10)
Leave a comment of you want to work on this issue.
from flappy-svg.
I think I can do this issue. But, Is there any game loop?
from flappy-svg.
There are several game loops, using the threading.js file. This issue focuses on a good algorithm that works for any kind of obstacles and any number. No behavior is specified.
I thought of a Flappy.collidedWith(obstacle)
function. Have a look if that fits. You can do it.
from flappy-svg.
Yes, I think I will use flappy:fly loop to detect the next obstacle.
from flappy-svg.
I think I can get all obstacles inside "cactus" layer(for example) and I can check if there any obstacle inside the screen and it starts to checking collision.
from flappy-svg.
#47 is your pull request 44 but without the android files. You can review the changes.
from flappy-svg.
Exactly!
from flappy-svg.
TODO:
- When colliding something useful should happen
- check if collision detection runs fast enough
from flappy-svg.
@antoniomdk I added two new issues that should cover what should be done furthermore. If I missed something, tell me. Closing this now, as it is hopefully covered in #71 and #69.
from flappy-svg.
It is fine. You could merge game over screen with collision to create an issue.
from flappy-svg.
Related Issues (20)
- Create automatic build for Windows app HOT 2
- Keyboard Control HOT 4
- Travis is failing
- Refactor the credits page with jekyll HOT 3
- Remove a character's onclick function HOT 6
- Add loading animation HOT 3
- First Android app: loading of game takes a long time HOT 1
- Add travis build badge
- Make build fail when APK did not compile HOT 2
- Merge apps
- Why does this game has pathetic graphics HOT 3
- Game Over without touching any object? HOT 4
- Help page doesn't open in chrome browser HOT 1
- How to Play Link leads to Blank Page in Chrome!
- [ci] Build failure because of broken Play Store link
- No Sound in the github pages version of the app
- Typos in the hints readme file
- Not ending game when touching object HOT 2
- Error message HOT 9
- Bugs
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 flappy-svg.