Designing a clear method of communication between the game and the user, whether hardware or software.
0
votes
1answer
55 views
Should I use retained mode or immediate mode
I'm trying to make a opengl wrapper for winforms(.net). Basically you code in gdi+ syntax but it gets rendered for opengl(using glcontrol of opentk).
Which mode should I use for rendering ui? It has ...
0
votes
1answer
49 views
Unity 5.5 - Modify image of a button from an array of images via script - Logic Help
Right now i have this:
Is a placeholder for what i want to do. This blue circles are images in different buttons, i have a blue image circle for every letter. I have to display the correct letter ...
1
vote
1answer
44 views
Unity Raw Image ui not showing when small
I have some Images online that I download using WWW class and the use as UI elements.
So far all of them where working perfectly but now the one I added recently is acting up.
First you should know ...
1
vote
1answer
52 views
How to create UI with multiple panels for multiple resolutions
I am trying to create scene that has multiple panels, but only one is visible. When user clicks on appropriate button a transition is happening: camera moves to the right revealing panel on the right ...
0
votes
0answers
24 views
Multi-Layer RTS Action Bar
Most RTS use a 3x3 or 3x4 action bar to control the unit, build things or use abilities. Some buttons are directly triggering an action like "attack" or "retreat", some will open a new leay, e.g "...
0
votes
1answer
70 views
How to match UI background size with text length in Unity?
I am making an FPS game in which when you are near an item a UI Text appears at the bottom center of the screen indicating the name of the item and the button to pick it up (let's say [E]).
It works ...
0
votes
2answers
38 views
Canvas not filling up the whole screen in Unity 5
i am trying to make my canvas auto resize to any screen size. these are my canvas scalar settings:
UI mode: change with screen size
match height and width
reference resolution: 600x800
i looked up ...
0
votes
0answers
32 views
Game Object will NOT stretch across entire content area
I'm loading prefabs into a content area using a content size fitter and vertical layout group. I've tried multiple things to get the loaded prefabs to stretch across the entire content size (including ...
0
votes
0answers
24 views
UI text in Unity with Google VR
I am trying to make a UI text in the left upper corner that shows wins and losses. However, it doesn't appear. I have tried to make it world space and drag the canvas so it becomes a child of the GVR ...
3
votes
4answers
200 views
Should I Have a Ridiculously Easy First Level? [closed]
I am making a game based on a grid and filling in certain squares with certain colors according to some rules. It is level-based, and the difficulty of a level is determined by the size of the grid ...
1
vote
1answer
69 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
65 views
How about fitting into gaming industry with Design and Development mindset and seeking for a masters degree? [closed]
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
64 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
45 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
59 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
73 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
133 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
77 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
19 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 ...
3
votes
1answer
210 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
207 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
133 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
95 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
1answer
240 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 ...
2
votes
1answer
251 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
878 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 ...
2
votes
2answers
314 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
68 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
835 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
82 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
50 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
422 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
152 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
177 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
134 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
1k 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
19 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
91 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
420 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
3answers
2k 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
182 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
826 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
71 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
113 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
4k 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
46 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
78 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
3k 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
140 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....