I want place few foes but i want set event when i click button: show enemies
how do this?
Develop games in your browser. Powerful, performant & highly capable.
Set the object inital property visibility to invisible. Create some instances in the layout.
-> event on button clicked -> subevent foreach enemy -> action enemy set visible visible
yeah my opponents are invisible but when i shot in this place enemy are been killed even if he invisible so opponents are only in camouflage.I want spawn enemyies when i need this
The system object has an action create instance. Use this to create instances of the enemy and then move them with an action eg set position - to the right place. Capx what you have for details..