extends Node
export(int, LAYERS_2D_PHYSICS) var collision_mask = 0
const BULLET = preload("res://scenes/Bullet.tscn")
func shoot() -> void:
var bullet = BULLET.instance()
bullet.transform = get_parent().transform
Linker.world.add_child(bullet)
error(3,13): Expected a range in numeric hint.
Hello, I’m trying to follow this tutorial, but I’m stuck on the exporting layers part, and have no idea how to continue. Would like some tips on how to get myself out of this mess.