Meet Bouncy Battlegrounds! My first ever LD entry!
I'm so happy publishing this! This is my first ever LD entry and it turned out I could go Compo way. Have fun playing! = )
Link: https://ldjam.com/events/ludum-dare/46/$181884
I'm so happy publishing this! This is my first ever LD entry and it turned out I could go Compo way. Have fun playing! = )
Link: https://ldjam.com/events/ludum-dare/46/$181884
I decided to post some kind of a more detailed explanation of what's going on in my LD46 Compo entry game. Actually @jonahsenzel and @seagull's comments inspired me to do so (thank you, guys!). So here it is as it is.
The contollable instances in the game are squads. Squads consist of units. There're 4 squad types in the game: - Swordsmen; - Spearmen; - Horsemen; - King.
Squads of different types have different MoveSpeeds and UnitsCount (initial value) among other parameters. Let's look at the real examples:
Your drag force (white arrow size, frankly speaking) actually affects the resulting force applied to the selected squad to initiate its movement. Minimum drag force required to move a squad is ~0.1f and the maximum drag force is 1f. The resulting movement force is calculated as follows:
moveForce = dragForce * MoveSpeed * moveDirection;
Drag Force also takes part in damage calculation on squads collisions. All squads have a default attacking power, so to speak, and this attacking power by default equals to 0.1f. It gets overriden on squad movement initiation by the value of a drag force (so the max value is 1f). It gets reset on squad collision (it turned out on movement stop it doesn't, so there's either a bug or a feature!). The squad attacking damage is calculated as follows:
squadDamage = squadAttackingPower * (1 + MoveSpeed / 10000) * (currentUnitsCount / 2);
(I didn't put much thought in the formulas, so I don't expect it to be good for the game balance. If you know how to handle such cases properly, share this knowledge with me, please!)
On taking damage the squadDamage gets modified based on squad types interactions. For example, Horsemen get their squadDamage multiplied by 2 as a resulting squadDamage against Swordsmen and Spearmen get their squadDamage multiplied by 2 as a resulting squadDamage against Horsemen.
I hope you like the post! I'd love to know what you think about this!
Have fun playing the game!
Link to the game: https://ldjam.com/events/ludum-dare/46/bouncy-battlegrounds

P.S. Or a Dogeman? "Knights on Dogs" squads maybe? I'm not really sure now...
It was my first time participating in Ludum Dare and it was very useful for me. I'd like to thank everyone involved for the experience I gained! Thank you all! And congratulations with your achievements!