2D Questions

3

Hello, guys! I have a question. When I am pausing my game, I want it to freeze and when unpausing I want it to unfreeze. I know basically how to achieve that but I don’t know how to make that, when I ...
Shearer asked 8/11, 2023 at 18:33

5

Solved

I am making a 2D game. In this game I will have torches. When the scene starts there are two options for torches: They may be burning Or they may be not burning and have no flame on them. Whether th...
Entire asked 15/6, 2015 at 18:1

0

Hello, sry for my english before…i have problem when i want build my game with WebGL…i have no idea i make a game for my school work and actually our teacher didn’t gave any materials for it The conso...
Cochise asked 21/1 at 13:56

1

My game use 2d physic, but 3D graphics. The unity editor automatically generates a collider polygon using the sprite of the desired shape. If for example on a sprite a circle is drawn on a transparent...
Crosby asked 23/3, 2018 at 14:28

1

Hey all, I'm playing around with 2D navigation and I had it (mostly) working. I had a tilemap and a navigation region as siblings to my unit, which was a characterbody2D node with sprite2D, collisionS...
Eris asked 16/3 at 18:8

5

Hello, I am using an isometric TileMap that fakes 3D space by using layers as an up/down axis, and by offsetting tiles in higher layers upwards so that they appear above the layers below. I also have...
Gina asked 22/3 at 8:18

3

Solved

I'm using Godot 4.2.stable (on Windows), and I'm having an issue creating the boundary for a NavigationRegion2D. I'm trying to follow along with this Zenva course "Real-Time Strategy Game with Godot ...
Goldman asked 18/12, 2023 at 16:37

2

Solved

I've set up a Tilemap with tile size 15 x 15 and in the editor it looks great but when I run the game the tiles look garbled. They seem to be in the correct place but the graphics looks distorted. The...
Humpbacked asked 20/3 at 3:37

6

Godot 4.2.2rc1, Scripts written in C# my "UpdateLos" functions basically loops through a list of Vector2 items, sets the the TargetPosition of a RayCast2D node to the value of the current Vector2, fo...
Soundless asked 18/3 at 17:24

2

Solved

I have a script that makes the camera follow the player using tweens. It only adjusts the y position when the player lands on a platform to reduce unnecessary adjustments. Its works well and can keep ...
Elaterite asked 20/3 at 8:28

1

Hi. I'm new to godot and am currently using 4.2.1. Im basically trying to make a real time flood fill that I can click on an area that is enclosed and it fills the 'selected' region. Using tiles to pa...
Wojcik asked 16/3 at 19:10

15

Solved

guys im struggling over an hour on the 2d collision event. Currently I have 2 sprite’s each have a 2d boxcollider and are triggers. I have set the tag of one of the sprite’s to “player” but it still d...
Pollywog asked 8/12, 2013 at 22:13

2

Is there a way to solve it automatically in code ? (GD or C# is fine)
Pedate asked 17/3 at 8:43

4

Hello guyz, I'm just exploring godot and I'm following this: https://docs.godotengine.org/en/stable/getting_started/step_by_step/signals.html I've my sprite2d node with a Timer. With the sprite spr...
Reputable asked 16/3 at 18:54

1

Hi, I'm making a project in Godot 4 and in that I use a spritesheet. The thing is, when I divide it into H-frames and V-frames, its not divided equally. I don't know how to really explain it tbh. The...
Limestone asked 10/3 at 22:32

6

For a simple top-down golf game, I want to highlight the possible landing area for the ball. My golf course is a simple tile map. The player can select one of several golf clubs, each club allowing fo...
Debouchment asked 13/3 at 11:42

2

I've spent a few hours at this but i'm beaten. Please see below a stripped down version of my code that contains anything that should be relevant at all to my problem. I just can't get the test_dot s...
Synovia asked 11/3 at 20:55

6

Good day all, I write this because recently I've been having some problems with rendering for MultimeshInstance2D. I'm building a topdown game in the 2D engine, and I'm using grass with every blade a ...
Agave asked 11/12, 2023 at 0:50

9

Solved

Hey Everyone, I have a problem here that’s very frustrating, and I’m thinking (hoping) it’s because I’m doing missing something very obvious. I’m using Unity2D and I have a particle system. The proble...
Needless asked 28/2, 2015 at 21:51

5

Title says all. How would I go about coding an upgrade where after the player character picks it up, they temporarily get the ability to fire 3 shots. One shot would fly forward and the other two woul...
Pender asked 2/3 at 2:19

6

I add enemies to the scene and set rotation for them, but in debug, the rotation value is reset. how can I fix it?
Triptych asked 9/3 at 11:50

5

My question here is the basically the title. I have a rigidbody, that will detect if it collides with something, and if it collides with the tilemap it will perform a specific operation on the tile it...
Char asked 31/1, 2023 at 0:45

2

extends CharacterBody2D func _physics_process(delta) var direction = Input.get_vector("move_left", "move_right", "move_up", "move_down") velocity = direction * 600 move_and_slide() if velocity.l...
Inoculum asked 7/3 at 19:59

1

Help in Godot: I'm making a 2D game on the latest version of the engine, and I have a gameplay scene, it has buttons to enter the backpack menu, quests, etc., and this is where the player scene is imp...
Wouldst asked 5/3 at 17:59

1

How do you go about creating a cutscene in Godot 4.2?
Superstar asked 6/3 at 6:56

© 2022 - 2024 — McMap. All rights reserved.