Questions tagged [mobile]

A portable device capable of multiple applications, one of which is a platform for playing games. Mobile phones are the eponymous example of such devices. Distinct from handhelds, which are exclusively or primarily designed for gaming.

Filter by
Sorted by
Tagged with
3
votes
0answers
332 views

How to have a gradient blur in objects on Unity?

This is related to a previous question I've asked here: How to blur entire scene but a specific spot in Unity? At the time I managed to solve my problem with a "hard" cutoff on the blurred and non-...
-1
votes
2answers
3k views

How can I implement Player Prefs to Save High scores in unity?

I am new to both unity and C# and facing trouble in saving and displaying the highscore.text in the game.Til now I only successfully managed to display the scoreUI and update them whenever player ...
3
votes
1answer
124 views

Should particles check if they are in a region, or regions if particles are in them?

I have around 100 to 200 particles in my game. Then I have 5 to 20 regions (circle-shape) which should count the particles which enter them and add some force to them, so they change their direction. ...
0
votes
1answer
96 views

How could I access game data from a dev machine at runtime from a mobile platform?

When working on a game on a mobile platform, having read/write access to game data (assets, configuration files) stored on the dev machine at runtime would enable building of tools to quickly iterate, ...
3
votes
1answer
1k views

How to blur entire scene but a specific spot in Unity?

What I want is basically: A way to blur every object/sprite on the scene, but have a "blur-free" circular zone, that can move. And everything that's behind that circular zone won't have the blur ...
0
votes
2answers
262 views

Is localisation important for a mobile game with little text?

Let's say it's a physics puzzle (Cut the Rope, Angry Birds) or a runner (Crossy Road, Subway Surfers) clone with some gameplay twists. Assume it puts text on some of the few controls: 'Play', 'Sound ...
10
votes
1answer
6k views

Cross-platform C++/OpenGL ES development (iOS/Android) [closed]

I already have reasonable experience with C++ and OpenGL, and I have recently decided to try out mobile game development. After successfully creating a simple OpenGL ES Android app using Java, I ...
0
votes
1answer
768 views

Handle two different touch gestures at same time without overlapping

I'm trying to create a Character touch controls for 2d platform. In my script Im using one horizontal swipe and hold touch gesture and one vertical swipe gesture without hold.Both are different ...
0
votes
2answers
979 views

Joystick like controls in unity for mobiles

How can i achieve joystick like controls on mobile? For example i have a 2D platform game where character should keep on moving right when swiped right and held and vice versa, just like a real ...
0
votes
2answers
2k views

Apple iOS review and interpreted code download/execution

I'm looking for some information regarding two specifics rules of the App Store Review guidelines. More specifically rules 2.7 and 2.8 : 2.7 Apps that download code in any way or form will be ...
1
vote
0answers
33 views

Platform for mobile game feedback

I am designing a small mobile game. Eventually i am going to release it on Play store and App store. But is there any platform such as Steam Greenlight where I can put my concept or demo and get some ...
1
vote
0answers
456 views

Multiplayer turn based Android/iOS [closed]

We're developing a mobile endless runner game, on Unity3d where you can challenge your Facebook friends. The only interaction between the players is the challenge - one player challenges the other, ...
3
votes
1answer
503 views

Testing SFML sf::Touch on ordinary PC

So I’ve created a small app that is designed to be used on smartphones and tablets. Accordingly the app makes use of the sf::Touch class which determines the point on the screen of the device that the ...
5
votes
1answer
2k views

Is this the typical approach to modern OpenGL UI & Text rendering, for mobile?

I'm implementing GUI in OpenGL ES 2.0 to fit with my application framework's existing structure. I'd like to have the UI rendering eat as little mobile processing capacity as possible. So to confirm......
4
votes
1answer
134 views

Timers and performance for mobile JS

I'm using the Three.js JavaScript library to do some things in WebGL, and I wonder how the graphic aspects of timers are done on mobile. I was creating numbers with geometries and just replacing them ...
2
votes
0answers
132 views

What is an efficient mobile rendering order supporting transparent and opaque objects?

