Newest Questions
57,678 questions
0
votes
1
answer
80
views
Color is changing in multiplayer without explicit syncing
In netcode for GameObject, network object script is used to make it networkable which means if the object instantaited it will appear on all clients. Network Transform allow you to sync the transform ...
3
votes
1
answer
180
views
Arc Slot Layout and Card Display Overlap
I'm struggling with a persistent problem in my Godot 4.4.1 project involving "power slots" arranged around a table or arena background. No matter how I structure my nodes and update my code, ...
0
votes
0
answers
38
views
Is a shader easier or scripting easier in terms of creating a panel behind objects
My unity project is 2D universal.
My goal here is to create a comic-like panel with outlines behind objects that have certain tags. This panel should follow the rotation and size change of said ...
0
votes
0
answers
19
views
How do I make smooth 2 way shooting in pygame? [duplicate]
I have been trying many thing to make my code work to make a player shoot a small box both ways (left and right) without being able to change the direction of the projectile mid shot.
I would be very ...
2
votes
2
answers
114
views
Pseudo-3D Parallax Shifting
everyone. I am working on a game that relies pretty substantially on "faking" 3D by using different parallaxing and polygonal transform techniques. In a current example, I am working on a ...
0
votes
0
answers
121
views
C++ Assimp Library Animations
I want to use Assimp skeletal animation in a GLUT program using the least possible libraries. I want to do the interpolation of the animation myself. How do I render a frame of the animation by doing ...
0
votes
0
answers
49
views
Best way to structure code for a character dependent on its environment and vice versa
What is the neatest way in a strict OOP language (c++ say) to avoid the following circular dependency. Imagine I create a character class and a world class. A character requests data from the world to ...
0
votes
0
answers
70
views
How do I create a shooting tool that works on both sides?
I am a fairly new user of pygame and i decided to start out with a simple but 'funny' game.
I have successfully implemented jumping mechanics, movement mechanics and a one directional shooting ...
1
vote
1
answer
94
views
How to pre-process the @export variable in Godot4?
Assume I have an export "arena_size". I would like to 'pre-process' this export so that whatever value user inputs in the inspector gets multiplied by 2 Like so:
...
0
votes
0
answers
15
views
TileMapLayer doesn't move along with its parent node
I'm using Godot 4.4.1 and currently learning how to build auto dungeon generator. The dungeon "room" is developed using TileMapLayer.
Room parent are set to ColorRect for background.
I use ...
1
vote
1
answer
53
views
Why does dynamic light flicker/get replaced with a square when rotating the camera?
I am facing the same problem over and over again with Dynamic Lights in Unity and don't know where next to look. I am still learning Unity so maybe I'm missing something trivial because it happens in ...
0
votes
1
answer
130
views
How to use @export to list all the keys of the dictionary in Godot4?
Godot 4.2
@export is rather useful as a time saving feature for node customization. We already have the @export_enum that can give user a dropdown list of choices.
However, @export_enum is "...
1
vote
1
answer
83
views
Why can't I access custom properties clearly declared with _get_property_list()?
I have the following script attached to a simple control node designed to create a custom property "label":
...
0
votes
1
answer
51
views
In Godot, how to show TextureRect texture in the editor mode but unload it before runtime to preserve VRAM?
I'm trying to optimize a bit. Assume we have an in-game "Item" object made from a simple TextureRect (no children).
Naturally, in editor mode I'd like to be able to see that item's icon (and ...
0
votes
1
answer
79
views
Voxel Level Storage
I want to know some methods of storing the voxel data in a game like Infiniminer or Minecraft in a C++ program. What file types can do this easily? The voxel values will be big possibly a trillion by ...