Closed CypherEA closed 8 years ago
GWT/HTML5 backend is currently not (yet) supported. I cannot promise anything. Maybe I will add this with the next release since ios requires few new adaptions probably.
Any ETA?
No ETA sorry.
experimental GWT support with 1.2.0
Excellent. Thanks!
Changed the build.gradle to 1.2.0:
Could not find de.tomgrill.gdxfacebook:gdx-facebook-android:1.2.0. Searched in the following locations: https://repo1.maven.org/maven2/de/tomgrill/gdxfacebook/gdx-facebook-android/1.2.0/gdx-facebook-android-1.2.0.pom https://repo1.maven.org/maven2/de/tomgrill/gdxfacebook/gdx-facebook-android/1.2.0/gdx-facebook-android-1.2.0.jar https://oss.sonatype.org/content/repositories/snapshots/de/tomgrill/gdxfacebook/gdx-facebook-android/1.2.0/gdx-facebook-android-1.2.0.pom https://oss.sonatype.org/content/repositories/snapshots/de/tomgrill/gdxfacebook/gdx-facebook-android/1.2.0/gdx-facebook-android-1.2.0.jar https://oss.sonatype.org/content/repositories/releases/de/tomgrill/gdxfacebook/gdx-facebook-android/1.2.0/gdx-facebook-android-1.2.0.pom https://oss.sonatype.org/content/repositories/releases/de/tomgrill/gdxfacebook/gdx-facebook-android/1.2.0/gdx-facebook-android-1.2.0.jar
My bad, forgot to press the not so shiny release button. Now it should work.
Yeap. Works now! Thanks.
Is the Wiki updated with what to do to get it to work in the HTML project?
Yep :)
Okay, so added the <source path... things from your wiki (btw, the gwt.xml in your sample app is not updated with these). Now getting this:
Compiling module com.caracri.game.GdxDefinition
Validating units:
[ERROR] Errors in 'file:/C:/Users/Cypher/Documents/NetBeansProjects/caracri/core/src/common/CaracriFacebookConfig.java'
[ERROR] Line 15: No source code is available for type de.tomgrill.gdxfacebook.core.GDXFacebookConfig; did you forget to inherit a required module?
[ERROR] Errors in 'file:/C:/Users/Cypher/Documents/NetBeansProjects/caracri/core/src/common/CaracriFacebookObject.java'
[ERROR] Line 35: No source code is available for type de.tomgrill.gdxfacebook.core.GDXFacebookSystem; did you forget to inherit a required module?
[ERROR] Line 45: No source code is available for type de.tomgrill.gdxfacebook.core.SignInMode; did you forget to inherit a required module?
[ERROR] Line 45: No source code is available for type de.tomgrill.gdxfacebook.core.GDXFacebookCallback
The gwt.xml in sample app has the 2 lines: https://github.com/TomGrill/gdx-facebook-app/blob/master/core/src/GdxFacebookSampleApp.gwt.xml
I am not good with this GWT stuff. Cannot help you atm.
Since the way to implement gdx-facebook as GWT module changed like 5 minutes ago, I recommend to start all over.
Wiki and sample application are updated accordingly.
Dude, you rock.
err... did you press the Release button? ;D
like a boss
HI,
I got this working on Desktop and Android, but I'd love to also get it to work on GWT. My game is cross platform, and allows direct cross platform play. And I've integrated Facebook login/register along side direct login/register to my site.
How do I make it work, the Facebook login, with HTML5?