All Questions

0
votes
0answers
5 views

DirectX depth/order render issue

I have what appears to be a depth or order rendering problem which I have never seen happen before. My terrain and water are rendered with my displacement shader, and at the moment all other models ...
0
votes
0answers
4 views

vkCmdCopyBuffer has no effect for transfer of staging buffer

for a vulkan renderer using vulkan-hpp and Vulkan Memory Allocator I am trying to transfer vertex data to the gpu using a staging buffer. Without using an intermediary staging buffer the transfer ...
1
vote
4answers
485 views

2d Rectangle Collision Resolution

My Journey... I've long struggled with rectangle to rectangle collision resolution. I've been making games for almost 10 years and still have yet to find a foolproof, reliable strategy. When doing ...
0
votes
0answers
8 views

Show Sprites on Overlap (Shader Graph) [2D]

I have a character sprite mesh and mesh renderer (The black wavy box). I am hoping to be able to overlay the black box onto the character covering the sprites but I am not sure how to do that. I ...
0
votes
0answers
10 views

Getting solid black color when texture is added to GLSL

I'm trying to apply the default badlogic.jpg image to a .obj I have. I'm currently loading the texture from AssetManager and creating a material with a texture ...
0
votes
1answer
20 views

2D Circular Distribution Overlap

I'm working with the C# wrapper for SDL and am stumped at how to handle this issue. Right now I have a simple Actor that spawns N number of bullets from himself and fires them circularly outward. The ...
1
vote
1answer
17 views

Why is my client's body drifting even after using data from the server, and how do I fix it?

I am trying to use Box2d on nodejs server with libGDX client. What I am trying to apply is authoritative server model so clients are just sending input data to server, server is running simulation and ...
1
vote
1answer
83 views

How to write a PBR Unlit Shader in Unity?

I have a REALLY specific case here: I have an Texture (a webcam), that is used by a shader to pickup a few x,y colors at the cordinates, and renders to a ...
0
votes
1answer
26 views

How can I rotate my character so that he is facing the mouse?

I just want to preface this by saying I am very new to pygame. At the moment I have calculated the angle that I need to apply to my character so he can rotate but I am unsure how to actually make ...
1
vote
2answers
51 views

Select Unity Prefab from enum choice

After a couple tries, I still haven't found any solution to this problem of mine. Currently, I have a script inheriting from MonoBehavior which creates a map with Perlin Noise. Let's call it ...
1
vote
1answer
614 views

DirectX11 pixel shader in pipeline is missing

I'm writing a program which displays a MS3D model using DirectX, and unfortunately, the result shows nothing on the screen. When I use the Graphics Debugger from Visual Studio 13, I notice that the ...
0
votes
0answers
17 views

Remove READ_PHONE_STATE permission from Crashlytics in Untiy

Recently I have added Crashlytics to Unity and now the game is asking for permission to manage phone calls. How do I remove it from the game?
1
vote
1answer
17 views

What is the difference between D3D12 structures/functions with terminal 1 in the name and without?

I could not figure out the difference between for instance CD3DX12_DESCRIPTOR_RANGE and CD3DX12_DESCRIPTOR_RANGE1. Why do both exist? Which should I use? Is there a general rule of behavior/usage/...
1
vote
2answers
51 views

Server Side Movement Box2D LibGDX

I am trying to implement server-side movement using box2d on libgdx client and planck-js(box2d for javascript) on nodejs server. I am running box2d world on both client and server. Before server i ...
0
votes
0answers
20 views

Why is there 2 viewport in D3D12Fullscreen sample? What is sceneviewport for?

In Microsoft's DX12 sample, there are 2 viewports (with 2 scissors, and 2 heap descriptors). It seems that only the postviewport is used (at each resize, ...
0
votes
1answer
24 views

Changing the camera in Unity

I am trying to make a game like mario party in Unity. I want the camera to automatically change between players after each turn. I don't have a lot of experience in C#, and I totally would learn about ...
21
votes
1answer
5k views

How do I prevent inappropriate ads from appearing in my game?

