riperiperi / FreeSO

Re-implementation of The Sims Online.
http://freeso.org
Mozilla Public License 2.0
817 stars 95 forks source link

Make Band (& Slots) Suck Less + UI Additions #150

Closed TheArchitectFreeSO closed 5 years ago

TheArchitectFreeSO commented 5 years ago

SlotsEOD - UI animations now match the faster dynamic graphics due to the 1.2 animations speed increase from ages ago.

BandEOD - Band sucks less: •A minimum payout has been added, wherein players are awarded a certain amount of money despite losing a round. Every 5 rounds (5, 10, 15, 20) will update the minimum payout. Players who lose on subsequent rounds will still receive the highest minimum payout already achieved. No minimum payout will be given below 5 rounds. (A round is when an additional note is added to the song). •The UI has been partially redesigned to display the current payout and current minimum payout. This will only be visible once a game has started. •After successfully playing back any sequence, the Sim belonging to the player who played the final note will jam on their instrument in celebration of the round win. •More time has been added to the decision of whether to rock on or sell out. (Up to 10 seconds from 5) •More time has been added to allow each note to be played back by the player. (Up to 10 seconds from 5) •More time has been added before the game begins after leaving the lobby. (Up to 10 seconds from 3) •The server code has been rewritten to be more thread safe. •The band object thumbnail now works (thanks Raeven)

CityGeometry - Proposed fixed to keep non-Sunrise Crater maps from throwing terrain type error.

Various UI additions, but of note: UITween - heavy additions to allow tween queuing UIInvisibleButton - updated to use the less wasteful approach that you suggested with the transparent texture UIInvisibleContainer/UIImage - dynamic masking and auto-centering of images for clean tweening UIElement/Matrix2D - addition of the rotation property with an optional rotation origin. I'm really sorry that this file is a mess. I wasn't being hyperbolic when I said I spent 1 hour trying to decide how to fix the massive merge conflict. We both changed this class a lot over the past few months. The biggest issue is we both seem to have started using SpriteEffects and that all of the DrawLocal... functions changed. I don't use SpriteEffects in this Band PR, but I do in the EOD that you know I'm working on now.