Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (120)
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  
  [Odejava] Version 0.2.2 released  (Read 1618 times)
0 Members and 1 Guest are viewing this topic.
Offline Jani Laakso

Junior Duke




Do it with Java!


« Posted 2004-02-12 04:39:43 »

Write here your comments about Odejava version 0.2.2.

You can find the latest version from CVS, there does not exists any downloadable packages yet for 0.2.2 version.

We have no documentation yet, but the code is extensively commented and the Demos exploit new Collision classes (JavaCollision) which allow you to receive all collision events and also edit them as you wish. The demos should get you started.

In practise you can now add sound events, particle effects or any other imaginable event that you can come up based on any collision.

Performance should be same as earlier version, based to my initial benchmarks.

CVS contains win32 and linux libraries. MacOS anyone?
Offline William Denniss

JGO Coder


Projects: 2


Fire at will


« Reply #1 - Posted 2004-02-12 09:03:38 »

Quote

Note: linux native library is currently old version, it wont work with current CVS head, I'll compile and commit linux library in a couple days max.


Jani,

First up - great work!  Thanks Grin

I have compiled and commited the linux native libary in the usual place (odejava/lib/linux/libodejava.so).  I'm more than happy to do this at regular intervals for those of us using linux if you would like Smiley  It's compiled on RH9 although I have Fedora setup on another box which I could start using if this is preferred.

One bug which seems to have plagued me a bit with the CarDemo is when it starts, the chassis of the car is rotated 90 degrees on the X-axis (if the car is pointing forwards) (which in ascii makes the car look like this:  .|. instead of ._.).  When I hit space to reset the simulation it reverts to normal.

I just ran CarExample 5 times and got the same strange effect.

Any idea why?

Will.

Offline Jani Laakso

Junior Duke




Do it with Java!


« Reply #2 - Posted 2004-02-12 10:09:10 »

Quote

One bug which seems to have plagued me a bit with the CarDemo is when it starts, the chassis of the car is rotated 90 degrees on the X-axis (if the car is pointing forwards) (which in ascii makes the car look like this:  .|. instead of ._.).  When I hit space to reset the simulation it reverts to normal.


Fixed. The problem was on Body.resetRotationAndForces().

This occured with previous releases also, only now it seems to come perhaps a bit easier. I haven't checked why but somehow Body.setRotation() can act a bit funny.  I was aware of this but forgot to fix it. Body.setQuat() has always worked fine. I fixed Body.resetRotationAndForces() by replacing setRotation(new Matrix4f()) with setQuat(new Quat4f());. Have to check why Body.setRotation makes this kind of bugs sometimes. For the mean time, I suggest you use quaternions instead of matrices when it comes to rotating your bodies.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Jani Laakso

Junior Duke




Do it with Java!


« Reply #3 - Posted 2004-02-14 13:01:04 »

Here's an important fix / release..

Odejava 0.2.3 now uses DirectBuffers for collision data handling.

Previous version was thrashing memory _a lot_ because of SWIG proxy classes were used for accessing contact data on a tight loop. This was an meaningful optimization as for complex simulations the difference on speed might be over 50%, this was mainly due to GC hickups.

Summary, collision data read/write should finally be as it should. Very fast and it does not need any "new" clauses or any JNI as DirectBuffers are used. Also complex simulations take a lot less memory.


Cheers, Jani!
Offline kaffiene
« Reply #4 - Posted 2004-02-16 06:54:35 »

You rock! :-)

Thanks for all the work on this - it's people like you who make this site awesome. Smiley

Peter.
Offline Jani Laakso

Junior Duke




Do it with Java!


« Reply #5 - Posted 2004-02-16 11:35:40 »

Quote

Thanks for all the work on this..


Thank you for the compliment! It's always nice to get positive feedback, me bows Smiley Have to remember though that it's the ODE itself that makes all this possible. Just keep more ideas and request coming, I try to coordinate work to other developers as well.

I'm glad that Odejava got quite a good start from the Java community. Too bad this is just a "hobby" project for me but more developers are coming, also some people are already using it for "real" work. I myself would really like to make some big software with Odejava itself but no such luck, no time in the near future :/

PS. We have a proper site coming up, just send those screenshots so we get the mandatory screenshots page to our site Smiley
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.

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

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

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

lcass (38 views)
2014-10-15 16:18:58

TehJavaDev (68 views)
2014-10-14 00:39:48

TehJavaDev (68 views)
2014-10-14 00:35:47

TehJavaDev (60 views)
2014-10-14 00:32:37

BurntPizza (73 views)
2014-10-11 23:24:42

BurntPizza (45 views)
2014-10-11 23:10:45

BurntPizza (87 views)
2014-10-11 22:30:10
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!