Ok so I’ve gotten the load failed due to missing dependencies on two of my scenes. but the missing dependency is the same thing between both of them, so one scenes missing dependency is itself?? I’m mostly confused on why it is missing itself. the boss thing is the only dependency for both. Also neither of them will allow the open anyway option. Here’s a screenshot for clarity:
Also the code may look a bit rough right now cuz I was going through and deleting a lot to try to see if it would help.(ALSO I was following a tutorial but also trying to integrate two different sets of physics so a couple things changed but the link i was using is this: https://youtu.be/zh5bwenMn9o?si=xyAywGlnduiWCmrx)
class_name Boss
@onready var animated_sprite = $AnimatedSprite2D
var direction : Vector2
func _ready():
set_physics_process(false)
func _process(_delta):
if direction.x < 0:
animated_sprite.flip_h = true
else:
animated_sprite.flip_h = false
func _physics_process(delta):
velocity = direction.normalized() * 40
move_and_collide(velocity * delta)
It looks like your boss.tscn (named brick.png on GitHub) is a duplicate of stage1.tscn. And this scene contains an instance of boss.tscn, which causes your error.
Yeah, it looks like the boss scene got overwritten with the stage1 scene somehow. I’m afraid, you’ll have to manually remake the boss scene, if you don’t have a working backup.