Designing a clear method of communication between the game and the user, whether hardware or software.

learn more… | top users | synonyms

1
vote
1answer
47 views

Print string letter by letter in UI Text

i'm trying to print a string letter by letter for UI Text of Unity. With each click of a button, the Stampa function, must print a letter. Up to this point everything is working perfectly. But if I ...
2
votes
0answers
94 views

FPS game UI theory [closed]

Are there any researches concerning FPS game interfaces? I'm interested in analyses of designing & positioning UI-elements. The only thing I can find are blogs and articles about immersion in ...
1
vote
1answer
34 views

Libgdx How to overlay two images on Table

I'm trying to set the player image inside the circle of the bars. I've tried to use stack, to position it topLeft but it does not work. Stack stack = new Stack(); healthbar = new Image(new ...
0
votes
0answers
15 views

LibGDX - button change image on hover over time

As we all know, LibGDX has a TextButtonclass which has a TextButtonStyle and ButtonStyle. The style has some parameters: up - an image which is shown normally as a button background down - shown ...
0
votes
0answers
36 views

Libgdx - notification popup (something like Toast) - on both Desktop and Android

I'm trying to implement a notification system with LibGDX. As we know, Android has it's Toast which is great, but I can't use it in Desktop mode. I tried extending Dialog etc, adding as an actor and ...
1
vote
1answer
71 views

In Unity, Change which mouse button is used to scroll in ScrollRect

I've created a new ScrollView in Unity. How do I change which mouse button is used to scroll in ScrollRect (through script or in the editor). By default it's the left mouse button. I'd like to be ...
5
votes
2answers
269 views

FPS Crosshair, Should it be drawn on center of the screen or to the forward of bullet spawn point?

so my question is where to draw crosshair? I have some things in my mind like: 1): Draw it on the center of camera(which will stays on the center of screen always), but as my gun is little lower to ...
1
vote
2answers
85 views

Unity UI-Animations possibilities

I'm doing some stuff with UI-Animations the past days, but I never figured out, whether it is possible to do stuff like this with Unity : https://d13yacurqjgara.cloudfront.net/users/107759/screenshots/...
1
vote
1answer
39 views

Implementing my own UI sprite class in Unity using shaders: where and how to position the sprites

For learning purposes, I am trying to implement my own UI classes in Unity "from scratch", in the GPU using shaders. I mean, I am trying to use simple 2D sprites either positioned via shaders or ...
0
votes
1answer
221 views

Is there a way to use the UnityEngine.UI with SteamVR and the Vive?

I recently got into developing VR games using the Vive as my standard platform. Now I would like to design some UnityEngine.UI elements that would be interactable via the built in pointer scripts that ...
1
vote
1answer
55 views

How to create UI for 2D games? [closed]

I'm working on a game using Haxe + Flambe but I'm having a hard time making the UI part of it (main screen, level selection, etc). And I began to think... is there another way? I would love to have ...
0
votes
0answers
24 views

Fragment Shader Light Sim

In the game Clash Royale, when you have the ability to upgrade a card, the green part has a light sheen to it an this sheen animates from left to right. How can this be done with a shader? I'm quite ...
0
votes
0answers
124 views

How to design a 2D chess board in Unity?

I'm currently taking a course on Udemy about Unity, and am somewhat experienced with C# (one year high school, two years of college). I just ran across an old textbook that had a final chess game ...
0
votes
2answers
55 views

Unity UI issue trying to make a button work while held down

Pretty simple, have a rotate up button and I ant it to rotate while held down. using UnityEngine; using System.Collections; using UnityEngine.UI; using UnityEngine.EventSystems; public class ...
0
votes
1answer
76 views

Unity Editor Scene View does not match built executable

I'm trying to make my game resolution independent. I'm using Unity's 4.6 UI, and I've got custom resolutions defined at 1280 x 720, 1600 x 900, and 1920 x 1080. In-editor, if I swap between any of ...
0
votes
1answer
62 views

Libgdx unable to enter input in TextFields

