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
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?
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.
Develop games in your browser. Powerful, performant & highly capable.
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