nilswx / strik

Mobile multiplayer word game with cocos2D
2 stars 0 forks source link

Changing name reloads progress. #52

Open matthijn opened 10 years ago

matthijn commented 10 years ago

Changing the name somehow reloads the progress.

nilswx commented 10 years ago

Changing the name adds experience (for testing) and this it why the server sends EXPERIENCE_ADDED. The animation seems to be bugged, it shouldn't reload the bar from ZERO to NEW_AMOUNT, but rather 'continue' from OLD_AMOUNT to NEW_AMOUNT. (and when exceeding the 'end' of a level: level up as much levels as needed)

matthijn commented 10 years ago

I doesn't have to send XP added for this. Levelling up with multiple "progress fills" can be moved to 1.* version of Strik.

nilswx commented 10 years ago

Aight! But the refills shouldn't start from zero. (makes it look like the bars reload instead of filling up)

matthijn commented 10 years ago

True dat, except at boot I suppose?

nilswx commented 10 years ago

Yeah, loading the home scene could do a full refill. :) (like in Strik-iOS)