Newest Questions

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

Resolution-independent rendering of crisp 2D non-pixel-art graphics

I’m a beginner developing a 2D game in SDL2 using C with a visual style similar to Geometry Dash (simple shapes, clean high-resolution graphics, not pixel art). I want the game to scale correctly to ...
NewCoder's user avatar
0 votes
0 answers
58 views

What is &256 function C++ [closed]

I see in noise functions a lot the function "&256" I think it's used to wrap a remainder from 0 again for values larger than 256. Is this what the function does? For example In c++ Int A ...
Opengraphicspros12's user avatar
0 votes
0 answers
11 views

Transform is not available in SystemBase Script (Unity Entities)

My player is baked entity in subscene while main camera is outside on scene. For some reason system cannot find transform of camera, GameObject was found though. <...
UNREAL's user avatar
  • 1
-1 votes
0 answers
56 views

Values for Hermite Curve used in Perlin Noise

I need to know if the Perlin noise code I'm making that will use the hermite curve needs values between 0 to 1 or -1 to 1 in its permutation table or whatever is correct. I read the hermite curve uses ...
Opengraphicspros12's user avatar
2 votes
0 answers
59 views

Changing prediction to interpolation on client connected to the authoritative server

Let's assume the following situation: I have a server, that sends a snapshot of current game state to all the clients at a fixed time. Server is authoritative, all the physic calculations are done on ...
zillah's user avatar
  • 21
3 votes
0 answers
87 views

Displaying pixel art at any resolution with subpixel movement

The Goal I have a game in Unity which utilizes pixel art. I'm not following the standard rules of pixel art, however. I'm ok with sprites having different sized pixels, pixels rotating, and pixels not ...
Afropenguinn's user avatar
9 votes
5 answers
4k views

How can I encourage players to play optimally against bosses?

I am making a shoot em up game with an aerial view. It’s main gimmick is that, instead of working like a machine-gun, your character throws a boomerang that hit the enemies both on the way there and ...
Alexis Mercado's user avatar
0 votes
0 answers
55 views

Hashing gradient vector and unshuffled permutation table in perlin noise generator

I'm implementing perlin noise in C++. I have a permutation table for the gradients vectors and want to shuffle them with a 2 number hash that has 2 purposes. The hash uses the integer portion of the ...
Opengraphicspros12's user avatar
-1 votes
0 answers
44 views

Perlin noise permutation table

I read that the permutation table in classic perlin noise uses values from 0 to 255. I want to know if the quantity of elements can be increased. I think it uses 256 values (0-255). I'm going to make ...
Opengraphicspros12's user avatar
1 vote
1 answer
150 views

How to speed up collision detection if there are hundreds of objects?

Let's say I have like 500 Asteroids and I'm using SAT to determine whether a collision with the Spaceship object has happened. This would require an insane amount of CPU cycles, so it makes sense to ...
Jared Kosiba's user avatar
1 vote
1 answer
34 views

Gizmo scaling with arbitrary reference coordinate system

I am currently implementing gizmos in my engine (or rather continuing the implementation I made a year ago). I had implemented a way to choose whether transformations are applied based on local space ...
ostef's user avatar
  • 21
0 votes
1 answer
26 views

Does SceneManager.LoadAsync(name) load the whole asset or only the prefab?

I have an asset called "Ocean" that contains 100 fish, and one of the prefabs for these fish is called "Dolphin". My game has 100 scenes, and each scene contains 1 different fish ...
Job_September_2020's user avatar
1 vote
1 answer
204 views

Overriding property setter

In Godot 4.5 beta 5, I am trying to override the text setter on a Label node. Following the documentation, I did: ...
jakub's user avatar
  • 135
0 votes
0 answers
23 views

How do you setup a ramp with an existing tile-set in Unity?

(Beginner questions) How do you setup the ramp with the tiles in unity? The graphics and the behavior? I've been checking this free tileset: In the image it has connected ramps I cannot seem to get ...
AturSams's user avatar
  • 10.6k
0 votes
1 answer
14 views

Having trouble creating a ModGUIConfig with a custom category

I'm working on a mod for 1.7.10 Forge that needs a complex config for the user to set up, but only the "general" category shows up (from ...
Lum1te's user avatar
  • 21
1 vote
0 answers
47 views

how to implement the vines in animal well

