Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [godot]

Godot is a 2D and 3D open source game engine developed by Godot Engine community. It features a built-in development environment which runs on Windows, macOS and Linux and can create games targeting PC, mobile and web platforms.

0
votes
1answer
22 views

“Loaded resource as image file, this will not work on export” - what does this mean

I'm sure it is something unrelated is why my program won't work, but I still want to know: ...
0
votes
1answer
32 views

How can I reference C# objects in GDScript (and vice versa)?

I am using Godot Engine 3.0.6 Mono for Windows x64. I am prototyping the majority of my project in C# before I rewrite the game in C++ for release. I installed this plugin mostly to help with testing ...
0
votes
1answer
30 views

How do i make enemy tank to follow and face player tank?

I'm creating tank game demo , in game i want enemy tank to always face toward the player tank. I already check look_at() function but it will face immediately, i don't want that. I want enemy tank to ...
1
vote
0answers
16 views
0
votes
1answer
28 views

Godot 3: How to add images without creating scenes?

To add images, as far as I know you create a sprite in godot, but I don't want to do that, I'd like to do it pro grammatically using arrays, the reason is I'm creating a card game and I don't want to ...
5
votes
1answer
122 views

Concept of “scene” in Godot, misunderstanding

Could anyone clarify a beginner's question in Godot? As in this 3D video tutorial (https://www.youtube.com/watch?v=-D-IcbsdT04), the guy creates one scene for the floor, another scene for the wall, ...
0
votes
2answers
95 views

Which is the fastest: shaders vs animations / animated images / pixel manipulation?

I'm quite newbie to shader programming. I use Godot engine and after I see what can be done with shaders (eg. http://glslsandbox.com/e#53172.0) I realized that I MUST learn it no matter how hard it ...
0
votes
0answers
6 views

How to control kinematics articulations via GDScript?

I have seen that Godot only plays an "animation", that is, it only executes the sequence that was pre-defined in the file (for example, a DAE made in Blender). For example, a rigging of a hand with ...
3
votes
1answer
152 views

How to create a wavy beam?

I want to implement a wavy laser beam similar to the Proton Backpack in Enter the Gungeon. https://youtu.be/wl-o6gbMqFM?t=58 It's easy enough to draw a line from one point to another, but how to get ...
0
votes
1answer
31 views

How to add undulation to a constraint-based chain?

I have a constraint-based chain composed of segments where each of the terminal segments has a fixed position. My constraints are set up as follows: ...
0
votes
0answers
29 views

Godot: 'is_on_floor' problem

I have a character in a basic platformer game and am having trouble. Whenever my character stands over two tiles on a tilemap and appears to be directly colliding with them the character's ...
0
votes
0answers
32 views

How do i get effect when gems come together in godot?

I'm create gems puzzle game, In my game there is requirement that 2x2 matrix gem will group and then it will convert in power gem. check below image. I'm new in game development, so anyone can point ...
0
votes
0answers
32 views

How to stack shaders in Godot?

I have a CanvasLayer singleton that I am using for transition effects between scenes in my game. This CavasLayer contains a ...
1
vote
1answer
46 views

Godot: does parse_json accept multiple JSON objects?

If I had a JSON file that had multiple objects, can the method read through without some form of exception?
1
vote
0answers
54 views

Playing an animation in Godot

I have been working on making a platformer in Godot but can't seem to get a walk cycle to play when I press left or right. ...
1
vote
1answer
360 views

Why Godot over Cryengine, UE4, Armory3d or Unity3d? [closed]

Godot have a low performance in linux systems and lack of functionalities? This appear not been in account when peoples vote for him over other engines and i wonther whi. I know it is under MIT ...
1
vote
2answers
122 views

Godot: What options are there for removing the filtering or anti-aliasing from text

If I were to start making a pixel-art game with the Godot engine, what options do I have for removing the filtering or anti-aliasing from text? EDIT: I want to know how to remove the AA from ...
0
votes
0answers
23 views

Godot - How to set the AudioStreamPlayer to switch between tracks

Conditional Music Playback What's important here is that I know how to switch the track that's being played back to another if some condition is met in the scene. If possible I also want to know ...
0
votes
0answers
44 views

Godot: Possible to create a 2D tilemap and set it as a texture for a 3D surface?

If I created tilemap of some sort of pattern or image and wanted to set it as the texture of a 3d surface or 3d model, how would I do it?
0
votes
1answer
46 views

Godot: error(10) expected '(' after Identifier

When trying to write up a new shader for a material, I've been trying to create a variable to use to alter speed and test animation. Now, the below outputs fine until I try to assign a value to number....
0
votes
1answer
47 views

How do I remove the window border in Godot?

I want to show my Godot engine game in a borderless window, but not fullscreen. I want to just have the game view visible on screen with no title bar or window chrome.
2
votes
1answer
765 views

How can I get the specific tile in a collision with a Tilemap?

I am developing a simple platformer, I have three types of tiles right now: Floor: does nothing on collision. Bad: makes the player lose the game. Good: makes the player beat the game. I am trying ...
0
votes
1answer
114 views

Programmatically created instance does not execute any code

I've created a new instance, positioned it, and added it to the scene like this: ...
0
votes
0answers
72 views

How to get one KinematicBody2D to push another?

