[haXe] little haxe/js game

Hudson Ansley hudsonansley at gmail.com
Mon Dec 3 13:34:15 CET 2007


really nice example of a javascript game!
BTW, would this should work for the count incrementing?

i.enemy.style.left = Std.string( js.Lib.window.document.body.clientWidth / 2 +
Math.sin( ++i.count / 20 ) * ( 100  + difficulty * 100 ) );

Regards,
Hudson

On Dec 2, 2007 4:50 PM,  <filt3r at free.fr> wrote:
> Selon Filip Dreger <fdreger at gmail.com>:
>
> > > I made first experimentation with dynamic javascript haxe this day
> > > I found it easyier that raw javascript which for me is too
> > dirty/complicated to
> > > start.
> > > http://filt3r.free.fr/js/game1



More information about the Haxe mailing list