# All Questions

45,726 questions
Filter by
Sorted by
Tagged with
25 views

### Fastest way to look up an entity with a set of components?

I'm currently trying to implement an ECS system, but I've sort of ran into a problem trying to fetch all of my entities that have a specific set of components. I currently have a Dictionary that maps ...
12 views

### Card flip animation in a prefab. How to flip with local position?

I'm making a simple card game, with some cards laying on the table. I want to flip the card when it's clicked, so I thought I'd use an animation to do it (lift card up in the air, rotate it and lower ...
27 views

### Problem making wave animation

I want to simple wave-like animation using mesh. I thought that it would look like a wave if there would be a point at the middle of the mesh and change z axis of that point, and after this I change ...
32 views

### How to store noise in a GL texture

I find that my procedural simplex noise in my fragment shader hurts performance, so I thought I would just use a stored noise texture instead. I would like my noise values to have better than 8 bits ...
16 views

### Rendering multiple textures on same image for terrain with index buffers (LWJGL 3)

I have started with LWJGL3 and trying to built game engine. I'm stuck on generating terrains and this is my second big problem and I'm exhausted so I need some advice on how to solve my problem. What ...
35 views

### How can I make a computer opponent for my board game?

I am trying to create a game, not exactly checkers, but the level of its interactivity is on par with checkers as opposed to something more complex (I think) like chess. Anyway, according to my ...
36 views

### Do I need to learn calculus and linear algebra for game development? [on hold]

Do I need these two along with graphic design for game development ?
18 views

### Limit the length of drawRay doesn't work

I want to draw ray to check how my raycast works in Unity editor. However all above code doesn't seems to work, drawn ray is always super long. ...
24 views

### How can I take screenshots with two cameras simultaneously in Unity?

I am trying to capture different parts of a scene created in Unity. I have two cameras capturing different parts of the scene. Now, I need to take screenshots using these two cameras simultaneously. ...
31 views

### How to measure time interval (different languages)

What is the recommended way to measure time intervals for a game loop? Consider the situation in which a developer is writing their own game loop. Using a third party game engine such that you do not ...
7 views

### How to use styles in Monogame.Extended.GUI?

So i was looking at the Monogame.Extended.GUI Project and used this instructions to set it up in a .net Core Project. So far everythings works fine. I followed the example of the demo and created a ...
18 views

### Vectorial clothes / hair cuts that adapt on any character size, how is it done?

Rimworld characters are simple but very nice to watch. They have different sizes, hair cuts, clothes... And everything seems to adapt to everyone. How does that work technically ? For example, any ...
19 views

### Game input display is slow

