Comments (12)
from gdx-ai.
Ok, looks like there are a few issues on GWT:
- As @MobiDevelop said on the irc channel, we should add
AbsoluteFileHandleResolver
andLocalFileHandleResolver
to the libgdx GWT module. - Add missing
FileHandle
constructors to the libgdx GWT module. StringTokenizer.countTokens()
is not supported by GWT. This must be fixed in gdx-ai, I guess
from gdx-ai.
Now items 1 and 2 should be fixed by this commit and this commit respectively
from gdx-ai.
Just realized that StringTokenizer
is emulated by the libgdx gwt backend, see https://github.com/libgdx/libgdx/blob/master/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/util/StringTokenizer.java
We might simply update that class in order to support countTokens
.
from gdx-ai.
Hi! I have this problem. How can I update my project to get your fixes?
from gdx-ai.
@AlexanderSopov
Update to gdx-1.8.0.
If you use gradle, just change the gdx-ai version in your build.gradle
.
from gdx-ai.
@davebaol hi! I did do just that. In the build.gradle in the root folder of the project I changed the following thing:
allprojects{
[...]
ext{
appName = "SharpShooter"
gdxVersion = '1.8.0'
roboVMVersion = '1.12.0'
box2DLightsVersion = '1.4'
ashleyVersion = '1.7.0'
aiVersion = '1.8.0' * >>it was 1.7.0 before<<*
}
}
and I still get the same error. Did I miss something? :(
from gdx-ai.
Looks like you have not run gradle to refresh depencencies and rebuild your project.
You can do it either from inside your IDE or through command line.
from gdx-ai.
@davebaol actually I got it working by changing ai-version to 1.6 so I doubt that refreshing dependencies will help, but I will try. Thanks a lot! :)
from gdx-ai.
Yes, I did gradle build --refresh-dependencies and it did not help circumvent the issue. I still get an error with the exact error as the OP in this thread.
from gdx-ai.
Try using these versions
gdxVersion = '1.9.2'
aiVersion = '1.8.0'
I had to change StringTokenizer
emulation in libgdx 1.9.0, see the commit linked in #59 (comment)
from gdx-ai.
@davebaol thanks man! That solved it! I had to make some changes to the htmlLauncher but that wasn't hard. 💃
from gdx-ai.
Related Issues (20)
- Example for Guards in the Wiki.
- @TaskAttribute for enums does not work HOT 1
- Is there a reason to use getFields instead of getDeclaredField in BTreeParser HOT 5
- Release 1.8.2? HOT 7
- Behavior Trees: Freeze in BehaviorTree#step() in certain conditions HOT 3
- There's a TODO with a link to a page that no longer exists. HOT 2
- Is there something wrong here in Parallel?
- How to correctly pool behavior trees (and tasks)?
- index 81 out of bounds for length 81 HOT 2
- When will gdx-ai released a new version HOT 1
- POOL field in MessageDispatcher should not be static? HOT 1
- TaskAttributes do not appear to populate Tasks for included subtrees
- Broken images in wiki
- Broken Javadocs Links in Wiki
- When I use kryo to serialize btree on android, i got a exception that GuardEvaluator can bot be accessible
- The Fighting Kitten Tutorial is not available
- Running the tests HOT 1
- Are there any plans to release a new version
- Behavior trees Parallel components clearing Sequences
- d
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gdx-ai.