Bonzai Engine Forum
Bonzai Engine & Tools => Bonzai Engine on Android => Topic started by: guzhijie1981 on April 19, 2013, 04:38:04 AM
-
hi all
can anybody give me an example how to use this library on android . if there is a step by step guide, that is better.
thanks .
-
Similar to the desktop, except using the jar provided in bin/android and some specific init shown in the tutorials.
-
Similar to the desktop, except using the jar provided in bin/android and some specific init shown in the tutorials.
thanks jerome_j
can you tell me where to download the "/fonts/CourrierNew16.fnt" and "/models/obj/XWing/XWing.obj". unfortunat i find nothing for a long time.
-
The font is in the ui theme jar (bin/theme or third-party/niftygui) and the models/texture in the jar bin/application/bonzaiengine-tutorials.jar.
-
The font is in the ui theme jar (bin/theme or third-party/niftygui) and the models/texture in the jar bin/application/bonzaiengine-tutorials.jar.
hi jerome_j i follow http://bonzaiengine.com/tutorials.php bonzai engine on android.
there 2 activities . BonzaiEngineActivity && BeStandaloneTutorial2 i run both of them ,but nothing happened.
my questions as bellows:
1: which activity is demo for this engine ? or both of them ?
-
There is two activities:
- BeTutorial: tutorial showing how to create code running on desktop and android (using engine framework)
- BeStandaloneTutorial: tutorial using android api directly (engine framework not used)
With the last dev build, BeTutorial should run successfully if the assets are properly copied in assets folder of eclipse android project. It may however takes some time to load as it uses non optimized assets (obj/png instead of recomanded jmf/tex). It should log error in ddms log, if any.
After checking, BeStandaloneTutorial is broken (creating AndroidApi with null scene target broken in current dev build). A new build will be available soon to fix that.
Note: don't forget to add in the manifest