Could the game's web port with libgdx work as a Facebook application?

I just started with libgdx, a week ago.

Now I know that there are 4 project folders, and so far I have only been interested in desktop and Android versions.

But then I realized that the game’s web port, which is also built at the same time, is in JavaScript. And Facebook apps use JS, HTML and CSS right?

So say that I am making this Android game, and released its web copy thanks to libgdx + GWT magic. Will it work on Facebook?

+4
source share
1 answer

It should work as Facebook supports HTML5 and JavaScript for its applications. For example, Sky Scraper City is built using HTML5. I have no experience with GWT, but judging by the fact that GWT applications running in production mode are pure JavaScript and HTML (compiled from a Java source), these applications can be embedded in Facebook applications.

+3
source

All Articles