Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (517)
Games in Android Showcase (123)
games submitted by our members
Games in WIP (577)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  jPCT-AE - an Android port of jPCT  (Read 7358 times)
0 Members and 1 Guest are viewing this topic.
Offline EgonOlsen
« Posted 2010-03-03 22:27:34 »

I finally managed to upload an alpha version of it and created a very simple, ugly website for it: http://www.jpct.net/jpct-ae/.
The demo works fine on the Samsung I7500, i have no idea how it works on other phones. Any feedback is appreciated.


Offline kevglass

JGO Kernel


Medals: 191
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #1 - Posted 2010-03-04 06:43:07 »

Wow, awesome work!

Kev

Offline gouessej
« Reply #2 - Posted 2010-03-04 10:22:26 »

I'm going to give it a try on my mobile phone, HTC Dream G1 upgraded to Android 1.5. Thanks.

Edit.: ok between 13 and 27 FPS with the first demo.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline EgonOlsen
« Reply #3 - Posted 2010-03-11 11:15:08 »

A little, blurry video showing raft's skeletal animation stuff running using jPCT-AE on an actual phone: http://www.youtube.com/watch?v=QP4LoJ-87vY

Offline tberthel
« Reply #4 - Posted 2010-03-15 02:30:30 »

Hmmm.  I wonder what would happen if I added jPCT to my Game Dev Kit like I did jMonkeyEngine.

Very nice.

Offline Momoko_Fan

Junior Duke


Medals: 2



« Reply #5 - Posted 2010-03-15 02:56:05 »

What is this 1 fps? IMO trying to get skeletal animation on phone is useless, unless you're using a powerhorse like the motorola droid with support for hardware skinning and such. Time to go back to md3 models lol XD
Offline EgonOlsen
« Reply #6 - Posted 2010-03-15 05:39:24 »

What is this 1 fps? IMO trying to get skeletal animation on phone is useless, unless you're using a powerhorse like the motorola droid with support for hardware skinning and such. Time to go back to md3 models lol XD
It runs @ around 8 fps on my Samsung i7500 with animations and close to 30 fps without.

Offline kevglass

JGO Kernel


Medals: 191
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #7 - Posted 2010-03-15 07:16:20 »

Quote
What is this 1 fps? IMO trying to get skeletal animation on phone is useless,

Few years ago it was useless getting 3D working on a phone, before that it was dumb trying to get games working on a phone at all. Things move very quickly, nice to be prepared.

Kev

Offline Momoko_Fan

Junior Duke


Medals: 2



« Reply #8 - Posted 2010-03-15 16:30:18 »

I suppose it is, but if you're trying to get it to run on HTC Hero or anything like that, running a complex computation on many verticies is a killer, especially in interpreted Java. For my engine, you would probably need to have some models be vertex animation based while for high-end devices with hardware skinning you would use skeletal animation.
Offline EgonOlsen
« Reply #9 - Posted 2010-03-15 16:58:18 »

Granted, Dalvik is slow. It's so slow, that it really hurts the whole platform IMHO....but there's a JIT to come for example and even if it would only double performance, that animation will run on a Hero (given that there is a possibility to upgrade...) or similar @ around 15+ fps, which is ok for a lot of applications. And you don't have to use it, you can use key framed animations as well. It was just an example and not even written by myself... Wink

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline badlogicgames
« Reply #10 - Posted 2010-03-18 21:24:46 »

I had very good performance with using the MD2 format with Dalvik. Granted, doing the vertex interpolations in native code is a lot faster but for not so complex scenes it works in pure Java pretty well. You can find a video of that at http://www.youtube.com/watch?v=WIQ9mX5vKgQ&feature=player_embedded. If you want the source i put up a small svn repository on google code that hosts a couple of classes that might make it easier to start game programming on Android. This includes the source for the MD2 loader and renderer. You can find it at http://code.google.com/p/android-gamedev/

http://www.badlogicgames.com - musings on Android and Java game development
Offline EgonOlsen
« Reply #11 - Posted 2010-03-18 22:01:43 »

jPCT-AE already supports loading and animation of MD2 models.... Wink

Offline badlogicgames
« Reply #12 - Posted 2010-03-18 23:27:34 »

whoops, should have looked up jPCT Smiley Maybe this is interesting for jPCT-AE http://code.google.com/p/gl2-android/. It's the Java native bindings for OpenGL ES 2.0 for Android. Not rocket science of course but might reduce some of your work. The official bindings will come with the next Android release called Froyo. A Google engineer i corresponded with about my bindings said that they are future proof and changing from mine to the official ones should be minimal work.

http://www.badlogicgames.com - musings on Android and Java game development
Offline gouessej
« Reply #13 - Posted 2010-03-19 15:27:10 »

whoops, should have looked up jPCT Smiley Maybe this is interesting for jPCT-AE http://code.google.com/p/gl2-android/. It's the Java native bindings for OpenGL ES 2.0 for Android. Not rocket science of course but might reduce some of your work. The official bindings will come with the next Android release called Froyo. A Google engineer i corresponded with about my bindings said that they are future proof and changing from mine to the official ones should be minimal work.
Why don't they try to use JOGL 2 instead? It already supports OpenGL ES and OpenGL.

Offline EgonOlsen
« Reply #14 - Posted 2010-03-24 21:52:56 »

I've uploaded a new version of the engine and the demo. It now works fine on Nexus One and Samsung Spica too.

Offline EgonOlsen
« Reply #15 - Posted 2010-04-08 07:34:47 »

Uploaded a new jar, which improves skeletal animation performance of that ninja demo from 8 to 18 fps on my Samsung i7500.

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

TehJavaDev (33 views)
2014-10-27 03:28:38

TehJavaDev (27 views)
2014-10-27 03:27:51

DarkCart (41 views)
2014-10-26 19:37:11

Luminem (22 views)
2014-10-26 10:17:50

Luminem (27 views)
2014-10-26 10:14:04

theagentd (33 views)
2014-10-25 15:46:29

Longarmx (61 views)
2014-10-17 03:59:02

Norakomi (59 views)
2014-10-16 15:22:06

Norakomi (48 views)
2014-10-16 15:20:20

lcass (43 views)
2014-10-15 16:18:58
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!