0 votes

I joined a game jam, I tried to make a 2d topdown rpg it works well, but I can't change the scene like different maps, I tried to use area 2d to change the scene

heres the script:

extends Area2D

onready var area = $CollisionShape2D

func onEntryHallwaybodyentered(body):

sorry if this question was stupid, I'm just a beginner, Sorry

in Engine by (12 points)

Well this should work, could you upload more of your code ?

Did you make sure the signal body_entered is connected to the callback-function?

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.