I don't know how to say it but I'm making a bullet hell game and I created GUI, but there's one problem. The bullets are covering the GUI. I don't really don't know how to ,,layer down" them. I mean, I just want GUI to cover them but don't destroy them. Also, I made those bullets in another scene than the enemy. Enemy is also in another scene but I put enemy scene in main scene ( actual gameplay scene ). I used
preload() to load bullet scene and then instanced it.
In case this would be important, the code looks like this:
const bullet_scene = preload("res://Assets/Stages/Normal/Stage1/Bullet.tscn")
var bullet = bullet_scene.instance()
bullet.position = s.global_position
bullet.rotation = s.global_rotation
const speed = 100
position += transform.x * speed * delta
It's maybe a really basic question but I just started so..