-
Notifications
You must be signed in to change notification settings - Fork 113
libgdx json gwt
Adrian Papari edited this page Jan 6, 2019
·
3 revisions
The GWT target in general requires some effort to get working and can be hard to debug. Not recommended for beginners.
This module depends on BOTH gdx and odb gwt reflection caches! Make absolutely certain you register all your components and related types with both reflection caches, or you will spend hours debugging! See step 4 below.
In addition to the Basic Setup, GWT applications require a few additional steps.
- Add
compile "net.onedaybeard.artemis:artemis-odb-serializer-json-libgdx:2.2.0:sources"
to your html module. - Add the gwt json module to
GdxDefinition.gwt.xml
<inherits name='com.artemis-json-libgdx' />
- Register all classes (or parent packages) in
GdxDefinition.gwt.xml
, example:
<extend-configuration-property name="gdx.reflect.include" value="net.mypackage.components"/>
<extend-configuration-property name="artemis.reflect.include" value="net.mypackage.components"/>
- Overview
- Concepts
- Getting Started
- Using
- More guides
- Plugins
- Game Gallery
- Tools and Frameworks
- API reference