I am working in Godot 3, where my player is a KinematicBody2D. When I collide with a block which is also a KinematicBody2D I'd ...
1
vote
1answer
347 views

How can I properly add material textures to my model?

This is the first time I'm doing game development and I decided to pick Godot engine. I downloaded some object on the internet for my initiation learning. There are four files: throp_srub.obj ...
-1
votes
2answers
2k views

How do I convert degrees to radians and vice versa in Godot?

In a game I'm toying with in Godot engine I have angles given in degrees in some places and angles given in radians in other places. Sometimes I need to mix both angles (ie. add them). What built-in ...
2
votes
2answers
1k views

How to check if objects are hidden in godot

I have multiple objects, each has area2d and collision shape, I click it, I hide it. Now, I create script and attach it to the main Node2d with the following ...
3
votes
1answer
1k views

Godot, hide objects

Currently the way I do it, is setup an Area2d and a collision shape child for each individual node and then I attach a script to the area2d ...
2
votes
3answers
234 views

Godot 3.0 Constant 2D Angular Velocity

I am making a Top-Down shooter in Godot 3.0 on Linux. I would like to have my character rotate to face the mouse-pointer at a constant speed, and have rotation speed power-ups that allow the player ...
1
vote
1answer
74 views

How to synchronize moving hazards?

I am trying to implement a saw blade hazard in my platformer. The saw blade simply moves from point A to point B, and back, at constant velocity. (Let's assume all saw blades move at the same velocity....
1
vote
2answers
196 views

How do I get the GUI to draw above the kinematic bodies when their z_index is changed?

Currently the Labels in the GUI are below the player and other objects, so the player appears above them. How can this be fixed? ...
1
vote
1answer
83 views

How can I make an object rotate a certain number of degrees per second within _physics_process?

I used delta to help with this but the object ended up rotation to much within a second. ...
-1
votes
1answer
129 views

Converting code to work in godot with sliders

I have some Fragmentarium code that I would like to convert so it will work in Godot anyone have any ideas how I can do this? The code is below: ...
1
vote
0answers
395 views

Large Scale GIS in a AAA-Quality Game Engine? (Unreal, Cryengine, Unity, Etc.)

I am working on a new simulation project that requires large scale, real-world terrain and imagery (GIS). By large scale, I mean that I would like to support databases that cover something on the ...
0
votes
0answers
179 views

Dissolving fog of war when entering a room

I want to achieve a similar effect to what you see in the following clip from Enter the Gungeon. When a character enters a new area, I want a dissolving fog of war which begins dissolving at the ...
3
votes
1answer
389 views

SpriteSheets with XML and without XML

I'm very new to game development, and I'm working with Godot engine. I'm making a platform game and I downloaded a package from the web with assets, it contained ...
1
vote
0answers
206 views

How do I use get_action_strength in Godot?

I get the error: Invalid call. Nonexistent function 'get_action_strength' in base 'InputDefault'. ...
1
vote
1answer
182 views

Godot installation errors: cache directory path, EditorSettings config path

I am using Windows 7. After installing Godot from a browser, I get two errors: ...
0
votes
0answers
43 views

How do I lessen the scale of the trail on godot and remove the flashing on the godot tutorial?

On the godot first game tutorial the trail node is showing up as a big flashing player character. It's supposed to be the same size and trail behind the player.
1
vote
0answers
311 views

How can I achieve dynamic pathfinding in Godot?

I am new to Godot and trying to implement dynamic pathfinding on a 2D map which includes both static obstacles and moving units. As I understand it, Godot's NavMesh makes it almost trivial to generate ...
0
votes
0answers
399 views

Is Godot's NavMesh viable for dynamic pathfinding (e.g. avoiding moving enemies)?

I am a novice (read: low-budget) designer looking at moving from Pygame to a real engine, and between Unity and Godot it looks like the latter has a much better 2D engine [1, 2, 3]. I would be happy ...
1
vote
1answer
817 views

2d game with 3d js. game engine

I'm trying to understand if it's possible to create a game where the player can switch between 2d (strategic/bird view) and 3d (actual gameplay) using only the 3d supported JS/HTML5 game engine, like ...
0
votes
0answers
254 views

How to detect sprite overlap in Godot?

I am trying to check for pixel-perfect overlap between my player sprite and my enemy sprite. Because this kind of thing is computationally expensive, I only plan to do it if the bounding boxes of the ...
1
vote
1answer
421 views

How to expose a child node’s texture from the parent in Godot

I built a simple scene that I instanciate at will. Simply a KinematicBody2D as root, containing a Sprite and a ...
2
votes
0answers
735 views

How do I attach the Visual Studio Code debugger to Godot

At 3.0 Godot now supports C# and encourages the use of Visual Studio Code to edit this code. It is not clear how to attach VS Code so that we an apply breakpoints and debug a project at runtime. I ...
2
votes
2answers
300 views

GODOT Change scene in node

I will change a scene on button click. But not change the main scene with button. Node structure: main - scene (with childs) - button button.gd: ...
1
vote
0answers
124 views

Game “Hocus”: How to do the path finding?

I rebuild popular apps to get good at Godot. This game Hocus poses a challenge in terms of path finding. I have a solution, but as the illusions scale, it becomes ridiculously time-consuming to set up....