My game implements Unity ads, and is designed with a universal audience in mind. As such, I would prefer not to have 18+ ads (or even 13+ ads depending on the circumstances) appearing in it, ...
0
votes
1answer
36 views

Error in DRAW GUI event on android. (GameMaker)

Image of the game on a mobile phone: As you can see the maze (draw event) has been resized correctly. But the yellow post-it (draw GUI event) has not been scaled or displayed in the correct location ...
3
votes
3answers
86 views

Are delayed abilities bad in turn-based strategy games? [on hold]

In my PvP turn-based strategy, one of the balancing mechanisms for separating stronger from weaker abilities is their "delay", which is the number of turns it will take to actually execute that ...
0
votes
1answer
763 views

How do I cycle through a BufferedImage array of images and display them?

So, I'm coming from Python and Pygame here, porting most of my code because I didn't like the performance. A lot of the syntax is similar, but I've been having some trouble with a few things, namely ...
0
votes
0answers
84 views

How can I get visually accurate collision normals with sphere collisions?

I'm solving simple 3D sphere collisions by checking the sphere for overlap with a mesh, finding the nearest point on that mesh's surface to the center of the sphere, and then resolving the collision ...
0
votes
1answer
170 views

Using non-copyrighted music for a paid game

I'm making a game. It will be sold and not free. Am I allowed to use non-copyrighted music in it?
0
votes
1answer
83 views

How do I wait till an animation is finished?

I am currently working on a Warfare 1917 like game. Right now I am trying to get the combat system working. I have made animations for a running and shooting soldier. It takes exactly 0.5 seconds till ...
0
votes
0answers
22 views

Seamless UV painting in 3d

I have a 3d model with UV and texture. User sets 2 points on the screen, then I calculating UV's of theese 2 points using Möller–Trumbore intersection algorithm, bake a few times using interpolation ...
5
votes
1answer
259 views

How to rotate a parent object while rotating a child object to a certain angle using coroutines

I have a semicircle like game object which I made by putting two arcs in an empty game object (SCircle) and rotating the 15° (for left arc) and -15° (for right arc) as seen below. ...
5
votes
1answer
125 views

How can I let players “scrape away” one texture to reveal another?

In this game I'm making, I want my players to be able to remove rust from an object based on collisions from another object such as a wire brush. Since it's a VR game, performance is key. I've ...
2
votes
2answers
363 views

Unity2D Sprite flips camera when moving left and right

I am using the Unity Engine and coding in C#. I have a sprite as a parent with a main camera as a child so that the main camera follows the sprite. However, when pressing 'A' and 'D' to move the ...
1
vote
1answer
43 views

Is there performance difference between OnCollisionEnter and OnTriggerEnter?

Is there performance difference between OnCollisionEnter and OnTriggerEnter? I have around 12 objects all calling OnCollisionEnter when in fact OnTriggerEnter could work as well. So I wonder if the ...
0
votes
2answers
43 views

Problems generating procedural mesh

I have this code below that I found on catlikecoding that generates a procedural grid that I want to apply noise to, however once I go over a certain value it does expand vertically. Can anyone see ...
0
votes
0answers
34 views

game development software applicable to a potato pc [on hold]

My laptop is 2gb ram and I like to get into game development.Can anyone suggest me some game development platform for 2gb ram laptop.
0
votes
1answer
25 views

Why Some objects or prefabs don't respond to mesh collider?

I imported some assets and, I used some prefabs from that assets. Some of them responds when I add the component of mesh collider to it and disable the ability of going through with it. But some of ...
0
votes
1answer
32 views

Unity - Play animation based on horizontal drag position

So, what i want to do is some what complected, but I'll try to explain it to the best of my ability. I am using Unity's EventSystems events to detect a drag. When the user drags the object ...
0
votes
1answer
43 views

Smoothen line on linerender

I've created a square using linerenderer but my problem now is that the line is not smooth. see below picture. I've tried enabling anti-aliasing and setting lr.numCapVertices to no avail. ...
0
votes
0answers
35 views

Matrix for transforming a square to a quadrilateral

