2D Questions
1
How do you go about creating a cutscene in Godot 4.2?
Superstar asked 6/3 at 6:56
3
I'm having trouble implementing an infinite background effect. I've figured out how to make the background loop, but sometimes you can see the "void" before the background loops. After looking into th...
Vltava asked 3/3 at 8:7
2
Hi guys!
I just created the animations for an enemy in an isometric game. My spritesets contain 8 lines with 32 frames per line. So, for each of the eight directions I have seven different actions, th...
Joyance asked 4/3 at 17:54
4
extends CharacterBody2D
func _physics_process_Delta():
var direction = get_vecter("move_left", "move_right", "move_up", "move_down") what is wrong
velocity = direction * 600
move_and_slide()
if...
Dugaid asked 4/3 at 19:48
2
GD.Print(nameLabel.GetRect().Size);
nameLabel.Text = name;
GD.Print(nameLabel.GetRect().Size);
After setting the text, the length will become longer. I want to get the size after the change, but it s...
Mills asked 5/3 at 2:3
10
Hello, I am completely new to godot, and I need help with some code for changing scenes. I have an area 2d with a collisionpolygon for the shape, and I would like to know how to make it so when a char...
Aeromedical asked 21/2 at 18:40
2
I am currently going through the tutorial for making a 2D game in Godot and I came across this error:
I'm not sure why the indentation error happened nor how to fix it. This wasn't an issue until I i...
Montenegro asked 24/2 at 22:0
3
Solved
My problem is that I have a characterBody 2D, and I want it to move following my vector2 coordinates. However, during the movement process, I noticed that it experiences jittering in all directions.
...
Discuss asked 2/3 at 2:39
16
Solved
Is there a Transform.LookAt() equivalent that will work for 2D?
Without turning the gameobject on it’s side that is…
Or alternatively does anyone have a workaround using Eulers or something ?
Thanks i...
Bastion asked 27/11, 2013 at 19:33
2
Hello! I'm currently encountering an issue with a game project I'm making. When I start a new game and pause the game, the game seems to unpause and start running after a few seconds. I've posted a vi...
Astute asked 2/3 at 1:41
6
So, the movement code in my game broke. It's only the player's movement that has broke and all other things like enemies have normal movement
extends CharacterBody2D
@onready var _animated_sprite = $...
Euglena asked 1/3 at 21:0
2
The mountains in my game are made from tilesets, so I can easily make them in a short time.
But I have a question: how do I get the player to walk behind the mountain?
Currently, the land on the...
Contagion asked 1/3 at 9:37
2
I pull up the Tile Palette window,
click the “Create New Palette” button,
type in a name for it,
click “Create”,
choose a location in my assets folder to place it in,
then click “Choose”.
Then… abso...
Levinson asked 30/7, 2019 at 21:59
1
Solved
Hey guys,
Kind of stuck on this.
How would you write a javascript that allows you to tap where you want to shoot in 2D? I assume that you’d make the player look at where you touch using Transform.Look...
Pelerine asked 28/7, 2011 at 1:18
2
Solved
I am new to coding and I cant figure out this problem for the life of me. Is there anyone out there willing to give some input?
Emmen asked 27/2 at 3:16
6
Solved
Hi, I have attached a 2d collider to my game object, but when animation is playing the collider is not updating, can anyone tell me how to update collider with the animation?
Thanks
Methodius asked 19/6, 2016 at 20:30
4
Solved
I'm following a detailed YouTube tutorial on remaking Pong in Godot 3.0 but I have ran into an issue regarding the way the AI opponent reacts to the incoming ball, what's happening is that the opponen...
Importunate asked 26/2 at 13:32
2
Hey, I've been trying to get this piece of code to work. I am trying to make a game where you can kill an enemy with your mouse click. I have tried it by using signals but i am not sure i am doing it ...
Santana asked 21/2 at 12:0
1
Hi everyone. I wasn't quite sure how to title this, but it's something I've been tinkering with for awhile and just can't quite get it to work right. The little mspaint diagram might help explain what...
Barramunda asked 26/2 at 2:36
3
If anyone has any insight on this, it would be greatly appreciated!
I've been experimenting in 3d with godot 4.2 lately, trying to implement various pieces of first person shooter interaction functio...
Leguminous asked 19/2 at 20:7
6
I'm using a Raycast2D node to get which tile in a tilemap it's colliding with, but it doesn't detect its Atlas_coords when it's facing to the left or up.
Any ideas?
Deflower asked 22/2 at 22:7
2
Solved
Hi! I was wondering if there was a way to change the default setting on "y-sort enabled", so that it's automatically on when I make a new sprite. Having to remember to turn it on individually for each...
Poleyn asked 23/2 at 15:28
1
`extends TileMap
@export var gridSizeX : int
@export var gridSizeY : int
var dic = {}
var coords : Vector2
var is_Empty : bool
var NwborderX : int = 4
var NwborderY : int = 24
func _ready():
#P...
Gonick asked 22/2 at 3:53
10
The game I am creating relies on timers for a lot of its mechanics, some of which have fairly low wait times, which can cause slight problems because of how often timers can emit their timeout signal....
Prehension asked 9/2 at 15:46
8
I was hoping to use the get_pixel method to get the color of the pixel points of a TextureRect's texture image, but it seems to be going wrong. The texture is displayed correctly centered on the scree...
Radon asked 16/2 at 3:2
© 2022 - 2024 — McMap. All rights reserved.