Skip to main content

Questions tagged [interface]

Refers to a method of interacting with the game. This can be: mouse, keyboard, voice, motion.

Filter by
Sorted by
Tagged with
1 vote
1 answer
274 views

I built my entire game in Unity based on my Android phone resolution, both for UI and object sizes. Now, everything looks good for a 1080 x 2400 resolution, but I know that's not the aspect ratio of ...
Usylom's user avatar
  • 31
0 votes
1 answer
106 views

I'm trying to create an event system that can be used for all types of events that happen in my game but I'm running into this following problem. My player HUD needs to be updated whenever an enemy ...
mtg's user avatar
  • 23
1 vote
1 answer
52 views

When i added in a optionbutton for my hud i couldnt find a way to add items manually,this was weird as when i looked for a way,a button on top of the editor should appear but its not there? I dont ...
NEWBIE's user avatar
  • 23
0 votes
0 answers
45 views

Can I activate the OnDrag and OnEndDrag trough the OnPointerClick handler to start dragging ...
Jamelaumn's user avatar
0 votes
1 answer
54 views

I have a data structure that represents a simple terrain system and a number of filter algorithms that can be run on it. I want to be able to apply them in in any arbitrary order and have multiple ...
arcadeperfect's user avatar
4 votes
1 answer
105 views

In Steve Swink's book "Game Feel", he talks about 3 thresholds the computer must meet in order to maintain the illusion of real-time control. The impression of motion (display above 10 ...
Ken's user avatar
  • 6,136
0 votes
2 answers
328 views

I'm making a Mindustry-type prototype. Some block (such as miners) can output resource (with the IOutput interface), some block (such as containers) can input those ...
silverfox's user avatar
  • 117
1 vote
1 answer
368 views

I have two classes. Both of them are placed in the editor/interface_field folder. ...
qqqqqqq's user avatar
  • 278
3 votes
2 answers
367 views

This might sound strange, but let me explain. Say I want to write a safari program. In this safari there is an object pool of 10 animals (Animal*): 2 ostrich, 5 ...
Tminator's user avatar
0 votes
0 answers
332 views

How do I zoom in using this program in Windows 10?
watercollider's user avatar
3 votes
0 answers
1k views

I'm editing the 2D colliders on some objects of my game, and I need them to be very accurate, so I'm zooming in a lot. Problem is, since my objects are 3D graphically, when I zoom in a lot they ...
Eärendil Baggins's user avatar
0 votes
1 answer
156 views

I want to implement a damage system that works across both living items (Entity) and environment items (Environment). The key ...
Kendall's user avatar
  • 107
3 votes
0 answers
1k views

I have a collection of different enemies that I save as Prefabs with default AI settings. I drag them into the game world and apply changes to the AI as necessary. Every now and then for some reason I ...
AzulShiva's user avatar
  • 679
1 vote
2 answers
878 views

How do you unselect a game Object in the 3d view using your keyboard?
AzulShiva's user avatar
  • 679
2 votes
3 answers
229 views

Lets say I want a game to be able to run with SDL, Allegro, on Game parks or Tiny Arcade and I don't want to recode everything everytime I port my game. The C and C++ language separate definition in ....
Eric P626's user avatar
1 vote
0 answers
38 views

There is a type of multi-scale world browsing that has appeared in games in the last few years and I would be interested to know if there is a specific term that this browsing is known as and more ...
A_A's user avatar
  • 111
0 votes
1 answer
92 views

I'm creating a platform system using a raycast controller that uses an interface to perform different tasks based on the type of platform with which my player is currently colliding. Some of the ...
Ginger and Lavender's user avatar
1 vote
0 answers
235 views

I have C++ function (which runs some physical simulation inside my game engine) which looks like this: ...
Prokop Hapala's user avatar
1 vote
0 answers
103 views

I've created a basic 3d character (humanoid) in Blender with animations etc. I've imported it into Unity and it works fine. However, I have written my own code to handle the CrossPlatformInput script ...
Big T Larrity's user avatar
1 vote
0 answers
197 views

Other contexts in which this was done I'm sure have been answered for this kind of problem before. But this has thus far been a 2 week long impasse of wittling down all the other suggestions I've seen ...
blackhalo117's user avatar
2 votes
1 answer
2k views

Please be aware that this was initially a question about how to get the input to work. A comment pointed me in the direction of a fix, but only left me with more questions in regards to understanding ...
Gnemlock's user avatar
  • 5,333
3 votes
0 answers
142 views

I was wandering how easy is to interface existing Java programs/GUIs inside a game loop. Sorry if my question is a bit vague. I'll try to explain. I am currently designing a simulation environment ...
Vagos Duke's user avatar
1 vote
0 answers
796 views

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 ...
netgoblin's user avatar
  • 111
1 vote
2 answers
74 views

I made an (ios) arcade game that is rather unconventional, and as a result many people wont exactly know what to do or what the controls are when they first open it. As a results I have had to add a ...
J.Doe's user avatar
  • 289
3 votes
1 answer
3k views

I come from Unreal, still using it. There, how it works is like this: Let's say you as a player have a laser gun or something, and when shooting, you use raycast to see if you've shot anything, and ...
name's user avatar
  • 31
4 votes
2 answers
1k views

I need to create menu items on top of my DX11 windowed app - similar to most windowed applications (File, Edit, etc...). How can I achieve this ? There is a hMenu ...
PinkTurtle's user avatar
1 vote
1 answer
848 views

