Trapping Circles by Rialgar
Control with arrows, wasd, dpad or any of the analog sticks on a xbox controller. Build walls by enclosing an area without enemies. Enemies take damage when hitting walls, but not when hitting each other. Defeat all enemies to win the level and advance to the next. The more enemies you have, the worse it is. How many can you handle?
Tested in Chrome and Firefox, somethings off in Edge but it unbelievably almost works.
Notes:
Renders entirely in the fragment shader, because I can. Not the most performant solution, quite a bit of texture sampling going on because I use data textures to pass in the data. Also I should not redraw the unchanging bits each frame. But it works!
Inspired by JezzBalls and another game from that era which I do not remember the name of. You controlled a Spider and had to fill the screen in the same manner you do in this game. But your enemy was a snake and your goal was some percentage of the screen covered, at which point the snake just left through a hole.
| HTML5 (web) | https://rialgar.github.io/LD40/index.xhtml |
| Original URL | https://ldjam.com/events/ludum-dare/40/trapping-circles |
Ratings
| Overall | 352th | 3.357⭐ | 23🧑⚖️ |
| Fun | 171th | 3.619⭐ | 23🧑⚖️ |
| Innovation | 557th | 2.667⭐ | 23🧑⚖️ |
| Theme | 473th | 3.119⭐ | 23🧑⚖️ |
| Graphics | 564th | 2.643⭐ | 23🧑⚖️ |
| Humor | 552th | 1.688⭐ | 18🧑⚖️ |
| Mood | 585th | 2.361⭐ | 20🧑⚖️ |
| Given | 29🗳️ | 9🗨️ |

Sound FX are missing, though. Otherwise, good job!
The predictability of the enemies make the game a little bit too slow and easy, and it could use some sound effects. Like others have said, it wasn't too clear how to kill the enemies, but figuring it out was kinda fun too!
Well done!

Graphics work, but the background and foreground could have had some texture. I wasn't sure if I could die, so it felt a bit too easy. Anyway, great mechanics. Good job!