Re: [Sugar-devel] cool animation w/ all-javascript space invaders

2009-06-05 Thread Felipe López Toledo
>create an Audio object that uses flash or >plugin media players in the background for backwards compatibility Yes, that's right. Since it exists "new Image()" new Audio() seems familiar. Thanks for your advise. 2009/6/4 Lucian Branescu > For sound, you'll either have to find a wrapper that ca

Re: [Sugar-devel] cool animation w/ all-javascript space invaders

2009-06-05 Thread Bryan Berry
regrettably, i haven't tried it on the XO. given that there is no wireless where i am right now, probably won't try it immediately I see no reason why js animations can't work on the XO. It all depends on the particular user used. On Fri, 2009-06-05 at 10:03 +0200, NoiseEHC wrote: > Bryan Berry w

Re: [Sugar-devel] cool animation w/ all-javascript space invaders

2009-06-05 Thread Martin Langhoff
2009/6/5 NoiseEHC : > Have you tried it on an XO? I just had this "experience". Seems to me > that we will not do animation with js ever... Well, I don't think the js in that game is optimised at all. Very jerky on my mid-range (non-XO) laptop. There's lots of nice tricks you can do when scriptin

Re: [Sugar-devel] cool animation w/ all-javascript space invaders

2009-06-05 Thread NoiseEHC
Bryan Berry wrote: > http://static.boundvariable.com/space-invaders/ > > does most of the animation that we need using raphaeljs, which uses svg > and not canvas http://www.raphaeljs.com > > Have you tried it on an XO? I just had this "experience". Seems to me that we will not do animation with

Re: [Sugar-devel] cool animation w/ all-javascript space invaders

2009-06-04 Thread Lucian Branescu
For sound, you'll either have to find a wrapper that can use both and flash or use (or more precisely use it with scripting, new Audio()) and create an Audio object that uses flash or plugin media players in the background for backwards compatibility (which can use soundmanager or whatever else y

Re: [Sugar-devel] cool animation w/ all-javascript space invaders

2009-06-04 Thread Felipe López Toledo
nice example it has a tween.js with easing equations - excellent about the sounds (here is the tricky part) it uses soundmanager2 http://www.schillmania.com/projects/soundmanager2/ really really usefulbut it depends on a swf file (soundmanager2.swf) in the background.. so, if you don't have t

Re: [Sugar-devel] cool animation w/ all-javascript space invaders

2009-06-02 Thread Lucian Branescu
Very interesting, especially because of its browser support. 2009/6/3 Bryan Berry : > http://static.boundvariable.com/space-invaders/ > > does most of the animation that we need using raphaeljs, which uses svg > and not canvas http://www.raphaeljs.com > > -- > Bryan W. Berry > Technology Director

[Sugar-devel] cool animation w/ all-javascript space invaders

2009-06-02 Thread Bryan Berry
http://static.boundvariable.com/space-invaders/ does most of the animation that we need using raphaeljs, which uses svg and not canvas http://www.raphaeljs.com -- Bryan W. Berry Technology Director OLE Nepal, http://www.olenepal.org ___ Sugar-devel ma