added a script for instantiating and spawning enemies. Currently the spawning happens randomly, only thing necessary is to know the name of the loaded resource.
This works by saving the resource inside the enemyAnimatesSprite2D folder, loading it by name, and then adding it to an instantiated enemy.tscn child.
added a script for instantiating and spawning enemies. Currently the spawning happens randomly, only thing necessary is to know the name of the loaded resource.
This works by saving the resource inside the enemyAnimatesSprite2D folder, loading it by name, and then adding it to an instantiated enemy.tscn child.