Questions tagged [godot-3]
The godot-3 tag has no summary.
59 questions
0
votes
1
answer
48
views
BeehaveTree Addon adds base node instead of an inherited one from the base
I just recently managed to install the BeehaveTree addon for godot 3.X, but when adding a new node from the addon it adds the base one and not the inherited one i.e.
Base node script:
...
0
votes
0
answers
70
views
How do you use FLmusicLib & Godot Midi and does it work FLmusiclib Godot 4.3?
I've come across these two libraries for Godot which greatly enhance the engine's audio capabilities. Godot Midi allowing it to play and loop midi files, FlmusicLib allows it to play SPC700 tunes.
One ...
0
votes
2
answers
170
views
How to synchronize NPCs across LAN?
As of now, players are synced using:
...
1
vote
2
answers
1k
views
Disable all Player input in Godot 3?
I'm making an "Asteroids" clone in Godot 3.2.3
the way that the Bullet is spawned in-front of the Player ship is simple : the main game node will find the Player node's position and rotation ...
0
votes
1
answer
98
views
To fix an item duplication glitch, I created an item deletion glitch
The item type is based on button.icon.texture
The item quantity is based on button.quantity
If item quantity reaches 0, the <...
1
vote
1
answer
139
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 ...
0
votes
2
answers
103
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 ...
5
votes
1
answer
497
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 ...
2
votes
2
answers
98
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 ...
1
vote
1
answer
443
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 ...
0
votes
1
answer
115
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 ...
2
votes
1
answer
232
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 ...
0
votes
1
answer
660
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:
...
1
vote
1
answer
85
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 ...
1
vote
1
answer
1k
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 ...
1
vote
0
answers
71
views
1
vote
0
answers
175
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 ...
2
votes
1
answer
2k
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 ...
0
votes
0
answers
74
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 ...
0
votes
0
answers
51
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 ...
0
votes
1
answer
135
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 ...
1
vote
1
answer
333
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:
...
0
votes
1
answer
337
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 ...
0
votes
0
answers
61
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 ...
-1
votes
1
answer
221
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/...
0
votes
1
answer
208
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 ...
0
votes
1
answer
472
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 ...
1
vote
1
answer
1k
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 ...
0
votes
1
answer
201
views
1
vote
1
answer
513
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 ...
1
vote
1
answer
686
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 ...
7
votes
2
answers
8k
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 ...
1
vote
1
answer
378
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 ...
0
votes
1
answer
90
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 ...
1
vote
1
answer
204
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 ...
0
votes
1
answer
389
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 ...
0
votes
2
answers
380
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, ...
1
vote
1
answer
478
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.
1
vote
1
answer
92
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 ...
1
vote
1
answer
646
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 ...
2
votes
1
answer
4k
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 ...
0
votes
2
answers
154
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 ...
0
votes
0
answers
86
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 ...
0
votes
1
answer
2k
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 ...
1
vote
2
answers
137
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 ...
25
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 ...
0
votes
1
answer
637
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 ...
2
votes
1
answer
2k
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 ...
0
votes
1
answer
494
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?
0
votes
1
answer
211
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?