I'm interested to know how others would do / have done this. Part 1. Constraints. My current renderer is being built to support OpenGL ES 2.0 primarily and so aims for performant mobile as well as ...
0
votes
2answers
526 views

Simple mobile multiplayer game. TCP/UDP? [duplicate]

I'm tying to dive into multiplayer game programming. The game is quite simple, it's a 2D scroller mobile game, the player need to touch the screen in order to move 1 step and it could contain up to 4 ...
0
votes
1answer
2k views

How to force Landscape Mode Unity3D Android Game?

I am developing a small side project on Unity that will ultimately be for Android but I cannot figure out how to force landscape on the device and when I have tried it out the game just goes all over ...
3
votes
2answers
180 views

I'm making a networked game for mobile. Should I worry about cheating?

I'm in the process of making a racing game for Android/iOS. I'm thinking of implementing a server/client model, should I worry about cheating and make all players communicate with a server of mine, or ...
4
votes
0answers
151 views

Facebook data exchange for mobile games (multiplayer)

A multiplayer mobile game that we are working on connects players through Google Play and Game Center but we would also like to add an option to play with your Facebook friends and here's the question:...
0
votes
0answers
592 views

Moving pac-man in maze game using objective c

I am trying to develop maze game using objective-c, I want to allow moving the pac-man using swipe method, the user can swipe his fingers on the iPhone to indicate where he want PAC-MAN to go but I'm ...
3
votes
2answers
164 views

Uncontrollable platform spawning

I made simple spawner like this: ...
4
votes
1answer
1k views

How can I enable flat surface reflections in UE4 on mobile?

Could someone please tell me how do I enable reflections on flat surfaces on a mobile in UE4? I have a simple room with one directional light. I need reflections on the tables and ground planes. I ...
0
votes
1answer
885 views

Performance overhead on Non-POT Texture in POT Atlas

Using atlas, we can reduce memory and draw call. And the atlas is usally POT(Power of Two) Texture. And I know non-POT texture have a lot of GPU and memory performance overhead. (link) I have many ...
0
votes
1answer
139 views

Using Java on mobile, should I avoid object construction to reduce GC overhead?

I new to both Java and game development and working on my first LibGDX game targeting mobile systems. How problematic is the garbage collector in a mobile environment? Should I try to reuse as many ...
3
votes
1answer
737 views

Read custom content in MONO-GAME in a cross-platform way

using Mono-Game, i have some custom content files in some binary format (not .xnb) in run-time i need to read the content of those files. i prefer to get a stream, but if something will give me a ...
4
votes
1answer
991 views

Should UI be part of the game-loop?

I can't really find a good answer to this anywhere, I have never worked on games in a proffessional environment and I am wondering; Do these games render their UI in the main game-loop? That is, do ...
0
votes
0answers
26 views

When saving data locally for a mobile game, how to protect it? [duplicate]

I am designing a mobile (iOS/Android) game and I try to save data (such as levels, coins, status) in local files. In this way, I am concerning a case that someone can just copy these files and give ...
6
votes
0answers
249 views

How can I call a native mobile API in Construct 2?

How can I use mobile API features in a Construct 2 game (HTML 5/JavaScrit engine)? I didn't find anything about that on the net, unlike other game frameworks like Corona Enterprise or Cocos2d.
1
vote
2answers
2k views

Best way to constrain character to a path?

I'm in the process of developing a level-based runner for mobile phones, and I've hit a wall when deciding which method to use to get the character to move through the level. Basically - I need my ...
1
vote
2answers
334 views

Change Camera Contrast in VR Game

Hello there Firends , I'm developing a Virtual Reality game in Unity. As in every VR game , i have 2 cameras for stereo rendering. I want to show the same object in each camera having different ...
1
vote
3answers
272 views

Choosing Language on Mobile Game

Currently I'm trying to localize a mobile game into popular language. Apart from technical stuff (like how to store string and including supporting fonts), I'm a bit confused about designing two ...
1
vote
2answers
83 views

How do I show a small sprite being dragged by touch?

