Issue 248 in playn: HtmlPlatform root element

3 views
Skip to first unread message

pl...@googlecode.com

unread,
Feb 12, 2014, 4:46:40 AM2/12/14
to playn-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 248 by tan...@gmail.com: HtmlPlatform root element
http://code.google.com/p/playn/issues/detail?id=248

In many use cases, the html page is generated according to a couple of
requirements. It would be flexible that the root element of PlayN is able
to be customized such as config.rootId = "playn-x-root" or
platform.register(element).

And it would be very useful when the single html page hosts multiple
so-called games, each of which is just game alike application with more
fantastic UI.



--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

pl...@googlecode.com

unread,
Feb 12, 2014, 1:41:54 PM2/12/14
to playn-...@googlegroups.com
Updates:
Status: Fixed
Owner: samskiv...@gmail.com

Comment #1 on issue 248 by m...@samskivert.com: HtmlPlatform root element
http://code.google.com/p/playn/issues/detail?id=248

I pushed a patch that allows the root element id to be configured.

In order to make this work, I think your separate "games" would need to be
totally separate GWT apps, because PlayN is not designed to support running
more than one game due to its pervasive use of statics.

pl...@googlecode.com

unread,
Jun 1, 2014, 11:08:45 PM6/1/14
to playn-...@googlegroups.com

Comment #2 on issue 248 by tan...@gmail.com: HtmlPlatform root element
http://code.google.com/p/playn/issues/detail?id=248

It works fine :)

Just come back to say thanks.
Reply all
Reply to author
Forward
0 new messages