I am making a turn-based game and the object wont spawn even if it is set to spawn that sprite depending on the global variable.
Develop games in your browser. Powerful, performant & highly capable.