there will be no time to run any other codes if you let them.
as @whooshfrosted, @eons said,
if you run this,
var E = enemy.instance()
add_child(E)
no other things can't be run during running this 2 codes.
if you do this below, nothing can happen but enemy is generated eternally and will get only not respond message from OS.
while true:
var E = enemy.instance()
add_child(E)
- what are you trying to do?
- what did you expect?
- what is your problem?