Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | diem55555 |
This is the tutorial I’ve been following.
In the tutorial ‘autostart’ in timer node is off and enemies are spawned without any problem.
I wrote the exact same code except for a few variable names.
However, in my projects, when ‘autostart’ is off, enemies do not appear at all.
I found out when I turn on the ‘autostart’, enemies are spawned just like the tutorial.
I don’t understand why the code works differently when I’m using the same code.
I want to know how can I make it work with ‘autostart’ turned off.
Because I want first enemy to appear after 3 seconds, not right away.
This is my code. >> extends Node2Dvar preloaded_enemies := [ preload("res://source/actors/Enem - Pastebin.com
Thank you in advance. :))