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, OS X and Linux and can create games targeting PC, mobile and web platforms.

learn more… | top users | synonyms

0
votes
0answers
9 views

Is the position of a control relative to its anchor in Godot engine?

I'm trying to place a button on the bottom right corner of the screen, so I tried to put all the Anchor parameters in the inspector to the value "End" but the position still needs to be specified ...
0
votes
0answers
28 views

Using binary space partition to lay out scenes in game

Q: How can I randomly lay out these house scenes in the larger scene such that they don't overlap? I'm using the Godot Engine to create a little 2D RPG kind of game. I'm laying out a village in a ...
2
votes
1answer
201 views

Algorithm for a rain effect (Shaders)

I'm trying to implement a rain effect using shader, I use godot 3-alpha, which uses a simplified GLSL 3.0 language. But I'm just finding very complex examples for me, I understand little about shaders,...
3
votes
2answers
193 views

How to pass the correct data into a continuous world

I'm having a hard time implementing the player moving around my world of 2048x2048 tiles that is generated using a noise function. I'm in it for weeks, and I can not, I mess around with the ...
-5
votes
1answer
84 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 ...
0
votes
0answers
34 views

save load game for multiple offline users

I am trying to implement a save/load game system in godot. The game is a french to english learning game, the flow of the game is described as follows: for each chapter: main_menu -> chapter1 (or ...
1
vote
2answers
109 views

How to transfer a variable from script to another in Godot

I have 3 sprites A, B and C, each one has area2d attached to it and collision shape the script for A extends Area2D var done = 0 func _input_event(viewport, event, shape_idx): if event.type == ...
1
vote
1answer
50 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 extends Node2D func _ready(): if (...
1
vote
1answer
88 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 extends Area2D func _input_event(viewport, event, ...
1
vote
2answers
69 views

How is ball_pos calculated

I'm new to game development and I'm trying to build my first Pong game on the Godot engine. the tutorial I'm following is given below. Simple Pong Game What I don't understand is the line: ball_pos ...
2
votes
1answer
104 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 some sheets. I have used a 2D atlas ...
0
votes
1answer
208 views

How do I spawn objects in the world at specific places

Here's my code I'm making a Skiing game and I need to spawn an infinite load of the snow I have. It's under a single node. I've looked at the Flappy Bird code but it just says to add_child(tube). ...
1
vote
1answer
274 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
1answer
197 views

How can I play a video in a Godot game?

I'd like to know if and how it is possible for me to play a video in my Godot game. Specifically I'd like to know what video file format I need to use and what code I have to write to play that video ...
2
votes
0answers
162 views

Why is my 2D mouse aim not working properly?

I'm trying to program 2D mouse aim, where the arms and the gun in the arms rotates to point at the mouse. But for some reason, the arms and gun rotate and do not follow the mouse position. The each ...
3
votes
1answer
90 views

How do I decrease the scale of an instanced node or scene?

I'm trying to decrease size of instanced RigidBody2D scene, through code. With scale(), I'm trying to decrease the size of the image/sprite that's attached to the RigidBody2D. The problem is, it's not ...
5
votes
1answer
780 views

How do I programatically lay tiles with the Godot engine?

I am completely new to Godot Engine, and quite an amateur in game development, in general. I have a small project where I want to implement a procedurally generated level, and for that I'd like to be ...
2
votes
1answer
500 views

GET and POST requests in gdscript

How do I perform get and post requests from Gdscript in Godot? I am trying to get a map API and use it in the game.
6
votes
1answer
968 views

How can I remove Godot's splash screen?

I started using Godot lately (mostly because the editor supports Linux). There is one thing that bothers me: the Godot splash screen. I know that I can (somehow) remove it and I saw something about C ...