All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
6 views

Procedural Generation of City Environment for Endless Runner [closed]

For a university project, I'm currently coding a game similar to Subway Surfers and Temple Run. As part of our assignment, we need to implement procedural generation of some aspect of the game. For my ...
0 votes
1 answer
13 views

How to know what is included in a Unity Asset Store asset

I'm very new to Unity and game development in general. I'd like to re-create the birch forest demo video shown here. I presume this isn't a scene that comes with your purchase, but just "what you ...
1 vote
0 answers
10 views

Unity changing alpha of TMPro text chauses noticeable frame rate drop

I am using this code to change the transparency of my TMPro TMPUGUI text when showing a page (from a book) or changing it. ...
  • 111
0 votes
1 answer
16 views

Instantiate only specific objects in Unity

Here is the situation: I have 10 weapons in my game, in main menu player may choose only two weapons that could take to the game, and this information about two weapons will save in kinda "...
  • 1
0 votes
1 answer
11 views

Change screen size in PyBox2D

I would like to use pybox2d's Framework class to visualize the simulation. However, the default screen / windows size is 640 x ...
  • 111
0 votes
1 answer
11 views

Smoothing transition between Animator and script controlled character

I have a NPC which has a strict match logic (bot player), and I am moving it on FixedUpdate(), However, on certain events in the game I am activating animations ...
0 votes
1 answer
58 views

How will I make my character jump only when it is pressed once

I have scoured through the internet to find a solution of this but this is the only solution that I could find but it cancels the ...
0 votes
1 answer
24 views

How to pan and zoom an isometric map on a canvas

I'm new to html canvas. So far I am following this code as base for simple isometric tiles. I made an empty isometric grid map that only shows the grid. I want to offset the position of my isometric ...
0 votes
0 answers
15 views

My player moves back after I stop any user input in Unity

In the first scene(grass scene), the player works fine in the grass scene, but inside the house, the player after any input the player moves back a bit. https://i.imgur.com/aHXwCR7.mp4 My player ...
0 votes
0 answers
6 views

Shader UV Normals/Direction vs UV Tiling/Stretching for Sprite Shape

I'll be the first to admit I'm not fantastic with shaders, so as far as I know, this may be a very simple solution that I'm just unaware of. What I'm trying to do is to write a shader for Unity's ...
0 votes
0 answers
34 views

Box2D how to detect if player is falling?

i need to detect if my player collision is falling or not on box2d. How can i do that on my code.
0 votes
1 answer
41 views

How to calculate Lv(Xp), Xp(Lv) and NextLvXp(Lv) generically?

XP tables are common, but level tables are unfeasible and formulas are also possible. Are principles known that can help implement a defined progression through relationships between level, total xp, ...
  • 121
1 vote
1 answer
42 views

D3D12: how to enable perspective correction when interpolating UV coordinates?

Good morning, I am currently running into a UV interpolation issue with D3D12 that looks like this: Is there something that needs to be set when initialising the pipeline so that the GPU does the ...
0 votes
0 answers
14 views

Workflow For Manually Creating .DDS MipMaps For Unity?

I am hoping to gain some clarity on the proper way to create .DDS format mipmaps for Unity. I was able to create the file and successfully import it into Unity, but I am certain my workflow is far ...
-1 votes
0 answers
29 views

Understanding UV coordinates

I'm having difficulty understanding UV. I know that UV run 0-1, but what I don't understand is how this is calculated and how for example you can translate from 0-1 to -1,1 to 0,1 ?
0 votes
0 answers
29 views

Languages to Learn For Game Devlopment [closed]

I'm really into games and game development, and I'm trying to land an internship at EA but I don't know exactly what languages to learn to have useful experience. I have little experience using C so I'...
0 votes
1 answer
15 views

How to pass voxel data to shader?

I am working on a voxel game, and I approached the point where I need to add day/night in my world. Apparently, I should just be able to pass the torch and sunlight values into my shader and multiply ...
  • 101
0 votes
1 answer
11 views

Collider overlap is not being detected

I am writing some logic to handle spawning objects into a game scene at a randomly generated location based on the size of a collider's bounds. The logic for getting the coordinates and instantiating ...
  • 237
0 votes
1 answer
41 views

Is there any solution for skill merger?

I'm trying to write a litrpg and one of the main feature is skill merger. Skill merger is a feature where characters can merge skills to create new skills (e.g. Fire ball + Sticky ball = Sticky fire ...
  • 1
0 votes
0 answers
16 views

I'm looking for learning resources on implementing movement tech and player control [closed]

I have a strong technical background (masters engineering student who can program in c++ and who works on physical simulations/numerical methods.) I also understand on a basic level how to work with ...
  • 1
0 votes
0 answers
20 views

AudioSource.isPlaying is not working in Unity WebGL Build

I am passing a clip to play on the audio source. Next, I wait for the audio to finish to invoke the next action. But the waiting loop never ends. Once the audio clip ends, the time I read from ...
-1 votes
1 answer
98 views

Why process physics before the variable framerate update in a game loop?

As far as I know, most game loops are executed in the following order: Process user input Update (once per frame) Physics (also known as fixedUpdate, 0 to N times ...
1 vote
1 answer
36 views

How to make a shader which alpha blends against only itself, and is opaque otherwise?

Imagine a scene with a minecraft style world held in a bounded container and is being viewed from a isometric 3rd person camera that has a fixed orientation. I want to create a shader that expresses ...
  • 113
0 votes
0 answers
39 views

How to allow objects in a list to access the object that owns the list?

I'm trying to make a voxel game while learning about OpenGL. The world is made up of many chunks of voxels. Therefore there is a Chunk class, containing an array of ...
0 votes
0 answers
20 views

Player Camera and Map Scrolling not working as intended

I'm creating a top-down 2D rpg game in c++, and I can't seem to wrap my head around the concept of map scrolling. My camera system is centered on the player every time my player moves, (cameraPos = ...
0 votes
1 answer
48 views

HTML Game Security

I built a multiplayer fighting game with impactjs, socket.io and nodejs and faced with "change variables hack" (I want to call it like this). All my current logic with jump, running, shoot ...
0 votes
0 answers
18 views

Exporting 3D asset from Autodesk Maya to Adobe Aero: colours disapear?

The colours disapear from my asset when I export it from Maya and try to import it to Adobe Aero. Why?
0 votes
1 answer
25 views

Increasing Recoil Over Time With 'Diminishing Returns'

I have a recoil system where per shot, the recoil value increases. I want the recoil to increase more quickly for the first 10 or so shots, then settle to a slower increase rate that then remains ...
  • 1
0 votes
1 answer
26 views

Navmesh agents trying to go to destroyed objects

I am still working on the RTS and have added a system that allows enemies to randomly wander. However, when multiple enemies fight one of my units, they will just clump up Afterwords instead of going ...
0 votes
1 answer
56 views

How to spread circles evenly around a point?

In my game there's a part where a bunch of circles need to evenly spread around a point. Like in this demo below: ...
0 votes
1 answer
15 views

How do I calculate the direction of an object relative to the another object's view

Here is a diagram of what I'm looking for: I am trying to find the math solution to determine where that smaller circle is relative to the bigger circle's view. I thought that the easiest way would ...
  • 3
1 vote
1 answer
37 views

How to insert a new control point on 3D cubic Bézier spline, without deforming current shape?

I have a spline generation system using a cubic Bézier algorithm. I created a tool that splits the spline and adds a new point where the user clicked on the spline, but it causes the spline to deform ...
  • 17
-1 votes
0 answers
45 views

Can an external, plug-in USB hard disk be used with Unreal Engine? [closed]

I'm planning to start developing for UE5. My hard drive does not have much space, though. Can an external, USB plug-in but hard disk, be used with Unreal Engine?
  • 1
0 votes
0 answers
20 views

Find points on circumference similar to an orbit entry point for a spacecraft [duplicate]

I'm trying to find the point coordinates on the edge of a circle like this: I know: The coordinates of Point A The coordinates of the centre of the circle (Point B) The radius of the circle I've ...
  • 101
0 votes
1 answer
61 views

How to find out which biome the player is currently on

I'm using Godot 3.5 and OpenSimplexNoise to generate my 2D topdown world with right (auto)tiles. How can I detect on which biome I'm currently standing on? This is how I generate my map (in some way ...
0 votes
1 answer
25 views

How to emulate the look of loading ZX Spectrum title screens in Unity

I am looking to replicate the style of screen loading as seen on the ZX Spectrum in Unity. Not the stripes of colors in the background. Just the title image loading. Specifically the way it looks in ...
0 votes
0 answers
28 views

Trigger Custom Event node in Unity Visual Scripting causing ArgumentOutOfRangeException error

I am using a Trigger Custom Events node in Unity Visual Scripting. It usually works but around 5% of the time... I get an error that says: << ArgumentOutOfRangeException: Index was out of range....
  • 227
0 votes
0 answers
32 views

What are some differences and similarities regarding software for augmented vs virtual reality? [closed]

I have just started a professional degree in XR (extended reality) and my first brief is to describe different types of hardware and software used in the field for a short presentation. I do not have ...
1 vote
1 answer
71 views

How To Calculate The Correct Sprite Dimensions?

I am creating a 2.5D game similar to Paper Mario. I want the sprites that I import to Unity to be the perfect dimensions so that quality is not affected by the camera's position. If I'm understanding ...
0 votes
0 answers
39 views

Unity - Models suddenly stuck in poses In-Editor and 3D Animations messed up across project

Please Note: I'm having trouble placing pictures here, but I have a thread on the Unity Forums of this issue with images and additional video. Please refer: https://forum.unity.com/threads/models-...
  • 179
0 votes
0 answers
8 views

Adding collision volume after mesh is placed in the scene

I am currently running Unreal Engine 5.0.3. From Quixel Bridge I imported a mesh HUGE SANDSTONE CLIFF to my testing project to surround the gameplay arena. Later I realized there is no collision set ...
  • 101
0 votes
1 answer
46 views

How to reconnect a client to a match (not the server)

In a multiplayer client-server Unity project using Mirror networking, I have a matchmaking system where the server matches two players and gives them a MatchID. The ...
0 votes
1 answer
27 views

SDL2 - Camera only scrolls in x direction, but not y direction

I'm following along with the LazyFoo tutorial to create the basis for a simple arcade space shooter. I'm trying to get the sprite moving through the map while being tracked by the camera. The code I ...
0 votes
1 answer
25 views

Does Raycast called from Update execute on next FixedUpdate?

I've been searching through the Unity docs (https://docs.unity3d.com/ScriptReference/Physics.Raycast.html), but no matter where I look, I couldn't find exact behaviour of Physics.Raycast() method. I'...
0 votes
1 answer
22 views

How to read Unity Ads initialization code structure? [closed]

It is my first time integrating Unity ads into my game and my first time encountering the sample code below with the usage of "?" and ":" and wanted to ask how to read the line of ...
0 votes
1 answer
66 views

Algorithm for taking the shortest path between two XY coordinates

I am making a simple game in Phaser (but the library doesn't really matter). I have an enemy that is moving towards the player on a 2 dimensional grid. I have written some code that makes the enemy ...
  • 103
1 vote
1 answer
43 views

New to Godot having problem understanding Button Group

I'm having an issue trying to understand the ButtonGroup logic, totally new to GDScript, don't have a clue of what I'm doing. Obviously is wrong. I created a scene that I saved in a folder called &...
  • 113
0 votes
0 answers
14 views

MobileVRInterface is slow / delay

I created an empty project, added a VR Origin + a VR Camera and added the following script to the spacial root: ...
0 votes
1 answer
13 views

Using CommonUI Plugin in Unreal Engine5 does not show any option in PlatformInput

As shown in the following screenshot, the menu Platform Input does not show any information and does not allow any customization. Following the steps in this video the options are necessary to ...
0 votes
1 answer
61 views

Sprite becomes blurry or jagged when camera zooms out

My game uses 2D sprites in a 3D environment, and I'm really struggling with my sprites' quality. I have high resolution vector art with clean linework created for my sprite. I'm exporting it as a .PNG ...

15 30 50 per page
1
2 3 4 5
1087