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
1
vote
0answers
10 views

Add a virtual joystick to a top down 2D game that uses Input.GetAxis

I have a 2D top down game with a perfectly working movement system, however, I decided to switch to mobile, and faced a problem. I HAVE NO IDEA how to add add a Joystick (well, adding it is not that ...
1
vote
1answer
27 views

Why is my UI not working on android but works perfectly on PC?

I tested my game for the first time on mobile and the UI almost doesn't work. I use if(!EventSystem.current.IsPointerOverGameObject()) to check if I'm clicking on ...
2
votes
1answer
57 views

2D vs 3D mobile power consumption in Unity [closed]

For an optimised and playable game written for mobile with Unity, how much of a difference is there in power consumption between 2D and 3D? Assuming: Unity game engine The game requires constant ...
0
votes
2answers
50 views

How to port/convert a Java program to mobile?

I have coded a simple video game in Java. It works fine on all computers that have Java installed. However, I would really like to play it on my smartphone and it would also be nice to be able to play ...
0
votes
2answers
42 views

How can I serialize lists to JSON on mobile?

I'm having difficulties serializing lists with the built in JsonUtility. I eventually figured out this just isn't possible with its limited capabilities. As much as I'd like to use Newtonsoft, I ...
0
votes
0answers
17 views

Unity Mobile: How can we safely store our API key? [duplicate]

We're making an app in Unity. We're building it for Android and iOS. We also have a server. In order to use our server you need to present our api key for the server. So, we need to store that key in ...
0
votes
1answer
55 views

How can I implement an aiming system like the Tank Stars mobile game?

I have been trying to implement the same aiming system as in Tank Stars, but I got a little stuck. I implemented simple stick aiming, which basically aims towards the stick movement. In Tank Stars, ...
0
votes
0answers
59 views

Orientation changed event in Unity3D?

I'd like to listen to orientation change events, so for example my UI layout or the components themselves can be changed. All I've found is that I should check the value of ...
0
votes
1answer
55 views

Is it possible to clone a game, and make modifiactions to it?

I basically want to know whether or not it is possible to copy a mobile game and make it into a new game by modifying it . I want to be able to access , moderation tools and basically alter, things ...
0
votes
1answer
39 views

How can I add a button that opens a pop-up?

I have developed a game with a libGDX game engine. I want to create a button on the game screen and add a popup to this button. How can I do this? My current code: ...
0
votes
0answers
82 views

How to make Unity 2D game fit all mobile screen resolutions?

I have to manually change the camera orthographic size and game sprites etc for each resolution to fit properly. I'm looking for a simpler way to adjust the game to any mobile resolution without ...
0
votes
1answer
62 views

How to develop a GameMaker game for both desktop and mobile

For a few months I have been creating a game using GameMaker Studio 2 Desktop. It turns out that I would like to launch it also for cell phones, and for that I bought GameMaker Studio 2 Mobile. That's ...
0
votes
0answers
13 views

Using Mobile Accelerometer to trigger an action in my game unity

Hi I have this project I'm working on which is a bowling game controlled by mobile acceleration. I want the following: when the player holds the phone up facing him for 2 seconds to enter strike state....
0
votes
0answers
21 views

How can I make responsive computer and touch click and drag?

This code works but it has a little delay on computer controls and higher delay on mobile touch screen controls, so its not responsive as I want it to be. ...
0
votes
0answers
14 views

How to create reel/slider with mobile controls

How can I create a reel/slider with mobile game controls so that it looks something like this? The slider is normally non visible, and can be accessed if I slide my finger from the right side of the ...
0
votes
0answers
58 views

How to get the physical camera sensor size on iOS / Android in Unity

I'm trying to get the physical camera sensor size on iOS and Android mobile devices for intrinsics calculations. On Android the sensor size should be found in the ...
0
votes
0answers
25 views

Script not working (Function not changing value)

I have this script that I made for an FPS character. public class Player_Movement : MonoBehaviour { public CharacterController controller; public Transform camera; ...
3
votes
0answers
27 views

Authentication and keeping track of users for a cross platform game (Steam+mobile)

I've got a question about authentication/user accounts. I'm building a game using Unity that'll be sold on Desktop (through Steam) and Mobile (Play/App Store). The game has online multiplayer ...
0
votes
1answer
103 views

How does Aspect Ratio and Resolution work in Unity?

I am trying to make progress in Unity on understanding how aspect ratios and resolution work. I can't quite wrap my head around the topic. For example, I am trying to make a simple breakout style game,...
-1
votes
2answers
236 views

Why shouldn't I release my app to all countries? [closed]

When releasing a mobile app on iPhone and Android, you can specify which countries you want to release your app to. Intuitively, you may want to just release it to all countries. One example of why ...
0
votes
0answers
45 views
0
votes
0answers
10 views

concerns about android apk compatibility

Hi everyone =) i'm planning on making a game on Unity, the idea is that my friends could play the game, as mostly of them do not own a computer, it should be developed for android. Two of my biggest ...
0
votes
0answers
60 views
1
vote
1answer
100 views

Why does my game look different on my mobile device than in the editor?

I am new to Unreal Engine. My game in mobile looks totally different than in Unreal Engine editor. In Editor: In Mobile: Is this a symptom of something obvious? How can I make it so that what I'll see ...
0
votes
0answers
11 views

Light point buggy on old device after migrating to URP

Light point is very buggy on Samsung A5 after migrating to URP, it works well on PC and Samsung A7. Altought it has light points, these are really few and using lowest settings by default, all other ...
1
vote
0answers
65 views

How can I support direct P2P for mobile devices?

I'm Interested in two or more player co-op in Godot, via direct P2P without connection to a central server. I have this idea that would utilize two smartphones in proximity to one another. I don't ...
0
votes
2answers
234 views

Default Game Window Size To Take While Making Games

I am planning to make a game for mobiles and tablets, I wanted to know what would be the default resolution that I should set for my game so that it covers all or most of the devices out there. I read ...
3
votes
1answer
76 views

Tile map click to walk UX

My game is a top down mobile game where the player clicks a tile to walk to it. However, it isn't clear where tile boundaries are from just looking at a level, so you could click on the edge of a tile ...
0
votes
1answer
54 views

How to make a countdown timer based on local time

I have a problem. In my GetTime.cs script, I am getting local time from an Android/iOS device, and simply assigning it to a Text component. ...
16
votes
1answer
3k views

How to file down a fingernail mesh?

I am creating a nail salon 3D game where I need to implement nail filing mechanics. I have tried out approaches including mesh deformation but I'm concerned about performance as I am targeting mobile ...
1
vote
1answer
32 views

Is it a useful strategy for Mobile VR titles to render faster than their simulation loop?

For example - If a title had a very heavy simulation loop (say 20ms), is it desirable to render at a greater rate, say 90hz? This would always a present head pose correct to the view, without being ...
0
votes
1answer
64 views

Touch input not working well for mobile game made with Unity 2D

I made a simple game in unity where the user taps their phone screen and the player jumps up. When I test it on my phone (not sure if this matters but it's a Samsung s9+), I tap the screen and usually ...
0
votes
1answer
81 views

How does “internet connection required” protect from piracy on mobile phones?

Sometimes I can't play a paid Android platform game because it requires an internet connection, and I'm in a place where 3G doesn't work. Here is my understanding so far: The game is a "good old ...
0
votes
0answers
25 views

Unity Optimization: Creating Multiple Similar Scenes Effectively

I've been working on a mobile game that uses the same framework for each level in the game, and I was wondering what would be the most efficient way to store all those levels in Unity. Should I only ...
0
votes
0answers
60 views

using Playerprefs on Android Mobile Platform

I have a question about playerprefs on my android mobile game not initializing properly. I have already pre-set my playerprefs data on a variable with a value of 3. In my play mode on unity the value ...
0
votes
0answers
133 views

Unity with move gameobject line renderer

I create DrawLine class, I want my character to follow the line I draw. How do I move my character on draw line renderer ? Thanks! ...
0
votes
0answers
44 views

How do I calculate sprites/frame usage on my platform's ram?

I plan on building a 2d game for mobile and possibly pc. I also plan on using sprites/frames for the animation of my 2d game. What's stopping me from doing so is because I can't figure out if the ...
0
votes
2answers
45 views

How would I make my player controls respond quicker?

I'm working on this game in Unity 2D where the user swipes to make a game object move in the direction that the user swiped in. Currently, when the user swipes it takes about a quarter of a second for ...
0
votes
0answers
394 views

How to adapt my mobile game for different aspect ratios?

Before I start, I'd like to note that I work in the Unity Engine, but the basic theoretical stuff should be similar just about anywhere. It's not really hard to get the game's camera/World view or UI ...
1
vote
0answers
492 views

Post processing effects not visible on mobile apk build

While setting up post processing on a project that I am currently working on, I discovered that post processing effects are not visible on the apk build on mobile. I setup a new Project with URP on ...
0
votes
1answer
79 views

Multiplatform game, save game state and resume it on other platform

This is for a personal and knowledge acquiring project. I want to create a little TIC-TAC-TOE multiplatform game, app & web. The choosen technology for the app will be Android or Flutter and for ...
0
votes
1answer
162 views

How do Mobile Idle-Games work [duplicate]

I wonder how idle games, games where players only make a few clicks to get a game progress, work. These games appear to be running in the background, even when the app is closed. Therefore these games ...
0
votes
1answer
121 views

Unity's Android Notification system works on my Xiaomi, but on a Huawei every notification has an “Unknown” status?

When my app starts I check whether there is a notification or not if there isn't I create one via SendNotification(...) if there is, I check their status: ...
0
votes
1answer
533 views

Tilting a game object left/right/forward/back with gyroscope, regardless of player's heading

I'm working on a mobile game in Unity and using the gyroscope to rotate an object along the x and y axes. ...
0
votes
1answer
2k views

Unity Screen.height / Screen.dpi is *not* equal to the screens height in real life

On mobile, I was planning on using Screen.dpi to work out the physical size of the screen and size controls accordingly. But this quick test on my Galaxy S5 proves that the numbers from Unity are ...
0
votes
0answers
39 views

Concept design-pattern for industry simulation required

I am making a mobile game simulating industry. A brief high level description is below. A hub could be thought of as a base/city, within which there are rooms/buildings which determine what is ...
0
votes
1answer
18 views

I want to clamp each instance of the same prefab to the y axis only

I instantiated the prefab "paddle" twice then I tried clamping it to the y-axis only; using Mathf.Clamp, however, the min and max values end up being applied to both instances of "paddle" and hence ...
1
vote
1answer
87 views

Unity - Level complete progress bar stops at 75%

I am trying to build a progress bar that indicates the completion of the current level from 0 to 100% (or from 0 to 1 in probability). I found this example: https://stackoverflow.com/questions/...
2
votes
1answer
114 views

Authenticating users without a username or password

I'm curious about what the process is for anonymously authenticating users when it comes to mobile games. There are quite a few examples out there, but the ones that immediately come to mind are Lords ...
0
votes
1answer
257 views

Is Unreal engine or Unity better for high graphics low file size mobile games? [closed]

My objective of learning game development is to make a 3d relatively high graphics mobile game but that should be in 150 mb. I don't know should I start with unity or unreal engine. I found that ...

1
2 3 4 5
7