All Questions

2
votes
1answer
84 views

Mesh rendering performance optimisation

I'm working on a libgdx implementation of mesh terrain and running into some performance issues. The terrain is represented by a number of mesh tiles, each mesh is made of vertices laid onto a 2D ...
0
votes
1answer
32 views

2d Rectangle Collision Resolution: Find rollback point

I have a 2-part question: 1: I have 2 rectangles, A and B. B is a wall and A is moving. My simple logic here is every time A moves, it moves based on some (x,y) offset and then checks if it collided ...
0
votes
0answers
18 views

Whats the minimal setup to create a quadrupeds physics creator for a simulation in Unity? [closed]

I have been looking around to create a simulation to run reinforcement learning algorithm on quadrupeds. Hearing how the Unity editor is the go to for researchers due to its ease of use and rapid ...
0
votes
2answers
75 views

Technical term for the border that appears around the screen, usually in response to low health?

This had a strange term but I can't remember what it's called and it's difficult to search for.
0
votes
0answers
63 views

How can I optimise my game and its game objects?

I have a 3D game in Unity and I use blender to design models for it. My game has a feature where if you click a button, an object is cloned. An example from my game is a tree that is cloned around 100 ...
3
votes
1answer
109 views

Wind-blown fire particle effect from scratch

I want to create an effect of fire and be able to give it a variable amount of "wind" to make it blow to the side. I don't want the particles to just curve off to the side, but to flow through the air ...
0
votes
0answers
18 views

scale on z axis move

At the position z = 0 my box has size on one side 0.2. When, for example, I move it to z = 1.5, size of it scale up. I've trided to calculate it by using triangle formula z*tan(fov/2), but it does ...
1
vote
1answer
82 views

Avoid useless copies of buffers

