Questions tagged [godot-3]

The tag has no usage guidance.

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

Enemies Not Registering Hits During Player Attacks in Godot

I am making a 2D game where the player can attack enemies using a designated Area2D node as an attack area. i set up signals to manage attack phases and ensuring proper collision layers and masks, and ...
buzzbuzz20xx's user avatar
1 vote
1 answer
47 views

Issue with AttackArea Monitoring Before Attack in Godot 2D Game

I'm developing a 2D game where the player character can attack enemies using a designated attack area (Area2D node named AttackArea). I've encountered a problem where the AttackArea is active and ...
buzzbuzz20xx's user avatar
0 votes
2 answers
58 views

How do I save data for multiple things sharing the same script?

I have level 0 rusted sword, then I upgrade it and save my game. I implemented my save system by following Godot tutorials. But with this approach, after exiting and re-launching the game, all rusted ...
Blue's user avatar
  • 101
2 votes
0 answers
51 views

How would I switch an animation track between continuous and discrete mid-animation?

How could I set it so that an animation track switches update mode mid animation? For example, when I need to have separate parts of a sprite's image remain in place as the frame changes? An example ...
Programmer S's user avatar
2 votes
2 answers
26 views

Moving "theme" file to a different folder - is it possible to update the resource paths within the "theme"?

Assume the following: One theme is created via the Godot Editor (version 3.5) and saved under res://themes/my-theme.theme. Due to changes in the project's file ...
dsacre's user avatar
  • 71
1 vote
1 answer
87 views

How to take a screenshot beyond the viewport?

I have a large level design & I'm trying to take a pixel perfect screen shot of a particular area and/or the entire map bound within a region like this: The region can be changed in size and ...
cak3_lover's user avatar
0 votes
1 answer
44 views

Drag-select multiple units code Godot 3.5

The code from where I based my script. The code I have has the these 2 problems: The visual area for the player to see what unit are going to be selected doesn't work as intended, if I start dragging ...
Progs's user avatar
  • 93
2 votes
1 answer
56 views

Godot 3.5: Web Build using custom GDNative C++ Library does not work due to `dlopen` error and failed linking

The Problem Currently I am trying to get the official GDNative C++ example for Godot 3.5, which can be found here working in the Web Export context. So far, I managed to export to X11.64 without any ...
dsacre's user avatar
  • 71
0 votes
1 answer
154 views

How can I change scenes when the player touches another CollisionShape2D in Godot 3.5?

I need to know how I can change scenes in Godot 3.5 when the player touches another CollisionShape2D. I've tried this: ...
shadowxstrike's user avatar
1 vote
1 answer
46 views

KinematicBody2D stutters/moves back and forth

I'm working in Godot 3.5, and trying to set up a navigation polygon for my kinematic body to mode around inside, but when I try to send it to some point, the body 'stutters'/moves back and forth in ...
Progs's user avatar
  • 93
0 votes
0 answers
79 views

Godot 3.5 NavigationAgent2D is_target_reached & is_navigation_finished always return False

I have this code in which i attached to a KinematicBody2D: ...
Progs's user avatar
  • 93
1 vote
1 answer
517 views

Alternative method of creating Vector2

Having to re-learn stuff after upgrading to Godot 4.x. I can declare an int with @export var spoon:int = 224 # or @export var spoon:= 224 However, I can't seem to ...
Ghoul Fool's user avatar
1 vote
0 answers
51 views

How to control only own animations while still seeing animations of remote players

I tried using : ...
Cei's user avatar
  • 873
1 vote
0 answers
84 views

How would I setup the autotile bitmask for this tile set?

I'm using Godot. I've figured out how to do the main tiles like you see in the following image, but I have no clue where to go from here. The tile set is from PixiVan located here PixiVan Forest Tile ...
KlownHero's user avatar
1 vote
1 answer
370 views

falling and clipping through terrain

I found this bug in many big games and never expected to find it in my small game. Basically, while running around carelessly, you suddenly clip through the terrain and fall endlessly. I momentarily ...
Cei's user avatar
  • 873
0 votes
0 answers
51 views

NPC resets when stepping on slope

This fella teleports back to spawn position every time it steps on a slope: Artificial _physics_process called pc() and is being called by a timer every time the timer ticks, for this specific mob ...
Cei's user avatar
  • 873
0 votes
0 answers
36 views

Collision detection and damage using call method track

