Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
if I use System -> Pick all "myType" as an event with the action myDebugFont -> Set text to "myType.PickedCount" the debug output starts with "0" and goes up when I create more instances of "myType" as expected. But... it never goes down to "0" again even if all my instances are destroyed it always stops at "1" as if the action is not executed anymore if there are no instances to pick.
System -> Pick all "myType"
myDebugFont -> Set text to "myType.PickedCount"
Develop games in your browser. Powerful, performant & highly capable.
the pick all event fails because there are no instances to pick, so the action that displays the pickedcount doesn't run.
you could add an else to the pick all event that sets the text to "no instances!"
Thanks Allan! I really like this community.