Hello I am trying to make login screen for my game, I use TextField's. 1. I am not satisfied with how they look I want it to look like this but simpler - basically to have a white field next to the ...
1
vote
1answer
458 views

Unity-UI not scaling correctly on android

My UI appears extremely small when i build and launch my game on my android device. Im working with unity 4.6. I've tried changing the UI scale mode of my canvas to all 3 types. Scale with screen size ...
1
vote
0answers
16 views

What should I name the keybinding menu? [closed]

Here's a pretty basic question: My game supports custom keybindings. What label should I put on the button the player clicks to get to the menu that lets him customize them? Specifically, this game ...
1
vote
1answer
70 views

Send Messages in Update Function Button UI Unity 5

I've been working on a project where i need to fulfill the following behaviors: 1) when clicking anywhere in the screen the character should do something 2) there are some buttons so except when you ...
3
votes
1answer
242 views

HTML UI with SDL2 [closed]

I realized that I need an HTML-like UI in my game, because by myself I wouldn't be able to achieve such effects (divs, text, coloring, and styling). So I started to look around for a HTML Engine for ...
3
votes
1answer
561 views

Unity - How to get UI text to follow an object?

I'm a relative beginner trying to learn Unity, and I'm trying to do something that I thought would be relatively simple: Have a piece of text hover over an object, following it if it moves around the ...
0
votes
1answer
113 views

Click event doesn't trigger when clicking

I've made some buttons on my screen to navigate to other scenes of my Unity project but the Click(string command) method doesn't trigger. I've placed a breakpoint on the bold line in code below, but ...
1
vote
2answers
194 views

Unity setting rectTransform on an UI Image with a Vector3, do I need to convert coords?

I am trying to build a menu with a cursor. I created the menu and that in the unity UICamera on the canvas. It looks great. I want the cursor to move so what I did was move the cursor by hand and ...
-1
votes
1answer
62 views

Combining Pause and Start Menu

