Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more
7 votes
Accepted

How can I use vibration of an iPhone for my HTML / Javascript game?

As you have found out, the W3C Vibration API is not supported in the iOS Safari browser (as reported here: https://caniuse.com/#feat=vibration). However, you've pointed out that you plan to package ...
Crumbledore's user avatar
5 votes

Why are the app analytics for iTunes Connect so wrong?

I am experiencing the same issue - after updating my iOS apps, there is a period (a few days) when a lot of App Units get reported from China. In fact more ...
Nikolay Suvandzhiev's user avatar
2 votes
Accepted

How accurate is Gdx.input.justTouch()?

Input.justTouched() returns true if an event has occurred between the current frame and the previous. That means it's as ...
bornander's user avatar
  • 4,491
2 votes

Why are the app analytics for iTunes Connect so wrong?

I have been experiencing something similar for my app too. However after having done some research, I think I understand this situation enough for this to not be a concern to me right now. Again this ...
cptdanko's user avatar
  • 121
2 votes
Accepted

How to detect a pinch in Unity?

in videogames most of the time you have to look for some math models for events or interactions you see. pinch: only 2 active touch on the screen with distance more than a threshold if their ...
virtouso's user avatar
  • 2,628
1 vote

How to add the iPhone X screen dimensions to the mix of different iPhone screen sizes

Even without taking the X into account you had to support 3 screen ratios for iOS: 3:4 for iPads 2:3 for older iPhones 9:16 for newer iPhones So presumably you already take that into account in the ...
ADB's user avatar
  • 960
1 vote

Handheld video playback pauses when going to the home screen

All I can offer is a workaround. Use Object.DontDestroyOnLoad to make the object persistent. Pause the video, and after detecting which screen I am in, if it is ...
Sayem Chaklader Gearspec's user avatar
1 vote

In Unity, how do I handle very short mouse drags as click events?

What you can do from the OnDrag implementation of the button is this. ...
Uri Popov's user avatar
  • 3,027
1 vote

Moving CCNode with constant speed in cocos2d

Just slow it down or speed it up with a force proportional to the error. If your intentions were to hit a certain position for your object, you would actually need something more advanced like a ...
Bram's user avatar
  • 3,719
1 vote

Fastest way to draw quads in OpenGL ES?

I thought I might add that, at least with triangle lists, one might prefer to use the ordering { 0,1,2,0,2,3 } over the more 'typical' ordering ...
invertedPanda's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible