All Questions
54,201
questions
0
votes
1
answer
21
views
r/l/b/t parameters in orthographic projection?
I am trying to implement following:
What are the l r b t units? I understood that r-l= is just ...
0
votes
0
answers
40
views
how to make pausable/resumable tasks using c#?
first of all im not using unity. it's a Signalr .Net Backend Program that runs turn-based multiplayer games.
I use c# async methods to make multiplayer scenarios. for example, the player has 10 ...
0
votes
2
answers
13
views
Canvas element active by default even though it's set to inactive in the script
The pause menu is getting shown by default when I click the play button, even though the GameIsPaused boolean is set to false. I don't know if it's the fault of how ...
0
votes
0
answers
15
views
How can I send back data from one actor to another?
I have a UE4 project and I can't find a way to send data from one actor to another.
I have a piston that snaps into an engine block. The piston then spawns 2 screws that need to be screwed in. The ...
0
votes
1
answer
41
views
What would be a good approach to create an abstraction for a game object without textures?
I am practically pretty new to OpenGL development and right now doing some research in Java with LWJGL. But it's really not a question about Java or C++ (GLFW, etc.). It is about OpenGL > 3 api.
...
0
votes
0
answers
20
views
Create Minecraft entity that stays in front of the player
I'm trying to replicate the Elemental Burst of Hu Tao from Genshin Impact.
[Editor's note: this is where you should include an image or animated gif showing the effect you want to replicate]
I need to ...
0
votes
0
answers
11
views
How can I ignore specific bones in Unreal Engine 5 retargeter?
Unreal Engine Version
Version: 5.0.2-20280985+++UE5+Release-5.0
My goal is to retarget Xsens motion capture to a clo3D rig. The problem is the clo3D rig has an extra bone in the upper arm and upper ...
0
votes
0
answers
13
views
Using native SDK's inside Unity
First of all, I would like to point out that I am not a Unity developer. Most of the programming is related to web programming, but my friends and I set out to create an MVP of one product inside ...
0
votes
2
answers
31
views
Flipping a sprite with SpriteRenderer.flipx when the pivot is not centered
My sprite has a pivot in the bottom left so that it snaps on the grid. Flipping the sprite with flipX almost works, but the sprite also shifts one quare to the left/right when flipping.
Gif of ...
0
votes
0
answers
24
views
How to make Items spawn when you combine two other items together
My Idea is to have Two Herbs from the Player's Inventory and give them particular Item IDs like:
2 Combined Herbs give you a Potion of Health.
2 different Herb combinations give you a Potion of ...
0
votes
1
answer
37
views
How to count polygons in Unity?
The Rendering Stats (profiler) only shows tris and verts. But everyone keeps using the term polygon which doesn't exist in Unity's terminology.
How can I get the polycount of my Unity scene?
0
votes
0
answers
39
views
Blurry text in low resolution game using TMP
This could be a simple solution that my mind cant grab right now. So, I am working on a game with a specific resolution which is 64x64. I using unity latest version. as for my text I am using TMP. My ...
0
votes
1
answer
39
views
How to create a slideshow of Images in 2D game without pressing buttons
I want to make a slide of images that change automatically by a timer without pressing any button for example every 5 seconds the image changes to another one. I have a script but it only changes them ...
0
votes
0
answers
24
views
Is there something like ToDoMVC in game development?
So in web when we are want to select from several frameworks we are building a ToDo app: https://todomvc.com/ to understand if it suits us well.
Is there something like that in-game development? There ...
-1
votes
0
answers
33
views
Different mob spawn techniques and whats the most fitting one? [closed]
Im developing an little top down mmorpg which features a infinite, procedural world. Since its top down, you can see your own character and just a limited area around you. As you move new chunks are ...
0
votes
1
answer
62
views
Rust lang and Cheaters
So I started to learn Rust for personal usage, i am Back-end Node.js dev originally.
And I see that people often say Rust is a very secure solution because of memory management. In theory games/...
0
votes
0
answers
34
views
Where do you attach the script to animate baked movement? [closed]
I have downloaded a dragon for use in an RPG. The dragon has baked movement in the material. I made a script to move the dragon in C# for Unit. Where do you attach the script to? To the mesh or to the ...
0
votes
0
answers
17
views
How to viably store player position & state between scenes? [duplicate]
[The following is being constructed in Unity]
Consider an RPG where the player enters different rooms and we must remember the last position the player was in
...
-2
votes
0
answers
47
views
How do I create a manuscript? [closed]
I have a big idea of a, what I think, legendary game! I know what to do and stuff like that, but The problem is that it's a very BIG game, like Fallout 4 for example. I have experience, but not that ...
0
votes
0
answers
21
views
Unity 2d - Creating Temporary Objects Within the Scope Of the Camera View
I want to create one large tilemap, and want objects placed on it like multiple blades of grass and trees. I want the tufts of grass and tree objects to be placed based on specific placeholder tiles ...
0
votes
0
answers
18
views
Associate a set of strings with a set of images for a Key/Button Rebinding system
I'm creating a key rebinding system for my project. It detects when a key (including controller buttons) or mouse button is pressed and, when that input is detected, it takes the name of the key or ...
0
votes
1
answer
30
views
Unreal Engine 5 does not use shared VRAM
I have a HP Pavilion laptop with an integrated Intel Iris GPU, as well as a dedicated Nvidia Geforce MX 450. The Nvidia has a dedicated 2 GB VRAM, and the the two cards share an additional 16 GB of ...
0
votes
0
answers
12
views
How do I prevent a camera from rendering post-processing effects to a render texture in URP?
So here's my situation. I have two cameras in a game about a bee. The game uses the Universal Render Pipeline. One of them detects blooming terrain at a distance, and is sensitive to its own layer (...
0
votes
0
answers
29
views
Unity 2D Parabolic character movement between platforms displays unexpected behaviour
I am trying to write an enemy AI that jumps between available platforms when it doesn't have ground below its feet. I want the character to do the jumps in a parabolic fashion rather than doing a ...
0
votes
2
answers
37
views
How to rotate parent object to align child rotation with a separate game object?
I have attached two images with the desired start and end positions.
The Brown Circle is the target rotation. The Orange Square is the parent (the black dot is the pivot point) and the Blue Rounded ...
0
votes
1
answer
40
views
Adding second light hides the first on iOS unless quality is set to high
When I add a light in the scene then the light will show on the ground, but when I add a second light, neither of them show on the ground.
One light:
Add second light:
My light is a spot light, and ...
0
votes
1
answer
17
views
How to change quaternion when flipping X axis?
For a given animation with the set of 3D coordinates of every joint and corresponding global rotations quaternions Q(X, Y, Z, W) in right-hand coordinates (Y-up, X-...
-2
votes
1
answer
39
views
For what to use PlayFab Player Data (Title), and Player Data (Publisher)?
I started using PlayFab. Could someone help me and explain with small example for what to use Player Data (Title), and Player Data (Publisher), and for what not to use?
0
votes
0
answers
23
views
distribute and sync multiple dedicated servers in unreal 5
I hope this is a good place to ask my question
I'm using unreal engine 5.
My game would be only one map and I want to all of clients play in one session.
I want to have unlimited numbers of clients.
...
0
votes
0
answers
40
views
SpriteRenderer shows stripe artifacts in build
The sprite renderer can render the sprite correctly in the Unity Play mode, but when I build the game, it can't render the sprite correctly, and there are stripes on the sprite.
Here are the ...
0
votes
0
answers
28
views
Teleport to multiple entities
I wanted to create an ability that teleported you, one by one to a specific entity in a certain range (in mcreator) someone can help me?
0
votes
0
answers
19
views
How can I get a created saved game file's date and time format and add the date time format to slots of saved games in another scene?
I have two scenes: Game and Loading.
In the Loading scene I have number of slots in this case 10 saved game slots and I can change the slots number each time.
I want to make that when I'm saving the ...
0
votes
1
answer
25
views
Get object rotation around the x axis
I have an object which can be rotated at 0, 90, 180, 270 degrees.
I am using this to get the rotation data:
transform.eulerAngles.x
However that code keeps ...
3
votes
1
answer
52
views
Eliminate bouncing when switching/sticking to a different surface
I am following this tutorial to make a KinematicBody2D align to the surfaces below it.
When switching from one surface to another, the character bounces until it ...
0
votes
1
answer
51
views
Efficient calculation of billboard sprite transformations
I'm currently adding a billboard mode to animated sprites and static sprites in my 3D engine.
The code below works fine, but I want to know if a more optimized solution exists. I've heard about ...
0
votes
0
answers
20
views
WebGL fragment shaders for SNES S-PPU?
I’m not very experienced with WebGL and want to ask if this project is potentially feasible and also for a few hints about what direction I may want to take.
I’d like to implement all of the logic ...
0
votes
0
answers
37
views
Sword that teleports you
I've been trying to make a sword (in mcreator) for a while that not only teleports you forward (which I managed to do) but turns you to the side where you used the skill (to strike the opponent ...
0
votes
1
answer
27
views
Game Maker Studio 2 Camera Jitter
I am trying to follow an RPG tutorial. I used the code for the camera following from there, but in my case for some reason all sprites jitter every time the camera moves, and also when some NPCs move.
...
0
votes
0
answers
46
views
Balance load between CPU and GPU [duplicate]
I am making a game with Unreal Engine 5, but it takes more GPU power and the CPU is used much less.
I want to optimize it to use both CPU and GPU so it can be playable on low-end PCs or laptops. Is ...
0
votes
1
answer
92
views
How can modders decrypt a game's files?
For example, GTA V modders could decrypt RPF files, so how could they do so?
Here are the possible reasons I can think of:
They are encrypted using weak encryption methods
They have been decrypted by ...
2
votes
0
answers
43
views
Audio emission from a polygon instead of a point
I'm developing a 2D game in Godot. The engine doesn't matter in this case.
Given a polygon, convex or concave, and a listener (camera) location, what 2D position should an audio emitter be placed at ...
0
votes
0
answers
25
views
How do you load bitmap data into an array?
Here is what I currently have:
...
0
votes
0
answers
24
views
Trying to debug slow DrawIndexed calls. 0.1+ms CPU usage per call
I have just been reworking my rendering pipeline. There is an issue I had noticed cropping up during this work but now its become constant and I cant figure out the cause.
Every call to ...
0
votes
1
answer
27
views
How do I revert back to "normal" speed after a slight boost hitting a collider mid-air?
How do I revert back to "normal" speed after a slight boost from hitting a collider mid-air?
...
0
votes
0
answers
17
views
Assimp COB build failing with MinGW Makefiles
I want to compile Assimp as a subdirectory using CMake, however the build fails when start COB build.The build work properly when building with Visual Studio Code.
My CMake part responsible for Assimp ...
0
votes
0
answers
27
views
Shadow mapping not working properly in OpenGL
I wanted to create shadows for my 3D graphics project, but when I created the framebuffer, the depthmap and the shaders, I get a non-lit scene as it has no diffuse lighting.
These are my default ...
1
vote
1
answer
34
views
How to make a collision object within a viewport detect mouse inputs?
I am working on a 2D game with a spatial node (a 3d node) inside a viewport.
Nodes within the viewport should be able to detect user input from what I can find online, but for some reason it doesn't ...
0
votes
0
answers
25
views
How to shoot raycast, and display image on canvas
I have been trying to work on raycast, where if a raycast hits an object then an image will be displayed on the canvas, like on COD Warzone if I go to an elevator shaft, and look at the wire to go up, ...
0
votes
1
answer
46
views
How to pool bullets for a double barreled gun with alternating fire?
I have created the gun with two barrels, which fire in alternation.
I have implemented pooling for one barrel, But I need to pool bullets in both barrels when firing in alternation.
This is my Bullet....
0
votes
1
answer
30
views
Remove 2D images from layer where overlapping layers hide them completely
I'm creating a 2d game (engine written in JavaScript) with layers system. I would like to have some post process to optimize the images and the layers.
If there is too many images in one layer it ...