I'm currently implementing damage similar to these two examples, putting the damage logic inside the "call method" track of the player animation. The problem is that sometimes the game just ...
Cei's user avatar
  • 873
0 votes
1 answer
70 views

How do i put the enemy in an idle state without breaking everything

very simple logic but my brain is fried for now, so I don't get how to ad the option for an enemy to sometimes just go idle without breaking the entire animation logic... i tried adding a randomized ...
Cei's user avatar
  • 873
1 vote
1 answer
192 views

Fanning cards in 2D leads to cards continuing to move forever

I'm using this video as guide for my Godot 3.5 project, but for some reason the code does fan the card but also the cards keep moving and spreading forever. The code: ...
Progs's user avatar
  • 93
0 votes
1 answer
102 views

circular camera, simplest way?

i have a minimap, inside a viewport inside a viewport container, everything folows the player, the player is at the center, the camera doesn't rotate with the player it rotates with the mouse, so ...
Cei's user avatar
  • 873
0 votes
0 answers
42 views

How to save compounding attributes in godot

I a have button that increases compounding stats with a rate of diminishing returns, I'm using it to test the saving system. every time i click on the button it deletes 1 attribute points and ...
Cei's user avatar
  • 873
-1 votes
1 answer
139 views

godot saving games, explain like I'm five

using this tutorial, my game crashes before opening and gives 0 errors... doesn't even tell me what's wrong. All the code I'm using is literally just this open project: https://github.com/...
Cei's user avatar
  • 873
0 votes
1 answer
116 views

lag spikes and low fps

fighting up to two dozen enemies at once the game runs perfeclty smooth... 30 enemies and the game starts to go from the 300-480 fps down to 30-180.... 60 enemies and all attacking at once...the game ...
Cei's user avatar
  • 873
0 votes
1 answer
145 views

floating damage text in 3D

followed this tutorial : https://www.youtube.com/watch?v=UlvBqz8bhCo the guy is working mostly in 2D, i tried to apply the same method but I'm hating working with UI in godot, everytime I seem to get ...
Cei's user avatar
  • 873
1 vote
1 answer
448 views

How to outline animated mesh in Godot?

this little freak, is roughly 1.3 meters tall so around 4.2 feet. In first person he is decently easy to spot but in third person he blends too easily with ground so even if he is only 4-5 meters ...
Cei's user avatar
  • 873
0 votes
1 answer
105 views

How to prevent accidental double-tap dodge when changing directions?

...
Cei's user avatar
  • 873
0 votes
0 answers
44 views

Scared enemies run into walls

I set up a basic pyramid shaped enemy kinematic body that runs away from the player when its health is too low and runs towards the player if the enemy has enough health. The enemy also turns to face ...
Cei's user avatar
  • 873
1 vote
1 answer
207 views

now how do I go about making a skill bar and a tool bar?

TLDR QUESTION the main thing I don't understand how do i make it so that when i press a keybind i activate not a skill but a slot in the skillbar and the slot in the skillbar activates the skill extra ...
Cei's user avatar
  • 873
1 vote
1 answer
176 views

How can I utilise world generation through chunks (to reduce lag)

I've been working on a 2D pixel-styled survival game(with the Godot Game Engine), from the birds-eye view(not a side scroller like Terraria) - where the world would look like a map if zoomed out. So ...
Apex's user avatar
  • 11
7 votes
2 answers
6k views

Can I just convert everything in godot to C#

Does godot 3.5.1 support C# fully ? Like does C# for godot have all the same methods that GDscript has? I'm asking because I remember trying to learn gamedev a long time ago with C++, I was overwelmed ...
Cei's user avatar
  • 873
1 vote
1 answer
166 views

teleportation...how to not teleport inside walls

when the player uses the teleportation skill, he is instantly teleported X distance in the direction of movement so front, back, left and right depending in which direction the player wants to go. the ...
Cei's user avatar
  • 873
0 votes
1 answer
54 views

How to carry other players and NPCs and Objects?

In my game you don't have inventory slots, you can hold two things if your player has 2 arms and so on, you can hold more things if you equip a bags on your belt or backpacks... and you can carry even ...
Cei's user avatar
  • 873
1 vote
1 answer
117 views

How to keep track of 'already happened' in-game events in (event cascade/chain of events)?

Basically title. Let's say, for example, I walk into Room, and Event A happens. Next time I enter Room A, Event B happens, because Event A already happened. I don't actually want to save this ...
YoshGJ's user avatar
  • 495
