Hot answers tagged

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 ...
user avatar
4 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 ...
user avatar
3 votes

Simulating Smartphones on PC with Unity

Unity Remote exists for this purpose. Quoting their description: Unity Remote is an application that allows you to use your target device as a remote control for your project in Unity editor. ...
user avatar
  • 15.6k
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 ...
user avatar
  • 4,251
2 votes

How to glow a UIButtons in sequence

Okay, I'm assuming you've got general issues with game logic and how to implement it properly (i.e. it not working as expected). If that isn't the case, let me know and I'll remove this again. While ...
user avatar
  • 8,272
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 ...
user avatar
  • 2,438
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 ...
user avatar
  • 940
1 vote

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 ...
user avatar
  • 111
1 vote
Accepted

Setting up images for frame animation

Well I finally got it done and learned a few things in the process but teaching you how to use a bunch of Blender features is beyond the scope of this question so I'll just give you the results. ...
user avatar
1 vote
Accepted

Drawing flaming letters in 3D with OpenGL ES 2.0

Yes, it is possible, and it has been done before many times. What you want are called Billboards, they are simple planes that are transformed to always look at the camera. There is an implementation ...
user avatar
1 vote

What is the average team size for mobile games like these?

This is a fascinating and insightful presentation on gaming development where he discusses the pros and cons of working in groups of developers for years at a time as opposed to working on games ...
user avatar
  • 111
1 vote

Story for an iPhone Game from a book?

I'm not sure about international public domain, but there are ways you can circumvent this problem entirely. Certain things, like for instance most fairytales are completely public domain. Another ...
user avatar
  • 111
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 ...
user avatar
1 vote
Accepted

WiFi Game Controller Protocol

I would say there is no such standard, because there are no WiFi game controllers. All the wireless game controllers I checked use either Bluetooth or some proprietary wireless data transmission. ...
user avatar
  • 891
1 vote

OnMouseOver() alternative for iPhone (Unity3D/Unity2D)

You can use the new TouchInputModule on iOS and other mobile devices. You just need a collider on the object you want to touch or hover, EventSystem AND TouchInputModule in the scene, and then it ...
user avatar
  • 3,182
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. ...
user avatar
  • 2,965
1 vote
Accepted

Mobile Game Development: Supporting Multiple Screen Resolution for iOS

The easiest solution would be to create the graphics at the size of the highest resolution, but older iPhones have little memory so this solution would only work (smoothly) on the newer models. ...
user avatar
  • 528
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 ...
user avatar
  • 3,679
1 vote

Moving CCNode with constant speed in cocos2d

You can check the velocity in your update function and set it to some max value if the calculated value will be greater than that max. This way you still use force and allow it to stop when it ...
user avatar

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