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
Let's say I got 100 birds on screen. The player must draw a line to cover x number of birds and close the line to form a loop. The loop does not have to be a circle but no part of the line shall intersect itself. It could be shaped anything, BUT the line must be closed.
Now, my actual problem is this: with this closed loop that can be shaped anything, how can I count how many birds are actually inside the loop? The birds' positions scatter randomly and they move around.
Develop games in your browser. Powerful, performant & highly capable.
Hmmm , Very interesting question ...
It's feasible tho , but with the canvas plugin
You would draw a path and fill it with black
And in a loop :
For each Bird
If rgbat(Bird.X,Bird.Y) = (0,0,0)
-- Add 1 to birdcount
Sorry I can't help now :(
Aha, do you know the performance of that?