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.

Topics - dmouse

Pages: [1]
Projects / off-road driving game
« on: October 12, 2008, 02:27:49 pm »

Hi all,

I just recently finished my first game with using jpct  :)

Any feedback is greatly appreciated.

Click <a href = ""> here </a> to play.

Thanks in advance.

Support / shrinking jpct.jar
« on: September 12, 2008, 09:28:04 pm »
Hi all,

I am glad to say that I am near the end of my first project with JPCT  ;D

I am currently compressing resources etc.. and trying to make the download size as small as possible (it's a web applet). I have a couple of questions :

1) Are we allowed (and is it advisable) to delete .class files from jpct.jar that we don't need? I have experimented with this, and have produced a version of jpct.jar that is 141K (original size 205K, using verion 1.1.6). Would using this break any terms of use? My project seems to run well with the trimmed version of jpct.

2) Has anyone had any luck with obfuscating a jpct project? I am using Proguard 4.2 (latest version), and I can create working builds by obfuscating my own project class files (with significant reduction from 181K down to 54K!!!). However, when I try to obfuscate the jpct class files, the project no longer works (class files are no longer found etc...). Has anyone obfuscated JPCT before, is it possible?

Thanks in advance.

Support / collision detection (source and target)
« on: August 24, 2008, 09:27:54 pm »

I was wondering if there was perhaps a way to use something like Object3D.checkForCollisionSpherical(SimpleVector translation, float radius)) but to have access to information about which Object3D(s) were hit (if any) as a result of the translation in question.

I have also experimented with CollisionListener.collision(), but since this needs to run in it's own thread, I can't really use it.

Ideally, I would like a method by which I could check if 2 objects are currently overlapping or are about to collide as a result of a translation. I could then use this method to selectively detect collisions between objects at will.

Is there any way of doing this in jPCT?

Any help would be appreciated.

Thanks in advance.

Support / removing flicker from JPCT applet with AWT graphics
« on: August 14, 2008, 06:06:49 pm »
Hi all,

I was wondering if anyone knows how to remove the flickering when using standard Java AWT methods for displaying images and text (ie g.drawImage and drawString ) on top of a JPCT FrameBuffer software  rendered 3d scene. The usual double buffering approach does not seem to work, the 3D scene renders smoothly but any text/graphics drawn on top flicker very badly. Am I perhaps missing something?

Does anyone know how to remove this flickering?

Thanks in advance, for any help/advice that anyone can offer.

Pages: [1]