Giter Club home page Giter Club logo

flappyboid's People

Contributors

n1ckn1ght avatar

Stargazers

 avatar

Watchers

 avatar

flappyboid's Issues

Pipe skipping (late update) glitch

It's possible to drag game window in correct timing and skip pipe pair. Even if bird in that case will, probably, fall to death, it's still possible on game modes like 'Fast'. Possible solution: prevent game from updating if lag is more than half second or something.

Random crash on Collision

Снимок

Rare bug, but happened twice to me. Hard to get to real cause of it. Needs to be fixed before release.

Microstuttering

It happens, no matter what difficulty.
Also seems like not everyone has them (good sign).
As far as I've tested out it's caused by CollisionDetector (of course).
There're a lot of possible optimizations though, so need to do them.

Difficulty that is impossible to play

image

When there's almost no distance between pipes it doesn't generate a possible path to navigate.
Yes, I didn't intend to make something like that, however it might be not that hard to fix.
Random next gap accordingly to previous (-X to X) if it's too close.
Get X from current field.velocity (with or without field.acceleration in mind), G and VelocityOnClick.

Distance between pipes isn't precise (weird behaviour)

Безымянный

It's perfectly clear now that calculating next pipe x from previous by absolute position in real-time was a horrible idea. Doesn't cancel the fact that this bug is really weird, it happens when field.curr goes from field.count to 1.
Doesn't affect gameplay itself, BUT prevents it from calculating score correctly (since distance is floating, you might expect pipe on 3000 general distance, but it'd be on ~3020-3030).
For now there's a workaround, it'd be good to solve this issue by revamping field.lua class in the future.

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.