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 ...
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
21 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

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
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 ...
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 ...
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 ...
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 ...
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 ...
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
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
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
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
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 ...
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, ...
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 ...
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 ...
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
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 ...
-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
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
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
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 ...
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' (...
1
vote
1answer
35 views

Why do my NPC`s fall through the world when I select them as triggers

So im making a game in Unity where when the player comes into contact with an NPC it will switch scenes. I have the code for it and made sure all NPC`s have rigidbody as well as using gravity and ...
0
votes
0answers
11 views

Using Azure with Unity

I currently use Unity 2018.3.9f1. I would like to hook up my Unity program to an Azure service, so that I can store/analyse information about user behaviour. As a primer, I tried to import the ...
0
votes
1answer
51 views

Make half of the sprite transparent

Guys if I have two sprites placed on the same spot. How can I show the half of each Sprite instead of the one on top? The sprites are basic circles All sprites have basic colors, no textures.
0
votes
0answers
31 views

How does Unity store references to GameObjects in a scene

A Monobehaviour can have references to GameObjects in the same scene, but Prefabs, ScriptableObjects can't reference GameObjects in a scene. While Assets, Objects and serialization covers references ...
0
votes
1answer
48 views

How would I move something around inside of a sphere without it going outside of the sphere?

I want to be able to do this, but not go outside of the 4.4 meter limit, the radius is 4.4 meters, and it has zero gravity and no friction. I have a hard time explaining this, but imagine holding a ...
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
1answer
48 views

How can I draw a rectangle with a color gradient?

I'm trying to implement below picture in my code but doesn't work. It only shows red color on all sides. I'm using line renderer and color gradient. Kindly check my code. Thanks in advanced ...
0
votes
1answer
30 views

Project organization for a multiplayer client-server game

I'm programming a game 100% in Java but I'm having some issues concerning the final games architecture. I plan on having two separate projects: one that will hold the client side of communication ...
0
votes
0answers
24 views

How to update model transform of components when using physics?

I implemented a high level components system for my renderer and am curious about the right way to update the transforms components of models that have a physics rigidbody attached. I am using ...
0
votes
0answers
33 views

Overdrawn pixels vs many polygons, which affects performance the most?

I know that having overdrawn pixels is not desirable as well as having many polygons since they can decrease performance. Often when I model I have an option to decrease the number of polygons by ...
0
votes
0answers
13 views

Scripting | Logic/Workflow problems

Im trying to make a Character controller, but I have some problems. I have a principal script where is the movement with velocity, and the jump, also there is a bool for when he can move or not. The ...
0
votes
0answers
23 views

What is a good site to post my game on? [on hold]

What sites should I go to if I want people to know about my game, and download it, and give feedback.
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 ...
0
votes
0answers
59 views

Why is the play button not working on the title screen of my game?

I'm trying to open up a game demo from my class to see what it looks like, but after opening up the project in Unity, the title screen doesn't work correctly. When I try to click the "Play" button, ...
1
vote
0answers
15 views

making a tangram game in unity, how to detect when shapes match

I'm making a 2D game in Unity that's kind of like tangrams, and I wanted to know how I could check to see if the 2+ shapes together make the shape i'm trying to match. The shapes I'm putting together ...
0
votes
0answers
11 views

Pygame Error AttributeError: 'pygame.Surface' object has no attribute 'add_internal'

I'm making my first game of Pygame. I'm going to create groups for the collisions but when I add an object to the group, I get an error in sprite.py in Pygame's files: ...
0
votes
0answers
58 views

OpenGL underwater masking using stencils

My goal is rendering some underwater effects (for example depth base fog) when the camera is underwater. The above water and below water are separated by the water plane which is based on the FFT ...
1
vote
1answer
44 views

How to handle a Google Play game's privacy policy

I am trying to release a mobile game (insert obligatory sellout statement for Chunk of Space) on Google Play, and I'm worried about their privacy policy system. Basically, if you mark your game as "...
0
votes
1answer
31 views

XNA: Classes with Texture2D to be treated as one

Summarised Problem: I have an "Animation" class that I want to be able to treat as its Texture2D field when need be. I do not want to inherit from the class or its parents. I'd rather not create a ...
0
votes
1answer
38 views

Integrate Stripe with Unity

Good day, Need help I'm trying to install the Stripe API Library through NuGet Manager in Visual Studio but it installs it inside packages folder of the Project i.e before Project's Assets folder, ...
1
vote
0answers
18 views

Is it possible to connect an external source machine to Live Link?

I would like to be able to connect multiple external machines to Unreal Engine via Live Link in order to stream solved motion capture from one of the Vicon run-time solvers/retargeter (i.e. Pegasus). ...
0
votes
0answers
12 views

Updating same value firebase multiplayer

I've been developing a boss hitting system for my application with utilization of firebase (firestore). Simply put, there is a boss, visible to multiple users, he got max and current hp. The ...

15 30 50 per page