Newest Questions
57,687 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-2
votes
0
answers
44
views
Shopping Bags pointing down
So, in my game i have figures, who have animation independent props- that i want to have dangling down. I m using the spring engine, so there is only skeleton animation and no built in unit-pieces-...
-4
votes
0
answers
39
views
Actual code for game environment? [closed]
Same as title. Actual code for game environment in java full code please that works without errors? Thanks.
2
votes
0
answers
44
views
How to fix LOD cracks with Marching Cubes?
I'm creating voxel planets using Marching Cubes (MC). To handle nearby (high-resolution) and distant (low-resolution) blocks, I use an Octree data structure.
NOTE: The implementation uses compute ...
0
votes
0
answers
23
views
Colliders not in the same collision layers stopping eachother from moving
I'm creating a space sandbox game (godot 4.5), and the core of my building system is attaching parts together to create assemblies. Each assembly is one rigidbody3D that contains all the parts. Since ...
1
vote
0
answers
44
views
What is the difference betwen emotions, experience, theme, and pleasure in the context of the Book of Lenses?
I am reading the third edition of The Art of Game Design: A Book of Lenses by Jesse Schell, and I encounter multiple concepts presented as different, but I do not see much difference. Currently, these ...
0
votes
0
answers
20
views
Meshes are not visible after adding them to an actor scene component
I wrote a Python script (for the editor) to attach a mesh to a scene component of an actor (vegetation_root_component).
In the logs everything looks fine, but no ...
1
vote
0
answers
31
views
How to make health bar follow but not rotate with character container?
I have a top-down character object that is a Container of various parts.
This character can have elements that should move along with it (think a health bar, a speech bubble) that should NOT rotate ...
2
votes
0
answers
41
views
How can I disable the built-in gyro control in Cardboard VR?
When I create a project in Unity, enable Google Cardboard VR support, and build a project on Android, the camera is controlled by a gyroscope, although I did not write any controllers.
Even if I ...
3
votes
1
answer
457
views
How can I design a reward system that keeps players motivated in my mobile educational app?
I have a mobile app that allows for younger students / children to practice the multiplication tables.
2 x 2 = 4
3 x 2 = 6
To make the app more encouraging, I am planning to add some gamification in ...
1
vote
1
answer
81
views
Tile visual surface isometric conversion
I'm new to isometric display. I want to convert screen 2D coordinate to my world 2D coordinate.
For display, I convert world 2D coordinate like this:
...
4
votes
1
answer
675
views
SquidSquad - how to use WildernessGenerator and Biomes
I'm starting to create a roguelike, and stumbled upon SquidSquad, which has an amazing collection of algorithms and other stuff related to roguelikes.
However, for some parts, documentation is really ...
0
votes
0
answers
111
views
Terrain vs mesh : which one is better in terms of performance and storage size?
I have heard many conflicting opinions about the pros and cons of using terrain vs mesh in Unity. Some people say that terrain has better performance while others say mesh does. So, I am not sure ...
1
vote
1
answer
94
views
Problem with SDL2 optimization (tree structure)
while I was trying to optimize SDL2 rendering phase as much as possible, I reached a wall. I tried to search on the internet but I could not find any solution. So, I need help.
Let me explain the ...
0
votes
1
answer
42
views
Where is UnityFramework.framework located in unity xcode exported Project
I want to use Unity as a library for iOS platform. I exported the build from Unity for iOS. But I am unable to locate UnityFrmework.Framework. Is there any step i am missing?
Unity Docs states that: ...
13
votes
4
answers
5k
views
Preventing meta communication in a massive multiplayer game
In developing a 4x multiplayer game where players should cooperate to implement any of the four Xs. I am interested in containing all information about the world and characters (players location, ...
1
vote
0
answers
90
views
How to port web-based video game to other consoles?
I'm rather new to video game development, as I have only released one indie game on the web. Every time I have demonstrated the game at a public event, it has always received some kind of reception. ...
0
votes
1
answer
125
views
Resource management in ECS?
I'm new to ECS. And I'm trying to create my own game in ECS. I want to ask what's the common way to do some resource management. For example, it's very common to load and unload images from disk in ...
1
vote
1
answer
97
views
How to properly change resolution dynamically in SFML?
I am working on creating an options menu through which I can change resolution and toggle full screen mode. I am allowing only those resolutions that have aspect ratio 16:9, as my game was originally ...
1
vote
3
answers
200
views
Handling status/effects on a turn based RPG game
I have managed to create a state machine for my game core, like on turn start, on turn end, and another one. Now lets talk about effect/status.
For generic effects such boosting stats for certain ...
0
votes
0
answers
68
views
Specifying a "default value" for parameters when binding functions to delegates?
Let's say I have a class UFoo which has a dynamic delegate myDelegate with no parameters. I cannot modify the contents of ...
1
vote
1
answer
124
views
Understanding the math behind procedural aiming animation
I'm creating a procedural aiming animation system in UE5 as a learning experiment.
In order to position the hand for aiming down sights, I'm using a forward vector from player camera to project out a ...
1
vote
0
answers
32
views
Camera is skipping frames after turning a little bit
I'm observing that when I move the camera a little bit it works normally, but if I move more then I'll skip chunks of the screen.
I enabled "press CTRL twice to show cursor" with Powertoys ...
0
votes
0
answers
63
views
Why does a colliding object immediately disappear?
I'm trying to make an enemy collide with collision tiles in GML. I don't think there should be anything wrong with it; it compiles, but every time the enemy either immediately disappears, or just ...
1
vote
3
answers
154
views
Enemy movement system on a 2D grid (Zelda-like)
I’m trying to implement a top-down Zelda-like enemy movement system. Consider a screen of x tiles wide by y tiles tall, each tile being 16x16 pixels.
I’m not asking for code here. I’m asking for ...
0
votes
0
answers
98
views
How to best simulate headlights
Goal:
How can I best simulate headlight beams, in a night-time scenario, in Godot 4?
The components I have are all sprite-based - a top-level car sprite, a shadow sprite (that is offset based on time-...
2
votes
1
answer
72
views
Why isn't my control anchored to the top left of the screen
I have this simple scene based on a Control Node and a few containers, note how the UI elements are anchored to the top left of the screen:
When I put it into another scene, it looks like this:
I ...
0
votes
0
answers
61
views
How can I accurately calculate deltatime in SDL2/3?
I have looked up ways to calculate DeltaTime in the past, but the 'solutions' seem to have my program be slightly jittery or not move things correctly. As far as I know, you would calculate it by ...
4
votes
1
answer
116
views
How would I find the best set of letters for my word game?
I'm making a game where players need to spell English words (including American and British English) using a limited set of 8 distinct letters, which can be re-used multiple times.
How would I go ...
0
votes
0
answers
59
views
Can I reference resource UIDs in save files
In Godot 4.5 beta 6, I have a drag-and-drop situation where the data being moved between nodes is stored using instances of a custom resource.
The resource instance is added to a property called ...
1
vote
0
answers
130
views
Resolution-independent rendering of crisp 2D graphics (non-pixel-art)
I’m a beginner developing a 2D game in SDL2 using C with a visual style that uses crisp high resolution graphics (like geometry dash and Hollow Knight -- not pixel art). I want the game to scale ...
0
votes
0
answers
14
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.
<...
-1
votes
0
answers
67
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 ...
2
votes
0
answers
66
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 ...
3
votes
0
answers
114
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 ...
9
votes
6
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 ...
0
votes
0
answers
60
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 ...
-1
votes
0
answers
52
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 ...
1
vote
1
answer
214
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 ...
1
vote
1
answer
40
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 ...
0
votes
1
answer
43
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 ...
1
vote
1
answer
245
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:
...
0
votes
0
answers
27
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 ...
0
votes
1
answer
25
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 ...
1
vote
0
answers
62
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 ...
1
vote
1
answer
67
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:
...
-1
votes
1
answer
97
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 ...
0
votes
0
answers
43
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 ...
0
votes
1
answer
80
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:
...
3
votes
2
answers
100
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 ...
2
votes
1
answer
96
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 ...