Master Mobile Game Development with Godot 4: From Concept to App Stores Lession for overlapping platforms with the destroyer.
at the beginning of the lecture i paused it and tried to do the lecture on my own. i normally do this with the lectures. I know in programming there is always more then one way to accomplish the same results. I was just wondering if there was a reason you chose to use a for loop and array for the area2ds that crossed into the destroyer collision shape? i chose to use the area_entered signal as this:
func _on_destroyer_area_entered(area):
if area is Platform:
area.queue_free()
pass # Replace with function body.
Is one method better then the other? and why?