One more stupid animation...

Nao

  • Dadman with a boy
  • Posts: 16,082
One more stupid animation...
« on May 21st, 2012, 04:16 PM »
So, I couldn't be arsed to keep working on the tons of features I'm supposed to finish, so I just made a new animation...

Just press the Quick Edit button to see a (probably weird) transition between the post and the textarea.
I tried many variations to get the most 'natural' feeling, but I don't know if it adds anything to the feature, or actually distracts from it, I don't know...

Hence this new topic to post about new animations, and your opinions on them :P

Dragooon

  • I can code! Really!
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,841
Re: One more stupid animation...
« Reply #1, on May 21st, 2012, 04:20 PM »
This is a post to test the animation

Ideally the textbox should just appear behind the text without it fading, but it still looks good.
The way it's meant to be

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: One more stupid animation...
« Reply #2, on May 21st, 2012, 04:23 PM »
The problem is that the textarea has a pretty much consistent height, while posts can be of any height...
I actually introduced the animation to allow users to 'follow' the Quick Edit button they just clicked, while the post is being resized.
Unfortunately, on my computer it's quite jerky, and I'm not sure it's for the best.
I'm still working on it...

Dragooon

  • I can code! Really!
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,841
Re: One more stupid animation...
« Reply #3, on May 21st, 2012, 04:34 PM »
Well not sure how you'd achieve this, but wrap the text area around the entire post content(Make it fade from behind) and then resize it?

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: One more stupid animation...
« Reply #4, on May 21st, 2012, 04:42 PM »
(Eh...?!)

Anyway, in my latest version I've given up on the idea of starting the fadeOut animation before the post text is retrieved -- I don't like relying on client/server efficiency when doing animations. So it's doing a simple slideUp while the textarea is in a slideDown. A kind of animation I already implemented in the past, because, well, it's relatively easy to do... :)

It doesn't look bad, at this point. I just don't know how it'll work in the long run.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: One more stupid animation...
« Reply #5, on May 21st, 2012, 08:03 PM »
Hmm, I'm not convinced either, but I will acknowledge that after an afternoon of psychological warfare and bureaucracy I'm not in the most positive frame of mind.
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: One more stupid animation...
« Reply #6, on May 21st, 2012, 08:09 PM »
Since it's committed, feel free to change speeds to get a feeling of how best to handle it...

After all the quick reply is animated too.