In first-person voxel games (like Minecraft, shown below) you can select voxels by going over them. What kind of algorithm is used to select a voxel? I haven't implemented it in my voxel application ...
user112513312's user avatar
1 vote
2 answers
2k views

I'm implementing a GUI system to look around a 2D tile-based world. At the moment, I'm updating it every time the mouse moves (which happens to be per frame, since that's when it polls for events). ...
Famand's user avatar
  • 11
11 votes
2 answers
27k views

Could anyone please explain to me the differences between "diegetic," "non-diegetic," "spatial," and "meta" user interfaces in terms of how they are represented in games and game development?
JekasG's user avatar
  • 409
0 votes
1 answer
108 views

This is my first time using interfaces so I imagine I'm doing something dumb. I have an interface called ILoadable inside ILoadable.cs; ...
AmazingMrBrock's user avatar
0 votes
1 answer
253 views

In our project we used to have a PlayerObject class and then Unit and Building derived from that class. We recently started taking a look at Bolt, which requires classes that define objects that may ...
Douglas Gaskell's user avatar
3 votes
1 answer
514 views

I want to render some text using a gradient instead of a solid color, but I can't figure out how to. I first load a gradient like this: ...
user3195897's user avatar
2 votes
1 answer
6k views

I want to create a button for a game's UI. The background uses a gradient and then I blit a surface on top of the gradient and use SDL_SetColorKey to delete the unwanted pixels. The surfaces are not ...
user3195897's user avatar
1 vote
0 answers
821 views

Im making a user interface using libgdx I created a Window class & a Textfield class, that both use clipping. I use the ScissorStack class of libgdx for clipping. The Textfield is drawn inside ...
LeSam's user avatar
  • 278
32 votes
7 answers
11k views

It seems to me that it would be more logical, reusable and user-friendly to implement flexible, responsive UI layout over a 3d or 2d screen, which can then be run on any screen resolution. Some ...
user44900's user avatar
  • 321
1 vote
1 answer
8k views

I want to create a menu for an SDL game, so I load an Image to an SDL_Window as the background, then I try to load the next image which will be a button but it doesn't display the button to the window,...
user3195897's user avatar
3 votes
1 answer
3k views

I want to create a menu for a game using a color gradient as the background. Is there a way to create a gradient background instead of using an image for it (since I don't know what size the window ...
user3195897's user avatar
1 vote
1 answer
2k views

I'm about to start programmin an inventory, harvest and loot system. I will need enemies that drop items, harvestable environmentals that yield resources and an inventory system that takes items and ...
Daarwin's user avatar
  • 829
1 vote
1 answer
702 views

I just solved my issue in my object (on the stage) I forgot to name the element I'm trying to make workin a custom mouse cursor on my Scaleform menu. I have follow some tutorials but nothing good... ...
Jeremy Talus's user avatar
0 votes
1 answer
877 views

I am working on a 2D engine in Xna and am running in a bit of trouble with Collision implementation. What I want to do is have an interface ICollidable that I can add to GameObjects that are ...
Yme-Jan's user avatar
1 vote
1 answer
2k views

All I've have an interface that allows me to switch between different scenes in my Android game. When the home key is pressed, I am saving all of my states (score, sprite positions etc) into a Bundle....
BungleBonce's user avatar
  • 1,937
1 vote
1 answer
1k views

there is a text box on GUI in my application created using Unity3D. in the textbox user can input only the keys of "A-Z", "0-9" , "enter key" , "." and "," other key press should be ignored (not ...
Tharindu's user avatar
  • 125
0 votes
1 answer
239 views

So I'm trying to test an ImageButton on an Android device. I can get the button to appear on the screen, but when I press it nothing happens or appears on the log. Here is what I have in the Show() ...
BrotherJack's user avatar
1 vote
2 answers
1k views

I recently started using slick2D in my gaming programs and a problem I have is not having the ability to remove the border/titlebar. I usually do this to create my own cutom look/ interface but if I ...
Exikle's user avatar
  • 236
2 votes
1 answer
287 views

I have been stuck in the design phase on my new game for a few weeks now because I keep finding new parts of the game engine that I could make more modular and neat. I did, however, run into a ...
Squagem's user avatar
  • 345
5 votes
1 answer
829 views

I would like to add a GUI in my basic XNA games. Before starting work on "Photoshop" or "Illustrator". I wanted to ask you the following question: Do you know of a website or other resource program ...
Mehdi Bugnard's user avatar
3 votes
0 answers
323 views

Today I implemented the interfaces for libRocket in my engine using OpenGL 3.3. I got a standard RML file and some fonts and images which where needed in this RML file. It seems that the page/RML I'm ...
Bjorn's user avatar
  • 199
5 votes
2 answers
955 views

I have a map of adjacent irregularly-shaped territories. It happens to be a county map, but that's not important. In the game, the player only sees a few to start, and as he progresses to new ...
Paul Gestwicki's user avatar
3 votes
1 answer
373 views

I'm currently coding a heavily text-based RPG game which requires you to do deals with characters or suppliers in the game, sometimes the deals are good/bad. Currently the way I'm doing it is that, ...
zardon's user avatar
  • 241
5 votes
4 answers
1k views

I am currently programming a very simple 2d game in C# with XNA. I was wondering how to implement a console-type interface in a game or graphical software like there is in Skyrim or Counter-strike or ...
SamHLec's user avatar
  • 53