In my mobile game, users drag shapes across the screen. Think of it as a classic Lines game, where you drag a dot on the field, or a chess game where you drag and drop pieces. The problem is that the ...
1
vote
0answers
122 views

Mobile game: Optimization only working on some devices / Render big texture causes stuttering after level load

I'm currently optimizing the rendering of the background of my mobile game. The background consists basically of many colored dots. Since the background is static I'm able ro render the whole ...
1
vote
2answers
1k views

Fixed background on a SurfaceView

I'm currently working on a top-down twin-stick shooter for Android. I've got my player moving around and shooting, but I'm looking to add a large Bitmap background which is larger than the device ...
2
votes
1answer
1k views

NAT punchthrough failed

I finished my game while I was unaware of this error since it only shows up when I disable "WIFI" on my phone and testing it with 3G and ...
1
vote
1answer
639 views

Should I switch to UDP for a mobile p2p game when considering 3G network?

I have been making a mobile game that is similar to "Street Fighter" where two players play with each other via Internet. The game sends out a small packet (controller status) to the other party ...
0
votes
2answers
1k views

Saving Scores on iOS and Android Devices using MonoGame

Quick question, what is the best way to save a game score in a mobile device (iOS and Android) using MonoGame (example would be a Flappy Bird score). You can also list ways and approaches of saving ...
0
votes
2answers
1k views

Mobile Game Development: Supporting Multiple Screen Resolution for iOS

Questions When designing the graphics of the game (e.g. for iPhone): What is the resolution I should base it upon? Is it the smaller resolution (iPhone4 screen resolution) so that I could scale it ...
1
vote
1answer
77 views

How to manipulate browser pixels on different mobile devices

I'm creating a board game using HTML5, CSS3 and JavaScript. It's working fine on Desktop browsers properly. But when i load it on Windows phone it's not behaving properly. The resolutions and the game ...
0
votes
1answer
744 views

How to make the damage inflicted to the enemy and the main character more unpredictable

I am developing a small mobile game. The enemy can damage my player by throwing objects at his side, and the player can damage the enemy by hitting him with a bat. For the moment, I am calculating ...
11
votes
2answers
389 views

Game upgrade launch : Cross-platform release timing

I just finished doing a major upgrade for a old mobile title, that haven't seen an update in over a year. Lots of new content, things are looking nice. Sadly, these days it takes an average of 12 ...
6
votes
2answers
1k views

How can I rumble/vibrate my controller with libGDX?

The com.badlogic.gdx.controllers.Controllers API only supports getting the input data (which works fine). Is there a way to make my controller rumble/vibrate, ...
0
votes
2answers
3k views

In Unity how can I know which direction is the screen auto-rotated?

From the Screen.orientation description I get If the value is set to ScreenOrientation.AutoRotation then the screen will ...
3
votes
1answer
3k views

How do I get the number of online players in a Minecraft server from outside the client?

I know that the Minecraft client can query the server for number of players and maximum players, even when the server properties has enable-query set to ...
1
vote
1answer
97 views

Move an object up while touch is active

I'm trying to move an object towards the top of the screen while the touch is active. This is my current code. When I am touching the screen, the object I'm trying to move just keeps it's place (and ...
2
votes
2answers
1k views

How to gain visibility on the Play Store? [closed]

Sometime in the near future I'll release my first Android game. It's not going to be anything special, but I'm trying to make it as polished as possible and I would like to know what I can do to ...
2
votes
2answers
748 views

demographics of paying mobile gamer

I was googling for this now for a while but didn't find any relevant data. Does someone know any statistics of the demographics of mobile gamers that actually spend money on their games? It's clear ...
1
vote
3answers
123 views

At what point of the game should I request users leave a review?

I'm planning on displaying a dialog requesting users review my Android game, but I'm wondering at what point I should display the dialog. I wont show the dialog until the user has completed several ...
67
votes
12answers
75k views

How do you handle aspect ratio differences with Unity 2D?

I've gotten a lot of answers to this question, but they are all generic and generally not very useful. None of the tutorials talk about aspect ratio and dealing with mobile devices and there are a ...