Stickman Crowd Fight
My take on a the popular Crowd Masters Stickman style game. This game was fun to create as it involved solving a few technical challenges including:
- How to clump players together - An average crowd position is calculated each frame (roughly the center), all crowd members will attempt move towards that point, collision will prevent them overlapping. Note that this target point can point to anywhere so the same code is used to target towers, enemy crowds and bosses.
- How to allow the player to accumulate many hundreds of players in play - I solved this by having two types of crowd member, one that represents 10 points and another that represents units, so for example a 59 crowd score will be represented by 5 large crowd members and 9 small crowd members.
- How to space the players without them stacking on top of each other - Now and again I run a method which walks the crowd and pushes them down into the floor this usually spreads all crowd members out.
- How to prevent players moving too far left and right off the edges of the platform without being squashed together - If moving left / right and any crowd member hits the boundary then movement in that direction is immediately halted. Movement is not allowed again in that direction until the crowd members have moved back in the opposite direction.
- Jumps in frame rate when large numbers of crowd members are spawned - Crowd members are created ahead of time and simply kept in a disabled state. When a new crowd member is required I simply find one that is not enabled and enable it. This is commonly known as object pooling.
For those that haven't played any hyper casual games like Crowd Masters the aim of the game is build your crowd up to as many members as possible whilst running the gauntlet. You avoid obstacles and collect extra crowd members by running through gates which supply them. Powerups are also included for a little extra fun. Currency earnt whilst playing can be used to increase your initial crowd size, increase your income and buy news skins.
The game also includes tonnes of different skins to unlock and customise.
Status | In development |
Platforms | HTML5 |
Author | mrmop44 |
Genre | Fighting |
Made with | Unity |
Tags | 3D, Boss battle, crowd, Endless, Experimental, hypercasual, tunner, Unity |
Average session | A few seconds |
Inputs | Keyboard, Mouse, Touchscreen |
Links | Blog |
Also available on
Development log
- Initial releaseJul 29, 2022
Leave a comment
Log in with itch.io to leave a comment.