Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
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
what i do for stop spawn mosnter after 5 monster for example???
i have look in every forum but no have idea...
i have a tree.. he spawn infinite enemy... for let spawn just 5 ?? or 20?? what i do?
Develop games in your browser. Powerful, performant & highly capable.
You can have an instance variable on the tree that adds 1 when you spawn a monster and when tree.variable=5, you stop the tree from spawning by using 'if variable less than 5' as a condition.
can you post a image please?? i no think have understund so good
after i say.. variable is = to 5 where i can stop a spawn..
ok solved this is way:
frist add istance variable "treespawn"
system, every 3 second add 1 to treespawn
tree "compare istance variable" <5 tree spawn another object