Overlapping zigzags quickly trap them. Since ‘trapped’ appears to be determined by the rate of bounces, you just need to divide the area as much as possible.
It's giving Qix, a little bit, although the critter's different and the lines are way more freeform.
Bug, I think: the critter definitely can cross some of the paint lines, which was a little unexpected. It slows down but then it's on the other side of it.
The collision detection seems to have the same problem as the yin yang game that was posted a while ago: The critters sometimes cross the lines. I wonder if the root cause is similar, having to do with this being a browser game?
14 comments
[ 4.1 ms ] story [ 40.4 ms ] threadI trapped the critter with painted lines but when the time expired it said I lost :-(
[0]: https://dos.zone/xonix-1984/
Bug, I think: the critter definitely can cross some of the paint lines, which was a little unexpected. It slows down but then it's on the other side of it.
The collision detection seems to have the same problem as the yin yang game that was posted a while ago: The critters sometimes cross the lines. I wonder if the root cause is similar, having to do with this being a browser game?
Nevertheless, fun little game