Code Monkey home page Code Monkey logo

Comments (4)

sergystepanov avatar sergystepanov commented on August 16, 2024 1

When was the last time you can run on Android? :/ How come it no longer work

Maybe two weeks ago, my local instance runs just fine (with some bugs in touch control handlers after rewriting :). Not sure about fast tap, hard to tell: it sorta works but the app is lagging on my phone. Sadly, I don't know how to debug Android Chrome and don't have that much spare time for it.

from cloud-game.

giongto35 avatar giongto35 commented on August 16, 2024

oh interesting, Are you checking over local or cloudretro

I think frequency tap causes this problem because we poll key state every few ms and detect the change. If the tap is too fast, the key state might seems not changed between two polling.

from cloud-game.

sergystepanov avatar sergystepanov commented on August 16, 2024

I'm checking on Cloudretro.
At least I see that it sends a new state to the server twice.

Here it is, I added log function when it should send something to the server.
touchbug2

It can be just how Chrome works: emitting both a click and tap from the touchpad.
I can't check it on Android because Cloudretro doesn't start games, but did before.
In either case the bug is present.

from cloud-game.

giongto35 avatar giongto35 commented on August 16, 2024

I still think it's some polling event issue, either in frontend or server. The polling for input event from or cannot catch up with the frequency of tap. :-? I'm not sure need further investigation.

When was the last time you can run on Android? :/ How come it no longer work

from cloud-game.

Related Issues (20)

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.