Timing animations with sound really does make a huge difference. The whole experience seems fuller and more well rounded, and it's usually not that hard to do.
Parks and Recreation, the TV show from the creators of the American version of The Office, has an intro that demonstrates this quite well. The first intro times the introduction of the title text to the first jingle in the song, and then the beats to the frame transitions, which feels playful and fun: http://www.youtube.com/watch?v=wI7f4CgATiE Then in Season 3, they rearranged the sequence to fit the new characters in, and the whole thing feels boring and out of sync: http://www.youtube.com/watch?v=YTgIJdcIpj0 I literally wince every time I watch it. I've always wondered whether it was the same people that worked on it, and what the story behind it was.
A couple of suggestions, speaking as a front-end designer / occasional indie-game artist: - I don't know how you're calculating it, but consider adding a bit of randomness to the effect radius. This way, you won't be blasting perfect circles each time. - If keeping the graphics CSS-only isn't a priority, consider some sprites! If you need a sooty blast scar or maybe a simple explosion sprite, I'd be glad to lend a hand.
Some randomness would effectively be great to add! As for the sprites, I really wanted to focus on font and simplicity. It is much more about the chaos of many destructions, than about a single explosion.
I might add different velocity depending on the mousedown event duration. The longer you press, the bigger the explosion get. Tks for your comments!
Thanks for making your site wacom-friendly. A lot of sites don't have any denoising for clicks, so if you try to click with a tablet it ends up dragging a tiny amount instead (twitter's lightbox is REALLY BAD in this respect).
It is pretty simple to implement, you increment a variable on 'touchmove' event, and check on 'touchend' if the variable is less then 3. If it is, you can call your click function.
Ah, but then 3px drags are not allowed, which might ruin your web-based diagram editor or game. Also the granularity of the denouncing will change depending on the size of the click target, so it's really app-specific.
Once you go absolute-position, it's hard to go back. With a mouse, you need to be aware of where the cursor is; with a tablet you just need to know where you want it to be.
Can you go into more detail about the benefits of using a Wacom tablet instead of a mouse? I know absolutely nothing about Wacom tablets, but this sounds interesting and I'd love to hear more.
Comments (85) 23 threads
That sense of timing would improve a lot of e.g. paid-for product demo movies.
Does anyone know what the waltz used was? Strauss?
Parks and Recreation, the TV show from the creators of the American version of The Office, has an intro that demonstrates this quite well.
The first intro times the introduction of the title text to the first jingle in the song, and then the beats to the frame transitions, which feels playful and fun:
http://www.youtube.com/watch?v=wI7f4CgATiE
Then in Season 3, they rearranged the sequence to fit the new characters in, and the whole thing feels boring and out of sync:
http://www.youtube.com/watch?v=YTgIJdcIpj0
I literally wince every time I watch it. I've always wondered whether it was the same people that worked on it, and what the story behind it was.
Source is here: https://github.com/plehoux/fontBomb/tree/master/src/coffee
Continue this thread — 1 reply
The bottleneck here is not javascript, it is the browser rendering system when applying all those css 2d transform.
A couple of suggestions, speaking as a front-end designer / occasional indie-game artist:
- I don't know how you're calculating it, but consider adding a bit of randomness to the effect radius. This way, you won't be blasting perfect circles each time.
- If keeping the graphics CSS-only isn't a priority, consider some sprites! If you need a sooty blast scar or maybe a simple explosion sprite, I'd be glad to lend a hand.
I might add different velocity depending on the mousedown event duration. The longer you press, the bigger the explosion get.
Tks for your comments!
When I looked at your JS, I thought to myself "that is a reasonable amount of code for that kind of functionality...even a little less than I would've thought"...considering there's no dependencies to browser-taming libraries: https://github.com/plehoux/fontBomb/blob/master/js/particle....
And then I saw the CS: https://github.com/plehoux/fontBomb/blob/master/src/coffee/p...
Nice!
Continue this thread — 2 replies
Continue this thread — 5 replies
Continue this thread — 2 replies
In 2012 it's because I got swag.
I've always wondered if these sorts of tools could be a useful gimmick for traffic-generation
All comments shown.
Couldn't load more comments. Check your connection and try again.