Comments (5)
Try this.
sudo nano /Applications/HappyFunTimes.app/Contents/hft/public/css/controllers.css
Look for
* {
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: pointer;
}
delete the cursor: pointer;
line. Go to the beginning of the line and press Ctrl-K
Then press Ctrl-X, Y, Enter to exit nano and save. Does that help?
That's the only thing I can think of so far. I noticed the screen is changing color when you press the buttons. It turns out that cursor: pointer
setting was making that happen. Otherwise I don't see any lag or stickyness on my Nexus 5 nor my cheap crappy Huawei Prism II.
I'm on Chrome 45.0.2454.84 on my Android devices
If that fixes the problem I'll put up a new version
from happyfuntimes.
I´ve noticed a behavior that might help handle this problem.
The button only get stuck if it is pressed and released without a small amount of movement on the finger position.
If you keep the button pressed and move the finger inside the button area, and only then remove the finger, it aways identify its removal and the button correctly gets released.
Update:
As far I´ve discovered, removing the handleButtonEnter addPointerId function call (touch.js) avoid the buttons from getting stuck, but obviously it also removes the possibility of touching a button with a finger that moved inside it´s area.
from happyfuntimes.
Hey there. Sorry you're running into so much trouble. Are you seeing this on both iOS and Android or just one or something else?
I'll try again in Android
from happyfuntimes.
Hi there! No problem at all, HFT is amazing :)
I'm only getting this problem on android samsung s4 mini, it's not happening on my iPad retina display, I didn't tested on iPhone.
I bet that somehow both buttonEnter and ButtonPressed/down are feeding the finger index at the same time, and the button end up considering it's being pressed by two different fingers, but I have no idea how this could happend, as I see you check if the finger index is already used.
Thanks a LOT for this amazing project :)))
from happyfuntimes.
Can you try installing version 0.0.46?
http://superhappyfuntimes.net/install
from happyfuntimes.
Related Issues (20)
- Problems running Unity3d build of game? HOT 10
- Issue starting "TypeError: Cannot read property 'stdout' of undefined" HOT 2
- Unhandled error when computername not set on Mac OS
- Change window appearance HOT 2
- wifi connection not working on ip6 router HOT 22
- not working on XP HOT 2
- HFT Redirects Multiple Times on Game Join
- What to do about HTTPS
- 'GameClient: unknown event' while sending message to controller HOT 2
- Download / Install links for linux do not work HOT 3
- Custom URL HOT 4
- Left,Right,Top,Bottom buttons don't work in IOS Safari HOT 3
- Run hft without electron HOT 2
- SoundTestScene not playing sounds on devices. HOT 3
- Allow multiple HFT on same network HOT 3
- Inform Co-routine failing in Unity 2017 HOT 3
- Unity 2019.2.3f1 Broken HOT 2
- UriFormatException: Invalid URI: Invalid port specified. HOT 2
- Device motion and orientation HOT 2
- superhappyfuntimes.net domain has lapsed, needs to be replaced in various materials HOT 6
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 happyfuntimes.