Adding Community based Stars
The previous update added a very simple 3 Star feedback which was basically three stars for completing a level.
This was not as satisfying as I’d hoped, so the next priority was to add some meaning and sound to that.
First up was to get information back from the telemetry flow. The client already sent move lists and the score to the server when a level is cleared.
if level_stats:
if Reg.LastLevel == level_stats.get('map_level'):
if star_2_threshold >= float(level_stats.get('average', 0)):
star_2_threshold = float(level_stats.get('average'))
if level_stats.get('two_star'):
star_3_threshold = float(level_stats.get('two_star'))
Not knowing why a given level clear being only 2 Star was frustrating, so I added a label display with the score threshold. That way if a player doesn’t get 3 Stars, they know what to strive for. Given that the 2 star threshold is the level average, failure to get 2 stars makes that goal easier for others in the community.
SELECT map_level, min(score) as least, avg(score) as average, avg(score)+STD(score) as two_star, max(score) as maximum FROM LevelClear WHERE map_level = ?
Additionally, more sound effects were added into 1.4.0 including a sound for the appearance of a star. The same sound file is used for all three, but the pitch scale increases with each star.
Files
Get Goldphish Match
Goldphish Match
A puzzler where you shift tiles to match rows and columns
Status | In development |
Author | Slair Coding |
Genre | Puzzle |
Leave a comment
Log in with itch.io to leave a comment.