Java3D getting time problem

Posted by Meko on Stack Overflow See other posts from Stack Overflow or by Meko
Published on 2010-03-19T23:44:30Z Indexed on 2010/03/19 23:51 UTC
Read the original article Hit count: 505

Filed under:
|
|

HI ..I made little Shooter game that on screen two ships firing each other.I ahve method on paintComponent like drawing or moving object.But in some reason it works different speed on each komputer.I searchand made some modification to my game like drawing and moving objects in thread..Now it works on every ?omputer same speed.Also if I change size.But problem is I used J3DTimer.getValue() .For this library I donwnloaded Java3d. Problem is If on machine there is no this library or installation my game doesnot working .How can I solw this problem? I should say every one to setup Java#d? :)) ALso I used standart System.currentTimeMillis(); but now my game works very slow...Any idea?

© Stack Overflow or respective owner

Related posts about java

Related posts about game