open-manifold / Open-Manifold

A free and open-source clone of Rhythm 'n' Face for PC.
Other
10 stars 2 forks source link

Give the player more life points depending on how stylish they were #33

Open xen-0sd opened 1 year ago

xen-0sd commented 1 year ago

My idea is to divide the score earned in a turn by 100, then add that to the 5 the player automatically gets for placing a shape correctly to determine how much life the player should gain at the end of a successful turn.

Under this system, earning 1200 points in a turn will add 12 bonus points to the life gained at the end of it, culminating in the player gaining 17 life points.

For this enhancement, something like changing modify_life(5); to modify_life(calculate_score()/100 + 5); could be done in main.cpp. I have no idea if that's formatted right, I don't know C++.