All Questions
19 questions
1
vote
0
answers
115
views
Animate buttons sliding in
I am developing my first libGDX game.
I want to animate the buttons on the stage, so they transition into view instead of just popping into appearance. For example, each button should slide in from ...
1
vote
0
answers
179
views
UI clicks hitting the GameObjects below
I've made a simple script which makes a mesh with a collider act like a button. However the mesh button get clicked through the UI.
I figured out how to fix this in editor, however this problem still ...
0
votes
1
answer
225
views
Make Unity GUI for mobile phones only?
I'm using Unity and I want to make a responsive GUI for portrait resolution only. Now I'd like to know if this is a good or bad idea when I force the user to play my game in portrait mode only. Shall ...
0
votes
2
answers
98
views
Implementing a UI in an android game
I have created a basic game that runs in a view. It consists of a thread which repeatedly calls the update() and ...
1
vote
2
answers
1k
views
Pressing two buttons on Android with same thumb touch. UI Event Triggers not working
NOTE: See bottom of the question as I have managed to use a workaround which works to press the two buttons at once on Android (thanks to Douglas Potestas help)
I've struggled with this in the past ...
0
votes
1
answer
499
views
How can I find out which Androids suffer from the Scrolling Button bug?
When developing in Unity, there is a bug where if you put a Button on a Scroll View, the scroll is hyper-sensitive on some Androids. This makes the button depress immediately after pressing it, ...
1
vote
1
answer
330
views
Make virtual joystick preserve aspect ratio Android in Unity
When I start my game on Android my virtual joysticks stops being round.
Here you can see it:
Here is the project on PC at the same time:
Here are my UI settings for the Joystick:
Please, help me ...
4
votes
1
answer
2k
views
Resize Label automatically with the text content in LibGDX? [closed]
In LibGDX, I want to add some long text content to several Labels. I'm creating those labels in a loop, and the text content is different in each iteration. I want the ...
0
votes
1
answer
573
views
LibGDX Textfield - Text Overflow - Not Wrapping
In my app's registration screen, the textfield is not wrapping text as I expected. Notice in the above image, the email field is not containing the text. I have set the size of the textfield using <...
2
votes
1
answer
105
views
Prevent button layout changing after one is removed?
I have a layout with four buttons in it. I end up removing one of the buttons using:
...
0
votes
1
answer
1k
views
Unity UI Button not working on PC build but working on Android mobile build
I am using Unity to build a game that is going to be used on PC and Android mobile devices. The problem I have is that when I use a UI Button, it works perfectly on mobile, but on PC and in the editor,...
2
votes
1
answer
691
views
Keeping Android device awake [closed]
I currently program a game in which the user don't need to interact with the screen. Is there any way to keep the screen awake?
1
vote
1
answer
474
views
What would cause my script generated buttons and text to show in Unity and not on my phone?
I am using Unity 5 and the built in GUI tools. My static GUI shows up just fine which makes me think it's not a text/font issue or some such. Again, it all looks good in the Unity editor when I hit ...
2
votes
1
answer
821
views
Drawing shapes and images in libgdx dialog
I am currently working on a dialog window for my android game using libgdx. This dialog window contains a collection of labels and buttons, but should also contain an image. The image represents the "...
1
vote
1
answer
1k
views
Candy crush saga popup-like messages
I was wondering how could I make in Android something like the popup messages seen in Candy Crush Saga, those messages like "Delicious!", "Tasty!" or similar:
As well as the score of each movement, ...
1
vote
1
answer
3k
views
Flickering GUI on Android
New version of Unity is causing rather weird problems on Galaxy S device. The GUI starts to flicker, tear and disappear altogether at random in different screens. But this only happens on the second ...
0
votes
1
answer
461
views
Should I render all of my HUD views to a single SurfaceView?
I'm using a SurfaceView and canvas to implement a game HUD, title screens etc., by overlaying standard Android view widgets over my ...
1
vote
1
answer
571
views
What's the recommended way of doing a HUD for an android game?
Basically the question is in the title.
I'm creating a RTS game and I will need buttons like attack move / attack ground, etc. I am not using any engine.
When people do games in OpenGL for android (...
8
votes
1
answer
13k
views
Is it possible to overlay EditText box on a GLSurfaceView on Android?
I am trying to add a "PlayerName" box on top of a opengl menu background, is this possible? I've tried various layouts, but they don't seem to allow an EditText box to appear on top
What is the ...