Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tile press registers late #6

Open
snelltheta opened this issue Sep 15, 2015 · 4 comments
Open

Tile press registers late #6

snelltheta opened this issue Sep 15, 2015 · 4 comments

Comments

@snelltheta
Copy link

Frame rate low and I totally press in the right place and it registers as the tile above. It takes a moment for that to occur.

BTW this is not due to the phone being slow. New phone.

@316k
Copy link
Owner

316k commented Sep 15, 2015

Sorry about that, but there is nothing I can actually do without starting the project over...
The game is rendered in a WebView and uses DOM elements to catch the tap events, which means
that this is actually something wrong with WebKit - or more realistically, with the way I try to abuse it.

I'll try to improve the performance of the game (I have a few ideas that should make it a bit faster, like reusing DOM elements instead of destroying and recreating them regularly), but it looks like it's a limitation of the way I'm coding this app.

Since it's a major inconvenient, I'm currently thinking of redoing the render of the game in a canvas in the future, but this would imply a major rewrite of the code that I can't do right now...

@snelltheta
Copy link
Author

I see. This game seems to have that addicting quality that enticed those to play Flappy Bird. If it is rewritten, it has a lot of potential.

Also, I see what you mean about the way it's set up.
Well, if in the future, you want a bug tester - I'm here.

@316k
Copy link
Owner

316k commented Sep 15, 2015

Thanks, I'll let you know :)

@a-raccoon
Copy link

Just wanted to add that the game is just completely unplayable at this point. The Piano game on Google Play is one of my favorite games, but on this version I literally can't get past 3 successful taps. I can see my touches hit (dev tools > show touch) but they just do not register.

Samsung Galaxy Note 10.1 2014 (p600) CyanogenMod 12.1 Nightlies. Galaxy devices are up there in touch quality, also supporting 10 point multitouch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants