Tween.js-ers of the world and interpolation aficionados rejoice!
Here’s tween.js r12: a release that brings you two bug fixes for quite specific circumstances (well spotted, guys!), better assets management for the repo and a C/C++ version for your very binary projects!
Or, copying from the changelog:
- Fix bug with cached tweens.length value inside update() loop (freestlr)
- Move assets and all examples and stuff to use the gh-pages branch, so things are always properly updated (sole).
- Fix bug where chained tweens were not stopped if the previous tween had been stopped, under certain circumstances, by cfddream
- Use tweens in C/C++ with libtween by jsm174!
It’s also in npm as tween.js, so you can do
npm install tween.js
Astute readers might have noticed the absence of an r11 post on this blog. That’s because it was a bit of a messy release, as I was utterly busy, and I forgot to tag it, forgot to add the file size to the change log, etc, etc. Hopefully it’ll get better from now on as I try to simplify the deploy process.
As promised, I submitted an entry to the DemoJS party, held past week-end in Paris. It’s to_the_beat // js
Hint: since it is using sorollet and everything is generated on the fly, you can bring up the synth GUI by pressing D while the demo is playing, and start twisting knobs which can be pretty satisfactory and hypnotic, because the player is configured to loop the song.
It ended at 4th position, which doesn’t sound bad… unless there were only four participants in the Demo Compo, that is! In any case, it was funny to watch the compos via the stream the organisers set up: mine definitely needed A LOT MORE of bandwidth, as shown:
I would have added some microphone to record the crowd reaction, as otherwise the experience was a bit sterile, but I don’t know if shouting
Alleeeez is still in vogue amongst French demosceners anymore…
I will write about the conversion process and give the demo a page in my demoscene projects list later, but for now, just enjoy the demo! :-)
The usual tween.js release date is on the fourth of each month, so this release happening on the third is a bit weird, isn’t it? Well, not really, as it’s Sunday, and when I have time to do the release tomorrow –in the evening– I might be a bit sleepy already and might not be as alert as I’d wish to be, so since there weren’t any more new features to test and the release was ready, well… why wait until tomorrow when we can have it today?
So here’s it: tween.js revision 10!
We shipped something! Yayyy! Here: Tiny Barbarian.
Our initial aim was to deploy it to GitHub pages, but for some reason GitHub wasn’t serving the custom font with the proper content-type, and was returning 404′s for some of our textures (why?) so in a show of pragmatism Belén simply uploaded our tiny game to Heroku. That was about 30 minutes before the deadline!
First: failing miserably at live-blogging. We’ve been so deep-down on the crazy coding that I haven’t had much time to even stand up and walk around.
Second: waking up this morning was horrible, as I had spent the night programming in my sleep. Terrible, terrible, trust me. When that happens to me, it’s usually a nightmare about trying an approach, it doesn’t work, running it again, in a loop, during the whole night. Arghhh. Maybe the extra two hours of pub-hacking had something to do with it and my brain was just so excited to stop for, say, a few hours and let me actually rest! I seriously hope that doesn’t happen tonight… or I’ll be a zombiesole tomorrow ø_ø