the vines in animal well display pixel perfect deformation when the pc moves through them. they also display rope physics but do not appear to be implemented by jointed segments of physics rigidbodies ...
mortsini's user avatar
0 votes
1 answer
42 views

How to format a godot::String with an array parameter in a gdextension?

I'm writing a gdextension and trying to format a string using an array as one of the parameters. Example: ...
Luke B.'s user avatar
  • 1,021
0 votes
1 answer
81 views

How can I implement a fish character with a “chargeable tail” mechanic

I’m trying to replicate the fish physics from Fish Volleyball. If you want you can try demo of the game or watch video preview The unique part is that the fish doesn’t jump normally — instead, when it ...
Maks's user avatar
  • 101
-1 votes
0 answers
46 views

Roblox CobaltPlus elevators don’t work in my games [closed]

I’ve been creating elevator games for over two years and suddenly in 2025, it just stopped working… Can someone know how to fix it? When I clicked on the buttons it doesn’t do anything… It worked in ...
Jay's user avatar
  • 1
0 votes
0 answers
39 views

Aligning OpenStreetMap data with Cesium 3D tiles

I have my OpenStreetMap data exported using QGIS as a gltf file, and I'm trying to align it with Cesium 3d tiles for my high resolution model. The problem is that both have different coordinate ...
cluck ham's user avatar
0 votes
0 answers
75 views

Minecraft style selector noise algorithm [closed]

I'm looking for information on how a minecraft style noise selector works for high and low point blending of generating voxel terrain. The algorithm is supposed to use a map or two of perlin noise and ...
Opengraphicspros12's user avatar
0 votes
1 answer
59 views

URP Maximum Sample Index (16) with Light Cookie Input

I just recently imported a new asset package, all of the materials use the URP lit shader, no custom shaders. However, now I can't build the game because I keep getting the same errors: ...
Redsam121's user avatar
3 votes
2 answers
81 views

Number system with restricted set of sequence configurations

I am trying to design a novel number system for a game. To do this, I want to create a mapping from a set S of symbols to the integers, where not all sequences of symbols from S are allowed, but they ...
Joselin Jocklingson's user avatar
2 votes
1 answer
83 views

Is there an equivalent to GL_TEXTURE_WRAP_R on GL ES 2.0?

I've been trying to write code that can run on multiple GL versions, since I mostly only use very basic features, and one of the versions I am targeting is GL ES 2. Since I know you're supposed to ...
Hypatia of Sva's user avatar
3 votes
1 answer
62 views

Should physics substepping include the entire update or only collision resolution + constraint resolving?

I'm working on a simple physics simulation and I want to use substeps to improve stability. I’m unsure whether I should apply substeps to the entire physics update or just to collision resolution. ...
NoName123's user avatar
  • 131
1 vote
1 answer
43 views

Change sprites for multiple image in one function

I am trying to make a digital clock (24:00 type), where each number is an individual image, that should change. So, I want to change sprites for multiple images in one piece of code. But when I ...
Ratty's user avatar
  • 13
0 votes
1 answer
67 views

Mipmaps and LOD Behavior in Skybox Shaders

Is it beneficial to use Generate Mipmaps for a texture used in a skybox shader? I need to use tex2Dlod to fix the edge seams ...
Ahmed Dyaa's user avatar
1 vote
2 answers
167 views

Simplest free algorithm for generating caves and ore in 3D voxel game

I'm trying to find an algorithm that does not require giving any form of credit to use (like perlin noise) and can be used for generating caves under a height map that can make holes in the terrains ...
Opengraphicspros12's user avatar
0 votes
0 answers
61 views

How to Implement Ray Casting and Aim Assist Scaling in UE5 Using C++ for FPS Mechanics?

I'm developing an FPS shooter in Unreal Engine 5 and currently working on the aiming mechanics for keyboard and mouse (KBM). I want to implement an aim assist system that uses ray casting to detect ...
Eric Wright's user avatar
0 votes
0 answers
48 views

My terrain object is not getting spawned more than 3 times [closed]

I made a valley with terrain maker in unity , attached a empty gameobject to it, gave it a box collider. Gave my valley a rigid body and also gave my player(cube) a rigid body and a box collider. I ...
HEMANT MUNDANE's user avatar

15 30 50 per page
1
2 3 4 5
1923