Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - moodroid

#1
Projects / Re: Space Flight Simulator
March 05, 2015, 05:12:08 AM
Good work.  Graphics look good and I love the hypnotic background music.

I can offer a few constructive remarks:
The loading time is good (from the moment I start the app until the rotating earth animation starts) but its always bad to have the screen go black while loading even if for only two seconds - I always prefer a loading animation or image more than the black "is it stuck" screen.

The opening screen with the rotating earth reminded me of the model from a book by Smithwick et al. called "pro opengl es for android" which focuses on a solar system model, Your work surpasses the models in the book in most aspects but they did get the light/material properties right.(Not worth buying the book for someone at your level) ,  I guess its something about the reflected light from the ocean seems better there (boost the shininess?).  Last thing, The user interaction is not so intuitive and hard to understand what's going on.

Over all-
You Totally Rock!

-Moodroid.
#2
Bones / Re: Please help with Ninja demo setup.
March 02, 2015, 06:07:46 PM
Thanks for the help,

Project will soon be available on the JPCT wiki in the Bones subsection. (just as soon as I understand how to upload the zip there..)
#3
Hello everybody!

I have started a new project that is derived from the Bones Ninja demo, "project NinjaSenses".

The goal of this project is to integrate the use android accelerometer sensors to control the Ninja animations.
So far I have only created a few stubs (and they are buggy as hell.) :
when I hold my phone and jump in place then the ninja on the screen also jumps.
when I move the phone forward fast then the ninja attacks.
Next I will try to detect user walk and user climb gestures and to make the ninja imitate the user's gestures accordingly.

Although the project is of personal interest to me and completely non-commercial, I am not sure where the ninja data came from and I am also not sure about the legality of distributing community version android studio projects online.
Therefore I ask the more experienced community members to share their thoughts and state any legal restrictions here before the project is shared online.  (Raft -  I guess this demands your approval).

Please start posting code snippets and ideas here.   

P.S.. do we have a github or something similar for JPCT/AE and Bones?

And to all a Happy Dev. time.
- Moodroid 

#4
Bones / Re: Please help with Ninja demo setup.
March 01, 2015, 06:53:53 AM
Thanks, it worked like magic.
A happy little ninja is backflipping on my screen. :-)
I will try to upload the fixed Android studio project later on today.

Please let me know if there is anything I can do to help
the Bones project and community.


#5
Bones / Please help with Ninja demo setup. (stack)
February 23, 2015, 08:01:35 AM
Hi again, attached is the error that I got.

Please ignore the long and useless package name "com.example.root.bonestry3.bones.samples.android.NinjaDemoActivity"
It is not the cause of the problem (the same errors also came up in my previous attempts to build this project)

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.root.bonestry3/com.example.root.bonestry3.bones.samples.android.NinjaDemoActivity}:

java.lang.RuntimeException: java.io.IOException: Version mismatch. Current version: 4, stream version: 3

            at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2413)
            at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2471)
            at android.app.ActivityThread.access$900(ActivityThread.java:175)
            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1308)
            at android.os.Handler.dispatchMessage(Handler.java:102)
            at android.os.Looper.loop(Looper.java:146)
            at android.app.ActivityThread.main(ActivityThread.java:5602)
            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:1283)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
            at dalvik.system.NativeStart.main(Native Method)

**************************************************************************************************   
  Caused by: java.lang.RuntimeException: java.io.IOException: Version mismatch. Current version: 4, stream version: 3
            at com.example.root.bonestry3.bones.samples.android.NinjaDemoActivity.onCreate(NinjaDemoActivity.java:121)
**************************************************************************************************

            at android.app.Activity.performCreate(Activity.java:5451)
            at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
            at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2377)
            at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2471)
            at android.app.ActivityThread.access$900(ActivityThread.java:175)
            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1308)
            at android.os.Handler.dispatchMessage(Handler.java:102)
            at android.os.Looper.loop(Looper.java:146)
            at android.app.ActivityThread.main(ActivityThread.java:5602)
            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:1283)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
            at dalvik.system.NativeStart.main(Native Method)

**************************************************************************************************     
Caused by: java.io.IOException: Version mismatch. Current version: 4, stream version: 3
            at raft.jpct.bones.BonesIO.readHeader(BonesIO.java:104)
            at raft.jpct.bones.BonesIO.loadGroup(BonesIO.java:85)
***************************************************************************************************

            at com.example.root.bonestry3.bones.samples.android.NinjaDemoActivity.onCreate(NinjaDemoActivity.java:115)
            at android.app.Activity.performCreate(Activity.java:5451)
            at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
            at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2377)
            at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2471)
            at android.app.ActivityThread.access$900(ActivityThread.java:175)
            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1308)
            at android.os.Handler.dispatchMessage(Handler.java:102)
            at android.os.Looper.loop(Looper.java:146)
            at android.app.ActivityThread.main(ActivityThread.java:5602)
            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:1283)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
            at dalvik.system.NativeStart.main(Native Method)


#6
Bones / Please help with Ninja demo setup.
February 23, 2015, 01:56:08 AM
Hello.

I tried running the Ninja demo using Android Studio and the ADB.
I know it was an eclipse project originally.
after adding some libs to the project I got it to compile with no errors.
However, It crashed when I tried running it on my phone and tablet.

I caught a runtime exception, I don't have the stack text but it went something like:
"   version mismatch Current version = 3 and stream version = 4.  "
BonesIO has an int VERSION=4 so I think this is the source of the problem.
-What does this mean?

1.Is the bones.jar from the bones homepage compatible with the ninja demo files?
2.Would this demo work on Jellybeans and Kitkat or is it designed for Lollipop?

Any help will be much appreciated.

*after I get it to work then I will upload a complete android studio project if you guys are interested...