I'm trying to build a very small example to run input logic but i'm facing a small issue. The code below is runnable with MonoGame v3.7.0.1708. My problem is that whenever you press a key (here the ...
28 views

9 views

### Isn't PhotonNetwork.Time supposed to be different in every FixedUpdate call?

I noticed that PhotonNetwork.Time can stay unchanged for several FixedUpdate() calls (sometimes up to 10-15 in a row). It seems ...
32 views

### How can I spawn objects in a volume without intersection?

I am generating a 3D scene that involves spawning lots of 3D objects in a finite volume. I need to avoid intersection of objects.
22 views

### Unity Editor - Adding Object Fields on button click

So I am trying to make a button that will spawn an object field and a float field when clicked. Each object field being unique, so I can add gameobjects to it. I can’t think of a way to do this. This ...
18 views

### Nonsense error when increasing LightSource angle?

My project has a Light Source and a Sky Sphere Blueprint. The rotation on the y axis (Light Source) defines the position of the sun (Sky Sphere Blueprint). Character Blueprint (increases by 10 ...
16 views

### Asset with blinking lights/buttons for Unity?

I'm working on a number of assets that will have blinking lights on them. I'm trying to determine how best to set these up for use in Unity. For example, if I have a control panel with light-up ...
21 views

### How do I make my character walk on a platform without falling?

I'm developing a game where the player has automatic movement, it's a platform game. I need my player to when it walks on a platform it doesn't fall when the platform ends (I want the player to turn ...
26 views

...
13 views

### Need to separate textures for Unity prefabs

I'm a beginner at Unity and so I apologise if I'm asking a really stupid/simple question. I have a number of 3d objects that were exported from a Blender project an then imported into Unity. I ...
14 views

### LibGDX/Tiled rendering order

I'm using LibGDX and Tiled. I need to render a Texture for my repeated background, then myTiled map and finally the sprites. My problem is that if I put ...
19 views

### Canvas image should not influence lighting [on hold]

I would like to insert an image on a Canvas into my HDRP scene. This image should serve as the background of a 3D scene. It should not affect the lighting. It should be ignored the FX and the lights. ...
24 views

### How to support more than 4 XInput controllers?

I'm making a multiplayer game in GameMaker Studio 2. The game supports upto 12 controllers, where the first four are XInput controllers. The rest would be DirectInput. If I try playing with 8 Xbox ...
38 views

### I need help with OpenGL Quads Building a 3D room

I’ve been studying OpenGL for some time now and got very good at it to a point in my studying but the next adventure I’m trying to create a 3D room with a floor, ceiling, and walls and maybe a bonus ...
24 views

### Where and how should I check for collision in multiplayer game?

I'm making a multiplayer game. For now, I added a script to towers and I have booleans to change using OnTriggerEnter. When triggered, client sends a message to server and towers health starts to get ...
49 views

### Unity character vibrates during idle animation

My player character vibrates in his idle pose for some reason. He has 3 animations (IdleState, WalkState, RunState) and the latter 2 run smoothly, but when I don't provide directional inputs and he ...
24 views

### Unity3d:Detect a collision between an image and a sphere

So, I just realized, an image with BoxCollider2D wont detect any collision with Sphere with <...
37 views

### How to prevent enemies from oscillating left and right during chase?

I have a grounded enemy with a simple chase state. When in this state, the enemy moves with constant vel.x toward the player. If my player jumps directly above the enemy however, the enemy will ...
17 views

### Determining value to add / subtract scaling

I have a menu panel. It appears if the user presses the Enter key, and it disappears if he presses the Enter key again. When the menu is still hidden, its X scale is set to 0. In its normal / ...
20 views

### How to make character not enter the platform when colliding on the side with the platform?

I had a problem with detecting my character's collision with the enemy being detected in 2 ways: side by side when it (character) jumps into the enemy's head. I imagine it to be basic, so I figured ...
44 views

### What are the ascii numbers for shift and control?

I is trying to makey makey a program that will detect when certain keys are pushed. My only problem is that I dont know the nombers that corrospond to the shift key and control keys. I am writing this ...
21 views

### What is the difference between HDRP materials and normal materials

I want to understand these materials I am always confused of using HDRP materials that which one is used for low texture which one is for high texture, for glass, for particles and many other.
24 views

### Problem with rendering multiple textures from same image (LWJGL 3)

I have started with LWJGL3 and trying to built game engine. I'm stuck on generating terrains. I have one image that contains two textures. So now for example I want to generate terrain with only ...
40 views

### What are the prerequisites for developing a game? [on hold]

I want to be able to create games like hole io, aquapark.io, Rolly vortex or helix jump but I do not know the the perquisites for it. I am just starting. What should be my approach? What are ...
34 views

### JWJGL Multi-threading to separate update and render

Introduction: I am currently designing a game in Java using the LWJGL 3.0, with Gradle. I have quite an advanced knowledge on multi-threading, and I am aware how GLFW does/doesn't implement multi-...
36 views

### What are the necessities for developing a game? [on hold]

I want to be able to create games like hole io, aquapark.io, Rolly vortex or helix jump but I do not know the the perquisites for it. I am just starting. What should be my approach? What are ...
21 views

### NPC Melee fighting movement issue

So i have been struggling with this for ages and I have now decided to reach out for help. The Problem: The game has two NPCs for reference we will call them "Ally" and "Enemy" Ally and Enemy each ...
24 views

### How can OnMouseDown in the parent object be triggered from the child placed on top of it?

I am learning Unity from a book. The example is to create a 2D memory game as follows (viewed in perspective view). The green (background) at z=5, the purple ...
13 views

### Unity Webpage Display - Version Issue

I'm attempting to use the following with the most recent version of Unity: https://bitbucket.org/vitaly_chashin/simpleunitybrowser/src The plugin works perfectly within the editor, but when building ...
46 views

### How to make extendable Mario warp pipe in Unity?

I want to make a warp pipe from the Mario games in Unity. The key feature of this object will be that I can set the length (height) of its "neck" to any length I require, as long as it is greater than ...
14 views

### Where should I start when making a 2D Point-and-Click game that has static imagery like the classic Shadowgate game? [on hold]

I'm having trouble finding a good reference for the specific type of 2D point-and-click adventure I'm thinking of. I would like to make a game that is in the vein of the classic Apple/NES game ...
24 views

### Problem with collisions detection on canvas platformer

Having a lot of trouble with my collision detection in my platformer. If you go straight to the right the block will float. Also the corners let the block sink right through and the walls are sticky. ...
14 views

### Armature's bone can't be rotated in Unity when I'm trying to rotate its chest toward its looking direction?

I want to rotate my character's chest, so its looking direction will be visualised correctly. But I think that the animation controller doesn't let me. I logged its rotation before and after I set ...
15 views

### Some of mesh too dark after bake lightmap

Take a look at this picture: As you can see from the picture, some walls have this dark texture after bake lightmap. UVMaps are fine, but have no idea why this happens. This is the UVMap, walls made ...
19 views

### What is high poly render distance'? [on hold]

In Ultimate Coaster, in the app options, it says 'high poly render distance' and underneath you can select high medium or low. I was wondering what this means and what it does.
32 views

### How to split 2 teams for a FPS death match game in Unity?

I'm making a playable one level only FPS death match game in Unity. I'm in the part where the AIs now can find and shoot their own target and keep looping to find targets until nothing left. Every AIs ...