The other day I was looking at a opensource engine, basically it was uploading the image from a file to a RAM buffer adding some decoding while streaming (I assume this is done "in-cache" so I can't ...
2
votes
1answer
101 views

Procedural terrain generation is very slow

I've been trying to create procedural generated 2d terrain (similar to a game like Terraria) using Simplex noise. I was able to get the noise function working, and I set up a grid of 16 by 16 tiles ...
0
votes
0answers
27 views

Understanding UE4 OpenGL contexts

Recently, I was browsing the UE4 source code. I was especially interested in the OpenGL implementation on Windows. The OpenGL "Dynamic RHI" (as they call it) implementation can be found in the ...
0
votes
0answers
8 views

Calculating offset for translation between layer and world

When translating offsets between two coordinate systems, I'm using xOffset = Math.Abs(System2.StartPosition.X) - Math.Abs(System1.StartPosition.X) yOffset = Math.Abs(System2.StartPosition.X) - Math....
1
vote
0answers
75 views

The most popular Resolutions and Aspect Ratios in Android OS 2019

I develop the game with Libgdx framework. When I tried to deal with support multiple screen resolutions it turns out that Libgdx is not following Android approach how to deal with Screen sizes and ...
0
votes
1answer
63 views

JavaFX - How do I create a health bar?

I tried searching online on how to implement health bar with Java FX in a 2D side-view Java fighting game but I can only find those that goes with 'awt' and 'Swing'. The health bar I'm picturing are ...
0
votes
1answer
64 views

Get a Jump normal gravity based on Attractor Points, lines or Quad placed in the Level Design (in a Mario galaxy like gravity)

I have an algorithme to find. I have a player in a 3D space on a random planet. My goal is to have an oriented gravity toward my planet. And when I jump: Find the right normal direction. BUT I can't ...
0
votes
1answer
19 views

Synchronized non-local CharacterController's velocity is stuck at the last movement in Unity3D

I have CharacterControllers as players in my multiplayer scene, and they got NetworkTransforms attached, with ...
2
votes
0answers
21 views

What is causing a SIGSEGV in mono_class_vtable_full in Unity for Android?

I'm a developer of a mobile game, and we have Crashlytics in our game. For the latest release for Android, we are having crash reports with the following stack trace, for a number of players: ...
1
vote
1answer
27 views

Correctly get size from Canvas UI element on Unity

Normally when anchors are on the same position, we can use .sizeDelta or .rect.width/height from ...
0
votes
0answers
32 views

How do i get effect when gems come together in godot?

I'm create gems puzzle game, In my game there is requirement that 2x2 matrix gem will group and then it will convert in power gem. check below image. I'm new in game development, so anyone can point ...
0
votes
2answers
35 views

Is it possible to add a sprite to a joint?

I want to have a joint between two objects, but I also want to highlight to the user that these two objects are connected together. I am assuming this isn't the correct method, as a joint is just a ...
0
votes
0answers
52 views

Adding 2D versions of real cars in a game can be a legal issue? [duplicate]

I've been thinking in doing a car game, but i wanted to add "real" cars into the game. Are 2D renditions of the cars with sprites/vector 2d graphics fine?
1
vote
1answer
34 views

HLSL equivilant to “Object” data from “Texture Coordinate” node in Blender

I mocked up a shader how I wanted it with the node editor in Blender. Now I'm trying to write it in HLSL. In Blender there is a node group called "Texture Coordinate". If I use the "uv" node from the ...
1
vote
0answers
11 views

Is there an established way to create a 2D XY NavMesh in Unity?

Specifically, one in the empty space between colliders, rather than on an XZ plane (more or less) over the surface of a collider? Specifically this is because I have a drone, in a current project, ...
0
votes
0answers
26 views

Looking for a simple-enough game that is multiplayer and uses a database backend [closed]

I would like to be able to experiment with a game for which the code is freely available, where I can build and run the game and obviously also deploy the needed DB that is needed to support the ...
0
votes
0answers
56 views

How much should I expect to make from 1,000 ads in a kids' game?

After much googling, I have been unable to find this relatively simple information. As far as I know, the main types of ads are: Banners Full screen ads 5-second video ads 30-second video ads I know ...
0
votes
0answers
18 views

how do I instantiate something with only the y axis rotation matching the instanciators y rotation

i'm making a swimming mechanic for my game and i need to instantiate the swim camera under neath the fps player when it hist the water. no mater what I try the swim cam wont have the same y rotation ...
1
vote
1answer
78 views

How to ease toward a rotation limit, instead of stopping abruptly?

I rotate my camera using a framerate-independent exponential ease-out blend like so: ...
0
votes
0answers
22 views

Greedy Meshing : Slow to rebuild when updating chunk

I've a problem with my voxel based game. The game is sliced into chunks (Like Minecraft), each chunk is 16x256x16 blocks. When I started the project, I used a basic culling system when hidden blocks ...
0
votes
0answers
16 views

How to detect two finger rotation Unity c#

I am trying to achieve rotating an object when two fingers are rotated on the Sensel morph touchpad. ...
0
votes
0answers
27 views

How to Create a Blast of Liquid in Unity

I am making a small cartoon-ish fighting game, and one of the weapons is a Hot Coffee Sprayer, which is a shotgun style weapon. How do I create a thick blast of dark liquid to come from it, with a ...
1
vote
0answers
39 views

How to make an authoritative multiplayer game deterministic for all clients? [on hold]

I'm starting to create a multiplayer online game, with an authoritative server. As it is, the clients send inputs to the server which do the simulation and then send back to clients the updated state. ...
0
votes
1answer
26 views

how do I move an object based on rotation of another object?

This question is related to my other question about camera rotation. I hope its acceptable to ask a second question. I cannot figure out the math of how to calculate moving the camera to stay behind ...
1
vote
1answer
50 views
+50

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
0answers
36 views

Season system Implementation system in unity

So I am planning on implementing a seasons system for a 2D top-down game. Each season will have a characteristic terrain feature e.g. summers will have patches of grass spread out .. which I wanna ...
0
votes
0answers
14 views

Can i publish game on google play before being 18 years old [duplicate]

I just made my first game with Unity and want to publish it on Google Play, but to do that I need to tick a checkbox that says that I'm 18 years or older, but I'm not. Is this a rule that I need to ...
1
vote
1answer
42 views

Sum of FoV enemies

so what I need is to calculate the sum of players' Field of view. Put simple, In a 2d space, I want to check how much they cover (in degrees). So here are a couple of use cases to explain by example: ...
0
votes
0answers
20 views

SDL_WarpMouseGlobal does not work in game

I tried to use SDL to move mouse in game. The function works fine only in menu, when I join a game, the function does not work. I checked coordinates with ...
1
vote
0answers
41 views

How do I make both the Standard Unity Sphere and Pro Builder Sphere behave the same way?

I recently got into Unity and have been developing a game with a co-worker. Long story short I was thinking about using Blender for the 3d models but found about ProBuilder and gave it a shot. Here's ...
1
vote
1answer
26 views

Add a tag in Unity editor in code

How to add a tag in editor? I am working on automatic asset generation and I would like to use tags for certain objects.
0
votes
0answers
10 views

Websocket client connection for Unity 3d

am looking for help to get usage of websocket client in unity3d. i have my business logic running in python which posts the msg in JSON format to port say 8080 using websocket server code written in ...
0
votes
3answers
98 views

Is there an advantage to creating a tileset instead of multiple content items?

I'm using MonoGame to build my first game (yes, I'm new to game development). I'm trying to start by creating a 2D platformer so I want to have different "tiles" for the ground, walls, ceiling, etc. ...
1
vote
1answer
50 views

