Questions tagged [gui]
Graphical User Interface. A term used to describe the tools available to the player to interact with the game.
733 questions
0
votes
0
answers
42
views
Coding a health and stamina bar above player in Adobe Animate
I am using Adobe Animate for my school assignment.
I have a three-segment health and stamina bar that is above the player (it isn't set to be attached to the player yet).
I have a single enemy ...
3
votes
1
answer
138
views
What is this rotation/translation tool thingy called?
I am currently working on filling out some tasks for a task board and I realized I have no idea what this thing is called. It's an axis thingy that you can grab to translate and rotate an object. I ...
1
vote
1
answer
293
views
How to make a rounded corners Player Icon in Godot 4.2.2?
I'm trying to implement a "rounded square" player character's icon in the UI. The actual .png of the icon is, of course, square, 256x256 px, so the UI element must round its corners "on ...
1
vote
0
answers
61
views
How to get UI Panel color to match GUI Window
Attempting to get a UI Panel to match the color and background of a GUI Window. Currently, using the default style for a GUI Window. Attached is a screenshot of the GUI Window. I've tried access the ...
0
votes
1
answer
70
views
How to Remove an extra line at the top of a CustomPropertyDrawer List?
My first CustomPropertyDrawer fits on a single line, but...
The Colorband List is putting it on a new line, wasting a lot of space.
I couldn't find anything in the EditorGUILayout specifications or on ...
0
votes
1
answer
137
views
How to implement an auto scaling feature for an HUD?
I have a question about UI scaling for a game.
I'm using as engine Zandronum (zdoom based) and his ACS scripts to draw an HUD, I've wrote a simple library to make drawing easier and implemented a user ...
2
votes
1
answer
488
views
How to make a multi-value slider in Godot?
In Godot 4.3, I need a multi-value range slider, that does not accept user interaction.
I need to show a range of values (0 - 100) and also a range of accepted values
(40-60, for example). And finally,...
0
votes
1
answer
209
views
How can I connect a signal, with specific signal arguments, to an incompatible function in Godot 4 with the UI?
To clarify, I'm attempting to trigger an event on the entry of the player into an Area3D. This event is handled by an ...
0
votes
1
answer
92
views
Problem with 2D projection
I have a green circle:
Inside the circle, the white frame moves to wherever P, the projection of the targets 3D position into a 2D point, is.
However, outside the circle, the frame will move to the ...
0
votes
1
answer
92
views
Public method doesn't show up as a selectable option in a button's On Click event
I have the following public method in a MonoBehaviour attached to a game object in my scene:
...
0
votes
0
answers
97
views
How to add an HTML + CSS overlay to a DirectX app?
I'm looking for a way to render html and css elements within an executable as an overlay.
There are programs today made in electron such as Blitz or even the best known Discord. They do overlay within ...
0
votes
2
answers
119
views
Bug with TextMeshPro in InputField
I made my pixel font and imported it into Unity using TextMeshPro. It works perfectly everywhere except InputFields. When I change Font Asset to my font, the input ...
1
vote
1
answer
67
views
Move mouse from one viewport to another
I am currently implementing a map editor for a 2D platformer and run into trouble with my viewport and mouse movement.
I have two viewports: one main viewport in the top 2/3 of the screen which has a ...
1
vote
1
answer
805
views
How to structure a complex inventory system in Unity?
My inventory needs to deal with different Item types. Item is my base class, which is extended by Armor, Weapon, Spell, Scroll and I might add more in the future.
All items have an interaction on ...
-3
votes
1
answer
155
views
Character selection screen to choose what character loads in next scene
I am working on the character selection screen for my game. I want it so that, when the player clicks on the select button, the code checks if the imagecollection ...