Android Tutorial PacDroid: from scratch to fun

yontala

Member
Licensed User
Longtime User
That's amazing! It's the best tutorial!!!
I have a Question...If I develop a game using: LibGDX, Tiled and Texture Packer.
I have to paid for used it or they are for free? Can I sell this game?
 

sorex

Expert
Licensed User
Longtime User
the point is to learn from it and start making your own game (not selling the work of someone else)
 

Informatix

Expert
Licensed User
Longtime User
That's amazing! It's the best tutorial!!!
I have a Question...If I develop a game using: LibGDX, Tiled and Texture Packer.
I have to paid for used it or they are for free? Can I sell this game?
All these products are free and people made them to allow you to create any kind of app, including commercial ones, full of ads.
You have to mention that you used some of them in your credits/license screen. Read their license.
 

yontala

Member
Licensed User
Longtime User
Thanks, I'm agree. When I say "if can I sell this game" I refer to developing a game using LibGDX, Tiled and Texture Packer from Zero.
I apologize: my english is not good..
 

johnl

Member
Licensed User
Longtime User
When I try to run pacdroid I get the below. Sorry if it's obvious, but any ideas? I'm using the latest version of B4A, and libgdx from here: https://www.b4x.com/android/forum/threads/libgdx-game-engine.32594/



mainonCreate (java line: 35)



java.lang.NoClassDefFoundError: anywheresoftware/b4a/libgdx/graphics/lgSpriteBatch



at java.lang.Class.getDeclaredMethods(Native Method)

at java.lang.Class.getDeclaredMethods(Class.java:656)

at anywheresoftware.b4a.BA.loadHtSubs(BA.java:419)

at flm.b4a.pacdroid.main.onCreate(main.java:35)

at android.app.Activity.performCreate(Activity.java:5600)

at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)

at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2504)

at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2599)

at android.app.ActivityThread.access$900(ActivityThread.java:174)

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1321)

at android.os.Handler.dispatchMessage(Handler.java:102)

at android.os.Looper.loop(Looper.java:146)

at android.app.ActivityThread.main(ActivityThread.java:5748)

at java.lang.reflect.Method.invokeNative(Native Method)

at java.lang.reflect.Method.invoke(Method.java:515)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)

at dalvik.system.NativeStart.main(Native Method)

Caused by: java.lang.ClassNotFoundException: Didn't find class "anywheresoftware.b4a.libgdx.graphics.lgSpriteBatch" on path: DexPathList[[zip file "/data/app/flm.b4a.pacdroid-2.apk"],nativeLibraryDirectories=[/data/app-lib/flm.b4a.pacdroid-2, /vendor/lib, /system/lib]]

at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)

at java.lang.ClassLoader.loadClass(ClassLoader.java:497)

at java.lang.ClassLoader.loadClass(ClassLoader.java:457)

... 18 more
 

Informatix

Expert
Licensed User
Longtime User
No idea. Either you didn't put the libGdx library at the right place (and a lot of things are displayed in red in the IDE) or it's an unknown error. Ask to Erel in this case.
 

johnl

Member
Licensed User
Longtime User
Thanks for the quick reply. No, there's nothing in red. I've looked at a couple of the other examples and they worked fine. hmm.
 

Laurent95

Active Member
Licensed User
Longtime User
I think once I saw the source code of the pacdroid tutorial. Where to download?

You must read all ! Seems you didn't do it.
Take a look at second post of Informatix "PacDroid is alive!".
 

Laurent95

Active Member
Licensed User
Longtime User
Cookies are required to use this site. You must accept them to continue using the site. Learn more…