Composing Game Metrics

So I'm running into a bit of a roadblock with the way I'm currently keeping track of game metrics. By "metrics", I mean little bits of information that I can compose together to get useful information ...
0
votes
0answers
31 views

Collision detection not working on some parts of mesh

Racing game with a single mesh to act as a collider for all the track sides. Recently revised the mesh and now it is behaving strangely. The player correctly collides (bounces off) some parts, on ...
59
votes
6answers
11k views

How to calculate the price for acquisition of a mobile game

I searched long and hard thru the Game Dev community here and I didn't manage to find a good enough answer for a situation that I need help with. Here is the deal - I've spent about a year to single-...
0
votes
0answers
31 views

Making AI follow player in pacman game with grid

I have an AI that I want to navigate a maze in order to follow the player. I thought of creating a large grid with the help of FloatRects, so I do it like this: ...
2
votes
2answers
63 views

Set stats per tile in Unity

I was trying to implement a destructable tile like: ...
0
votes
1answer
22 views

Defining tileset for Tiled Terrain Brush — incorrect tiles selected at transitions

I'm using TilEd (https://mapeditor.org) to make maps, and so far have used the programs Terrain feature to create water/paths etc no problem. I'm trying to create trees now, and I've been at it a ...
0
votes
1answer
37 views

Is it legit to use Custom Controller Buttons for PC Games in Unity?

Not sure if this is off topic, but I have a problem. I'm making buttons for my own controller in my Game. For example, the attached images will appear to indicate the player to press the A or B ...
0
votes
0answers
45 views

Replicate the colour effect from 2D drawings into 3D models in real time Unity [closed]

So I wanted to create an application where kids can have their paper drawings to be displayed in real time on a screen. I have decided to provide several printed drawings of simple outline 3D shapes. ...
0
votes
0answers
22 views

In which game use cases or contexts is it safe for a game client (end user application) to talk directly to a data store?

I have noticed countless messages that discuss the architectural design of nodes, networks, middleware, databases, and how the clients (as in a game client on a phone, browser, console, PC, etc) ...
0
votes
0answers
27 views

How can I stop my character's velocity in only one direction?

I'm moving a character by setting its velocity. It works perfectly and stops how I want it to however when I'm moving forwards and sideways at the same time and I stop moving either sideways or ...

15 30 50 per page