Designing a clear method of communication between the game and the user, whether hardware or software.
1
vote
1answer
28 views
Unity fade all UI elements which belong to one Canvas
Like the question describes I want to fade out/in all UI-Elements belonging to a parent canvas.
So things I got are :
A World-Canvas which contains multiple UI-Items
A script which can fade one ...
1
vote
1answer
50 views
How about fitting into gaming industry with Design and Development mindset and seeking for a masters degree? [on hold]
Might be the question is a bit weird but that's what I'm focused on and want to discuss about obtaining a masters degree to fulfill my dreams to work as both designer and developer.
I work as a ...
0
votes
2answers
52 views
Game Design: Colour units per team or per unit type?
In an RTS game where the units are viewed from the top so that they appear relatively small on the screen:
What would be the best game design?
Colour the units per team, for example: enemy is always ...
1
vote
1answer
27 views
Unity UI making it responsive
I am attempting to create a simple Jeopardy game using the UI features of Unity:
However as im trying to change the size of the screen it does not seem that my UI is responsive:
Here is it in 16:9:
...
1
vote
0answers
55 views
How dev consoles work?
I want to implement a dev console similar to what is in DOOM.
Is there a standard implementation for dev consoles or would I have to build everything from scratch?
0
votes
0answers
42 views
Unity Scrollview reduces size of items added to “Content” at run time, but works fine adding in editor
I am facing this ridiculously stupid problem which I am sure has a simple solution to it. I was following the brackeys tuorial for a server browser for a multiplayer game using scroll view. (Posted ...
1
vote
1answer
76 views
Unity UI Animation Transition
So I'm fine with gameplay coding, but menus are something I'm still very new to.
I was watching Unity's own video on how to deal with Buttons and I thought I'd try mock up my own button animation ...
0
votes
1answer
36 views
libgdx - Scalable UI without Scene2D
I currently have a fairly decent framework for a side-view strategy-ish game built around libgdx. While I may have reinvented the wheel a couple of times, I believe I've done the vast majority with ...
0
votes
1answer
17 views
Asset Library Class or passing Asset's through constructors
I am at the point of designing UI-Logic and I was wondering what a good way to pass asset information to these objects would be.
What I was trying as of yet was passing assets to the objects ...
0
votes
0answers
68 views
Unity UI: Buttons not highlighting
I have a World Space canvas named UI, which has multiple empty child gameobjects, each one containing multiple buttons and text. All but one are inactive.
Once I press a button on the active empty, ...
3
votes
1answer
126 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
149 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
71 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 ...
3
votes
1answer
37 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 when ...
4
votes
0answers
114 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
121 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
459 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
189 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
59 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
457 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
70 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
33 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
233 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
3answers
91 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
113 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
81 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
2answers
742 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
75 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
314 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 ...
4
votes
1answer
1k 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
142 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
487 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
67 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
86 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
3k 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
44 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
77 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
125 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
542 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
591 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
3answers
2k views
How to make a horizontal scrolling menu in Unity 3d 4.5
I want to make a horizontal scrolling menu that will hold the levels of a game but I have a little idea about how to make it so it would be very great if anyone help me with it.
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
581 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
357 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
218 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
157 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 ...