oreumgames Posted Wednesday at 01:33 PM Share Posted Wednesday at 01:33 PM Hi all, This one is a crowd brawler about a grandma doing her kimchi shopping. The cabbage costs too much, so she fights her way through eight market alleys with a green onion, a fly swatter and a back scratcher, against 150 to 500 merchants per alley and a shop owner boss at the end of each. The prizes are things like 500 won off cabbage, and the whole run saves her 4,300 won. Tech, since this is a dev forum: three.js, no engine on top. The characters are built from primitives in code as clay dolls, no model files. Hundreds of merchants on screen means every merchant type is drawn as InstancedMesh, split into five batches per type so that knocked out ones can drop out cheaply. The first build took about three seconds to start because of how geometry was merged, and fixing the batching brought it down to about one. The battle music is generated in code as Korean trot, and the hit sounds are Web Audio. The hardest sound was the flurry of hits during a special: the hits sounded too weak at first, then the roll was too slow, and it took both fixes before the slaps sounded like a drum roll instead of a typewriter. It runs on PC and on phones held sideways, in six languages, with nothing to install. Feedback is welcome, and thanks for looking. https://oreumgames.com/en/games/halmae/ Made by a very small indie team in Korea. Quote Link to comment Share on other sites More sharing options...
vidripapp Posted Thursday at 04:58 PM Share Posted Thursday at 04:58 PM Building the clay dolls from primitives in code is a neat call, no model files to wait on at all. I'm curious how the instanced batches hold up on a mid-range phone when an alley is at full 500 merchant chaos, and whether the bosses stay instanced or switch to normal meshes. The typewriter to drum roll fix for the hit sounds made me laugh, that is exactly the kind of thing you only notice on the third pass. Saving 4,300 won on kimchi cabbage is a great premise. oreumgames 1 Quote Link to comment Share on other sites More sharing options...
oreumgames Posted yesterday at 11:06 AM Author Share Posted yesterday at 11:06 AM Thanks for reading it that closely. To be honest, the 500 is the total for the alley, not the number on screen at once. Merchants keep pouring in as the others go down, and each merchant type is capped at 44 on screen. Each type is five instanced meshes (body, two arms, two legs), so an alley with two types is about ten draw calls for the whole crowd, however many are standing. The bosses are not instanced. There is only one at a time, so it is the same doll geometry scaled up as normal meshes, with the prop in its hand as a small group. That made the boss-only moves much easier to animate. For weaker devices the game measures the frame rate for the first few seconds of a fight. If it is under about 42 fps, it lowers the pixel ratio and halves the shadow map size. I have not measured it on a range of mid-range phones, so if it stutters on yours I would like to hear which one. And yes, the 4,300 won is the whole point. Glad it landed. I also have a game coming to Steam on December 17. I would be grateful if you took a look at it too. https://store.steampowered.com/app/5484800 Quote Link to comment Share on other sites More sharing options...
vidripapp Posted 43 minutes ago Share Posted 43 minutes ago Capping each type at 44 on screen is a smart way to keep draw calls flat however big the crowd gets, I had assumed all 500 were standing at once. Dropping the pixel ratio and shadow map after a few seconds of frame rate sampling is a nice cheap fallback too, players won't even notice. Thanks for the detail, and good luck with the launch. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.