Skip to content

xpenatan/gdx-bullet-gwt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note: This was a experimental build so no more updates for this proj. A new bullet project for web is being created to work with Dragome backend. Its auto generated and controlled by the base c++ project so its easier to manage.

gdx-bullet-gwt

Bullet extension for libgdx html5

This extension emulate java bullet extension to use ammo.js instead of c++ jni. If a error pops in its because the class/method is not yet emulated. Any optimization and adding missing implementation is welcome.

If you going to help try to keep js calls as low as possible because there is a weird error "Maximum call stack size exceeded" that can occur.

You will need to work with Gdx sources.

Instructions

1 - GwtBullet.init() needs to be called before return ApplicationListener at getApplicationListener().
2 - Have to place bullet.gwt.xml file in gdx-bullet project at com.badlogic.gdx.physics.
3 - Have to include <inherits name="com.badlogic.gdx.physics.bullet.bullet-gwt"/> in gwt.xml file.
4 - For gdx-tests-gwt to work you need to remove System.load from BaseBulletTest.java.

Demos

About

Bullet extension for libgdx html5

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages