Open GoogleCodeExporter opened 8 years ago
We have plans to support HTML5. The current problem is that GWT doesn't support
Reflection. Some flixel classes are using Reflection.
Original comment by kawingc...@gmail.com
on 11 Sep 2012 at 5:02
[deleted comment]
I read that, GWT not support reflection. I start to read the code and see if I
can help it to support HTML5
Original comment by herrera.emanuel.alejandro@gmail.com
on 11 Sep 2012 at 5:09
I've bookmarked this for some months, but I've never took the time to look
serious at it: http://code.google.com/p/java-box-factory/
Original comment by kawingc...@gmail.com
on 11 Sep 2012 at 5:57
Hooo, it looks very interesting, I start to see how it works
Original comment by herrera.emanuel.alejandro@gmail.com
on 11 Sep 2012 at 6:09
I've asked about this on the libgdx forums:
http://badlogicgames.com/forum/viewtopic.php?f=11&t=5376&p=26558#p26558
Otherwise, it might be possible to rewrite the bits of flixel that need
reflection and have some features not work in HTML5.
Original comment by TSWes...@gmail.com
on 21 Sep 2012 at 9:51
I think the ideal would be to remove everything that reflection to see where
else may fail flixel with GWT
Original comment by herrera.emanuel.alejandro@gmail.com
on 21 Sep 2012 at 10:33
reflectify-protocol
http://code.google.com/p/reflectify-protocol/
Doesn't exists so long.
Original comment by kawingc...@gmail.com
on 1 Oct 2012 at 6:30
huu, this looks promising, when finished my work, I get to try it
Original comment by herrera.emanuel.alejandro@gmail.com
on 1 Oct 2012 at 6:45
Some news from Mario http://www.badlogicgames.com/wordpress/?p=2764 about how
he did to solve it in libgdx. It's a solution from the compiler.
quote :
"And this is where the magic begins. GWT provides a way to hook into its
compiler. When the compiler encounters a call to GWT.create(), it checks if it
can find a Generator that can provide the Java source for the class in
question. This is also known as deferred binding and is used to solve a variety
of problems in GWT."
Original comment by s...@sylvain-grialou.name
on 24 Jan 2013 at 10:57
If someone is going to try this out, keep in mind of two methods:
FlxAssetCache::getFileHandle() is not supported by GWT (unless the latest
revision of libGDX supports this)
FlxAssetCache::loadFont() is native libraries are not supported.
Having an Ant build file could be very handy for generating the modules after
each change in the core.
Original comment by kawingc...@gmail.com
on 26 Jan 2013 at 5:06
Original issue reported on code.google.com by
thenol...@gmail.com
on 10 Sep 2012 at 2:51