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
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
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.
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 :(
Develop games in your browser. Powerful, performant & highly capable.
Aha, do you know the performance of that?