0 votes
1 answer
181 views

simplest combat system i can do with code?

This is my actual set up, and for the moment I'm using this tutorial : https://www.youtube.com/watch?v=Mek4XtMhcMs&t=4s which is one of a kind, never found any other guide on how to make 3D melee ...
Cei's user avatar
  • 873
0 votes
2 answers
170 views

How to implement diminishing returns for multiplicative character stats?

I'm very bad at math, ridiculously so. I'm making attributes that work as multipliers. 1 Agility means : animation speed * agility, ...
Cei's user avatar
  • 873
1 vote
1 answer
306 views

How to add weapon trail to sword swings?

I want to add the translucent blue swish following the sword when it is swung, but I don't even know what to call it, so I can't search it.
Cei's user avatar
  • 873
1 vote
1 answer
62 views

Minimap doesn't see the terrain

The minimap does follow the player movement and does everything a minimap should be able to do... except it doesn't see the land...only the sea even tho land and sea are on the same maks level Camera ...
Cei's user avatar
  • 873
1 vote
1 answer
198 views

Rigid bodies sliding off slopes

Kinematic bodies have a simple class that makes the player not slide on slopes, but for rigid bodies? I tried using rays and areas, either to lock the player on an axis or to just straight up disable ...
Cei's user avatar
  • 873
2 votes
1 answer
2k views

How to increase Godot render distance?

I've tried changing the viewport far distance under view > settings, from 500 to 500 000 and nothing changes in game. The player can only see roughly 90-120 ...
Cei's user avatar
  • 873
0 votes
2 answers
92 views

Arrows that deal more damage to targets moving towards them and less to targets moving away

In real life if you shoot an arrow towards a target that is running towards you. The targets velocity increases the damage that arrow's velocity would cause. If the target is moving away from the ...
Cei's user avatar
  • 873
0 votes
0 answers
61 views

creating an open world island: Am I doing this correctly?

replicating minecraft but with better graphics is a pain (even very simple things using minecraft like chunks lag incredibly), so I'm just creating an open world that can be destroyed using some ...
Cei's user avatar
  • 873
0 votes
1 answer
929 views

How to set attack speed

I was checking the new animation with that Mixamo right I made for combo attacks at various speeds.... and I realized I never thought about how implement it in-game. Is there a simple, fast and ...
Cei's user avatar
  • 873
1 vote
2 answers
66 views

more math or more animations which one is lighter?

I'm adding a non-strafe mode. Option 1: Take the walk animation, go into blender, flip all keyframes and apply them into various directions Option 2: have only 1 walk animation, add a bunch of lerp ...
Cei's user avatar
  • 873
26 votes
2 answers
9k views

Playing a game as it's downloading, how do they do it?

I always believed this was a feature only mobile games had, until I played world of warcraft and guild wars 2 To give you and example Tera Online takes 48 hours to download and completely instal if ...
Cei's user avatar
  • 873
0 votes
1 answer
273 views

Why does the "ColorRect" created in code not display?

When I try to create a "ColorRect" in code, it doesn't display. It still seems to exist, but I can't see it. I am expecting to see both the rect created in the editor at ...
Programmer S's user avatar
2 votes
1 answer
577 views

How to swap skinned meshes for a customizable character in Godot?

Using Godot 3.5.1, I need to make a system that switches armors/helmets/hair styles/weapons and so on. I've seen a single tutorial for how this is done in 3D games in Godot, and apparently it is not ...
Cei's user avatar
  • 873
0 votes
1 answer
167 views

Upgrading Godot project

Can I open a game that I made in Godot 3.1 in a later version (3.2 and higher) and get output from it with that higher version?
Nina Monti's user avatar
0 votes
1 answer
154 views

How to use ads in Godot 3.1?

I want to put ads in my game built using Godot 3.1, but I can't find the plugin and source for Google AdMob. How can I incorporate ads?
Nina Monti's user avatar
1 vote
1 answer
407 views

Orbit and control distance from object in 3D

I'm stumped on a key part of my game project, built in Godot 3.5.2. I'm trying to have my player character be able to rotate around an object using A and D, as well as get closer and farther from it ...
sungen's user avatar
  • 13
1 vote
1 answer
84 views

What is the keyboard shortcut to access the Remote and Local tabs?

What shortcut can I use to activate the Remote and Local Tab so that it can be displayed for me? I can' t activate these tabs.
Nina Monti's user avatar