I got my pause menu working by using this code: using UnityEngine; using System.Collections; public class PauseMenu : MonoBehaviour { public GameObject pauseUI; private bool paused = false; void ...
0
votes
1answer
74 views

How are loot box labels positioned?

Take this screenshot for example: How exactly are they positioned perfectly adjacent to each other? Do they already create the label positions based upon the world map first, and then when the ...
1
vote
3answers
2k views

Why does a UI button that is child to a canvas not appear in game view?

I am trying to place a button onto a canvas background using C# script. I want the button specific to the canvas (i.e., if I move the camera to look at another canvas, I do not want the button ...
1
vote
1answer
41 views

Indicate key options in a keyboard-only game

I am creating a music-based app for one of the courses I teach at a high school, so it's not for sale in the app store, it's only for my students to use. I decided to make it keyboard only partially ...
0
votes
1answer
73 views

Game Sprite Motion

I really like the effect that I see in this video of Mario Party 10 Jewel Drop (at 2:40). It occurs when the four green orbs join together. You'll see a four items with long trails move to the top ...
1
vote
1answer
2k views

How to create scrolling input text field using Unity UI

How to create scrolling input textfield using UI in Unity 4.6.6 problems in my project are 1.Cursor is not masking 2.Scrollbar size is automatically become 0 to 1 size 3.Scrollbar is not working ...
-1
votes
1answer
2k views

Unity Ui slider volume control

I have the ui slider to control my volume, I have my slider to control all the volume of the game. I have make it so when the main slider change value all the other slider change with it but when I ...
0
votes
1answer
107 views

Audio slider doesn't change value

For some reason, my slider and audio resets back to 0 when I stop and play the game after I changed the value. Here is the code, I can't spot anything wrong with it: using UnityEngine; using System....
0
votes
1answer
369 views

How do I make one ui slider control all of the game audio?

I use the ui slider to control how loud is the game, what I want to know is how to make one ui slider control all of the game audio?
2
votes
1answer
450 views

Problem, why the mouse cursor position is totally wrong, after resizing the window?

I come here, because i'm trying to add some "menu" interface in my small XNA Game . I found on internet a nice library adviced by many devellopers. Till now everythink is ok, the problem is my C# code ...
1
vote
1answer
1k views

How to make sure that all the UI elements were the same size on all screens in new Unity 4.6 UI system

I have made a HUD for my 2d mobile game with the help of the new UI system, that was introduced in Unity 4.6. But when I am trying to play game in Unity editor, the UI elements have normal size, but ...
3
votes
2answers
1k views

How to make a scrollbar?

I am making my own UI for my game, no libraries used, basic UI with simple controls and I am almost done. Now, let's say I need to display lots of information, controls or items which obviously won't ...
0
votes
1answer
498 views

How do I create a HUD that appears to occupy 3D space/can animate?

I'm working with a group to try and make a first person space platformer in Unity, and was wondering if there would be anyway to create a HUD that moves and reacts to player actions, specifically ...
0
votes
1answer
346 views

Drawing UI using density pixels

I have a question about proper ways to draw UI, since I've learned what I know from the internet and by experimenting I often dont code the "proper" way, instead I do it my own way, not knowing if it ...
0
votes
2answers
213 views

Creating UI using Flixel

I am new to game development but familiar with programming languages. I have started using Flixel and have a working Breakout game with score and lives. What I am trying to do is add a Start Screen ...
1
vote
1answer
155 views

How to load a simple minimap, and hide the background?

I developed a small and simple 3D games minecraft style. I would add a "MiniMap". Until here everything is fine. I had the idea to load the entire map in the background, and then I added the edge of ...
6
votes
1answer
589 views

How can I refactor “attack cooldown” into “attack speed”?

I'm building a game where the player's character can attack bad guys and vice versa. I built this with the concept of an "attack cooldown" because I don't want units to be able to attack each other ...
8
votes
2answers
897 views

Representing feelings such as temperature, pain, smell, taste, hunger, and thirst immersively

In a totally immersive, simulation-type role-playing game, the player should not look at bars or numbers to keep track of his or her stats, so another method of showing these stats is needed. For ...
0
votes
1answer
115 views

Sparsely distributed locked levels?

I want to include some locked levels in my puzzle app as a lightweight reward system. The levels play relatively quickly (average 1-min/level) and there are 100-200 levels in a pack. I prefer not to ...
-1
votes
4answers
580 views

App: My game is ugly. Advice on making it less ugly [closed]

Following is the main screen you see when you start the app. After touch, you get directed to the two options. You can either start from the last puzzle you solved or select from the list This ...
1
vote
1answer
314 views

What is a GUI element with a filling-up rectangle shape called?

After every game of StarCraft 1, the statistics screen shows up. The part I like on this screen is the points counter. It starts from zero and then it counts up to the points you have achieved, with a ...
0
votes
4answers
283 views

Designing interface for interacting with game objects

I'm making a roguelike (-like) game, somewhat like Project Zomboid or Don't Starve. In my game, there are many different object in the world that the player can interact with; there are also many ...
6
votes
1answer
4k views

Confusion with Libgdx UI

I've started with Libgdx and am currently stumbling about trying to understand how to set up the interface. I have generated the base projects in Eclipse ( < proj-name >,< proj-name >-android, &...
3
votes
2answers
100 views

What is the best way to close dialogs in a platform game controlled by keyboard only

I'm developing a flash puzzle platform game in my free time and I got stuck on deciding how to implement a feature. The game will be controlled by keyboard only, no mouse available. My game will have ...
1
vote
0answers
72 views

Indicating low vs high card wins in trick taking card game

I have a trick taking card game in which case there are occasions when the high card wins and occasions when the low card wins. Usually this is based on who lead the trick but some cards can change ...
-1
votes
1answer
261 views

How to go about front end UI to main Game Engine and then to Game Over Phase [closed]

I am about to complete my first ever game. I have used Qt for windowing and OpenGL for actual game logic. I am confused about .. things which are related to design so according to FAQ, these kinda ...
31
votes
9answers
4k views

Why should I choose to design a health bar rather than heart containers?

When designing any hero-based game, be it adventure, RPG, brawler, or similar, you eventually need to decide on your health system. Barring any regenerative systems with zero UI (like Call of Duty), ...