[Sugar-devel] cool animation w/ all-javascript space invaders
Felipe López Toledo
zer.subzero at gmail.com
Fri Jun 5 19:46:06 EDT 2009
>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 <lucian.branescu at gmail.com>
> For sound, you'll either have to find a wrapper that can use both
> <audio> and flash or use <audio> (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 you like).
>
> 2009/6/4 Felipe López Toledo <zer.subzero at gmail.com>:
> > 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 useful....but it depends on a swf file (soundmanager2.swf)
> in
> > the background.. so, if you don't have the flash plugin the sounds don't
> > work :(
> >
> > here is more information about the flash based solution
> > http://www.boutell.com/newfaq/creating/scriptsound.html
> >
> > there is also other flash audio wrappers
> > like JS Sound Kit http://jssoundkit.sourceforge.net/
> >
> > also, I found a (ugly) java applet solution :S
> >
> > and jQuery has its own sound plugin
> http://plugins.jquery.com/project/sound
> > that was useless
> >
> > so....
> >
> > why not to use <audio>?
> >
> > here it is :) http://karma.sugarlabs.org/can_cant/
> > btw It's simpler than the others
> >
> >
> > 2009/6/3 Lucian Branescu <lucian.branescu at gmail.com>
> >>
> >> Very interesting, especially because of its browser support.
> >>
> >> 2009/6/3 Bryan Berry <bryan at olenepal.org>:
> >> > 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 mailing list
> >> > Sugar-devel at lists.sugarlabs.org
> >> > http://lists.sugarlabs.org/listinfo/sugar-devel
> >> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sugarlabs.org/archive/sugar-devel/attachments/20090605/508707b4/attachment.htm
More information about the Sugar-devel
mailing list