How can I change scene in topdown 2d RPG

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Jujo

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 _on_EntryHallway_body_entered(body):

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

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

Ryukuzo | 2020-05-07 13:32

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

njamster | 2020-05-07 20:14