I have a square of points {<0, 0, 0>, <6, 0, 0>, <6,0, 6>, <0,0,6>} (The square is placed at the origin in the xz plane in opengl). Want to apply a transformation/s on the square and make ...
0
votes
1answer
19 views

How To Deselect (Unfocus) All gameObjects in a Unity Scene View?

When I'm done with moving and rotating gameObjects in a Unity scene, I want to deselect everything to not accidentally change it. How? In some applications ESC key does the trick, in others 'D' (...
6
votes
1answer
6k views

How do I use Android's adaptive icons in Unity?

As of API 26, Android uses something called adaptive icons. When targeting API 25 and lower, my app's icon looks fine: But when targeting API 26+, it shows up in a white circle like so: How can I ...
0
votes
1answer
27 views

How to set ortho projection / model view matrix without a camera?

I'm trying to create the correct projection and model view matrix for rendering without a camera. _orthoCamera is a camera I set up in the scene view. Using the <...
0
votes
1answer
182 views

Farseer: How can I calculate the needed velocity in this case?

I have two platforms and one ball. The ball should fly from the red platform to the blue platform. The ball should land somewhere in the purple rectangle of the blue platform. How can I know how fast ...
1
vote
0answers
29 views

Changing color for each element in linerenderer not working

I want to change color for each line(element) just like in color switch. But my code is not working. What I wanted is that the right line should turn blue then the down line should turn color red. ...
1
vote
1answer
683 views

Depth texture white in shader

I am trying to implement shadow mapping into my project and am stuck at this problem: If I'm reading the shadow map values with glReadPixels and linearize those ...
3
votes
0answers
38 views

How can I make Unity run fast when it's not focused?

I'm using Unity3D. I have an automated test suite that takes 1-2 minutes to run. When Unity has focus, these tests seem to run at least 2x as fast as when Unity is in the background. But, it's very ...
0
votes
0answers
19 views

Godot Engine: Referencing C# objects in GDScript (and vice versa)

I am using Godot Engine 3.0.6 Mono for Windows x64. I am prototyping the majority of my project in C# before I rewrite the game in C++ for release. I installed this plugin mostly to help with testing ...
-1
votes
0answers
46 views

What is the distinction between game engine and game scripting? [on hold]

When Im talking about game engine The all stuff you put together like physics engine, render engine etc. On the other side game scripting should be seperated like scene objects, skill calculations ...
0
votes
4answers
3k views

Is there a reliable and fast way of getting a list of all installed games on a Windows PC?

Note: This was the best fitting stack I could find for this. Apparently this site doesn't specify in the scope whether this is allowed. I originally asked in Meta, and they told me to create the ...
0
votes
0answers
13 views

How to Define XML Map in Monogame.Extended.Animations

I am very new to the Monogame Framework, and am trying to get started by using the Monogame.Extended.Animations library. However, when reading through the documentation on the official documentation ...
2
votes
1answer
2k views

how to Move Player on “Z” Axis 2D Movement

I'm working on 2D mobile game, and I'm using the Standard Asset(Mobile) Single Joystick prefab to move the Player. Currently my player moves on the X and Y axis. How can I move my player on the z ...
0
votes
0answers
26 views

How can I change the parameters of the random events for each game entity?

I'm trying to write an easy-to-use random event system that has certain conditions and effects in Unity. It's a simulation game that contains multiple Person, City, Country, Faction elements. I have ...
0
votes
1answer
24 views

Unity Proximity Warning System Trigger issues

I'm trying to set up a proximity warning system but I'm having some trouble. To simplify things as much as possible: I have two game objects in a scene (Object1 and Object2). Object1 has a large ...
1
vote
1answer
44 views

What are some gameplay cases where knowing the Z as a result of the raycasting is useful in a 2D setting?

The context is an 3D engine with a 2.5D level format. Like a roller coaster tycoon level, with some other level features added, and layers removed. For example the tile functions have the following ...
0
votes
0answers
27 views

Problem with water distribution in hydraulic erosion simulation

I'm trying to implement in Python the hydraulic erosion simulation presented in this paper (Jacob Olsen, Realtime Procedural Terrain Generation, 2004) but am running into an issue at step 3 of the ...

15 30 50 per page