Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (757)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (844)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1] 2 3 ... 8
1  Games Center / Archived Projects / Re: Wizards of Yore on: 2011-04-17 01:50:21
Out of curiosity, how are you handling the Java Applet - to Android - to iPhone code conversion?

Doh! Nevermind, found it in another thread.
2  Discussions / General Discussions / Re: Vote now in the official JGO logo contest thread with this topic on: 2011-01-04 23:42:18
c++ (not the language)
3  Discussions / General Discussions / Apple Shutting Down Mac Download Listings on: 2010-12-21 03:17:18
Sorry I haven't been around for a while, but I just got this in the e-mail and thought it might concern quite a few of you here. The majority of my mac-centric traffic comes from the Apple Download Center, so this will certainly hit my numbers (especially considering the new App Store won't actually accept Java apps). Here's the e-mail I just received:
Apple Developer


Dear ------,

Thank you for making the Mac OS X Download site a great destination with apps that offer users new ways to work, play, learn, and create on their Mac.

We recently announced that on January 6, 2011, the Mac App Store will open to users around the world, presenting you with an exciting, new opportunity to reach millions of customers. Since the introduction of the App Store in 2008, we've been thrilled with the incredible support from developers and the enthusiastic response from users. Now we're bringing the revolutionary experience of the App Store to Mac OS X.

Because we believe the Mac App Store will be the best destination for users to discover, purchase, and download your apps, we will no longer offer apps on the Mac OS X Downloads site. Instead, beginning January 6, we will be directing users to explore the range of apps available on the Mac App Store.

We appreciate your support of the Mac platform and hope you'll take advantage of this new opportunity to showcase your apps to even more users. To learn how you can offer your apps on the Mac App Store, visit the Apple Developer website at <>.

Best regards,

Ron Okamoto
Vice President, Worldwide Developer Relations
Apple Inc.
4  Discussions / General Discussions / Re: Oracle and Apple Announce OpenJDK Project for OSX on: 2010-11-12 15:59:26
Best news I've heard about Java in a while!!  Grin  Grin  Grin
5  Game Development / Game Mechanics / Re: What's up with JBullet? on: 2010-10-09 23:24:38
Arielsan, if you're just interested in doing 2D physics, JBox2D is probably a better fit for you.
6  Games Center / Featured Games / Re: Revenge of the Titans 1.52 released, and some interesting DRM news on: 2010-09-27 01:43:06
I think what you're implementing works very well. I actually did close to the same thing for Martians Vs. Robots and it saved both myself and the users a LOT of potential headaches. The only difference was that I didn't cap it at ten, I just kept a running total to see if any registration codes "got out of control" somehow... which never happened btw, due to the e-mail-back system, and the fact that I never sold all that much.  Tongue
7  Discussions / General Discussions / Re: Threaded javac? on: 2010-09-09 14:37:04
I switched to a solid state disk with my workspace on. Everything speeded up by roughly a factor of 5.
Dang I've got to get me one of those! I just wish the prices were a bit lower.
8  Game Development / Game Mechanics / Re: JBullet TriangleIndexVertexArray troubles on: 2010-09-03 23:21:02
I GOT IT! I GOT IT! I GOT IT!!!!!!!!!!!!!

My problem was seeing the definition of vertice for the index!!! The index points to a Vector, not each individual axis coordinate (as I was doing).

Ugh. Thank you guys for helping with this!
9  Game Development / Game Mechanics / Re: JBullet TriangleIndexVertexArray troubles on: 2010-09-03 22:59:10
Thank you Tom. I implemented it exactly like you said (literally copying your code block and fitting it together into my own stuff), but I get this when I run it:

**36 - 36
0 = 300.0
1 = 25.0
2 = 300.0
3 = 300.0
4 = 25.0
5 = -300.0
6 = -300.0
7 = 25.0
8 = -300.0
9 = 300.0
10 = 25.0
11 = 300.0
12 = -300.0
13 = 25.0
14 = -300.0
15 = -300.0
16 = 25.0
17 = 300.0
18 = -300.0
19 = -25.0
20 = -300.0
21 = -300.0
22 = -25.0
23 = 300.0
24 = -300.0
25 = 25.0
26 = 300.0
27 = -300.0
28 = -25.0
29 = -300.0
30 = -300.0
31 = 25.0
32 = 300.0
33 = -300.0
34 = 25.0
35 = -300.0
Exception in thread "main" java.lang.IndexOutOfBoundsException
   at java.nio.Buffer.checkIndex(
   at java.nio.DirectByteBuffer.getFloat(
   at com.bulletphysics.collision.shapes.ByteBufferVertexData.getVertex(
   at com.bulletphysics.collision.shapes.VertexData.getTriangle(
   at com.bulletphysics.collision.shapes.StridingMeshInterface.internalProcessAllTriangles(
   at com.bulletphysics.collision.shapes.StridingMeshInterface.calculateAabbBruteForce(
   at com.bulletphysics.collision.shapes.BvhTriangleMeshShape.<init>(
   at com.bulletphysics.collision.shapes.BvhTriangleMeshShape.<init>(
   at com.tommyengine.physics.jbullet.JBObjectStatic.createCollisionShape(
   at com.tommyengine.physics.jbullet.JBObjectStatic.establishPhysicality(
   at com.tommyengine.physics.jbullet.JBObjectStatic.<init>(
   at com.tommyengine.tests.ObjectViewer.startloop(
   at com.tommyengine.tests.ObjectViewer.startloop(
   at com.tommyengine.tests.ObjectViewer.startloop(
   at com.tommyengine.tests.ObjectViewer.begin(
   at com.tommyengine.tests.ObjectViewer.main(

I'm trying to import a box made of triangles. The above numbers are the index = coordinate. The very top number is the total number of indices and coordinates. The line that generates the outofbounds exception is:
BvhTriangleMeshShape trimeshshape = new BvhTriangleMeshShape(vertArray,true);

Any ideas why I'm getting this error? It's been driving me crazy!
10  Game Development / Game Mechanics / Re: JBullet TriangleIndexVertexArray troubles on: 2010-09-03 00:09:00
Please, if something doesn't work, simplify. Try to get it to work with a cube first. Work from there.
Actually, I AM trying just to get it to work with a cube.  Tongue
And I think that it is in fact working (as I can query and see the collision occurring)... it's just that Bullet doesn't do anything about it. But I'll keep fiddling with that index like you said.

EDIT: I tried setting the index up to point at each vertice (basically a straight count from 0 to X). I get an outofrange error from the JBullet library when I do that though.

Yes, BvhTriangleMeshShape is only for static geometry, you can use GImpactMeshShape for dynamic trimeshes. However as they lack actual volume they're prone to tunneling and are computationally slow. Best is to use simpler geometry, like ConvexHullShape or so.
My movable object is a Kinematic Character Controller (and I've tried using convexhull, box, and sphere for the collision shape), and the cubes I'm checking it against are the only static trimeshes. For some crazy reason I figured that Bullet would do some collision handling in that situation.

What I'm eventually wanting to do is take my terrain objects and import their geometry into JBullet, and then have a character that walks via user control and doesn't step into the imported items.
11  Game Development / Game Mechanics / Re: JBullet TriangleIndexVertexArray troubles on: 2010-09-02 17:32:33
Ugh... there's another possibility...

I think I may be setting it up correctly, BUT the Bullet physics library doesn't support collisions between static and kinematic objects. I just read on another forum that you have to implement that collision handling yourself.

Is that true? If so, I may have to go back to doing my own "simpler" collision detection and handling.
12  Game Development / Game Mechanics / JBullet TriangleIndexVertexArray troubles on: 2010-09-02 16:38:36

I'm trying to import my static terrain objects into JBullet, but can't seem to get the TriangleIndexVertexArray correctly setup. I THINK my problem is setting up the index.

So... I have my triangle geometry stored in a ByteBuffer like this:

xyzxyzxyz xyzxyzxyz xyzxyzxyz xyzxyzxyz xyzxyzxyz xyzxyzxyz xyzxyzxyz xyzxyzxyz xyzxyzxyz ...

(with no spaces of course. I just put them there so you see the individual triangles in my format)

This is my code to import it into JBullet:
int numtriangles = entity.getDrawObject().getPolygonCount();
int numverts = numtriangles * 3;
indexBuffer = BufferUtils.createByteBuffer(numverts * 3 * 4).order(ByteOrder.nativeOrder());
for (int i=0;i<numtriangles;i++) {
geometry = BufferUtils.createByteBuffer(numtriangles * 3 * 4).order(ByteOrder.nativeOrder());
for (int i=0;i<numtriangles*3;i++) {

TriangleIndexVertexArray trimesh = new TriangleIndexVertexArray(numtriangles, indexBuffer, 3 * 4, numtriangles, geometry, 3 * 4);
BvhTriangleMeshShape trimeshshape = new BvhTriangleMeshShape(trimesh,true);

I've tried to figure out how the index is supposed to be setup from the file, but I'm completely lost. I'm also not sure if I have my strides correct or not at this point (as I've experimented so much, I've forgotten where I've been).

Could someone please set me straight?
13  Game Development / Game Mechanics / Re: What's up with JBullet? on: 2010-08-29 22:53:12
Ah, good to know! Thank you Jezek. You've done amazing work porting that library over to Java!
14  Java Game APIs & Engines / OpenGL Development / Re: down on: 2010-08-29 22:50:49
I've had incredibly good luck with Admittedly though, I've had several years experience doing my own server administration, so that makes it a bit easier.

EDIT: Oh! And it's probably the best bang for your buck VPS around (mine only costs $20 a month).
15  Game Development / Game Mechanics / What's up with JBullet? on: 2010-08-29 19:13:05
I was just wondering if there's been any recent updates in the JBullet world anywhere? The version available for download at is out of date now, although it looks like the jME guys have a more complete port in their jME3 nightly downloads. Is anyone actively working on it anymore?
16  Java Game APIs & Engines / OpenGL Development / Re: down on: 2010-08-28 16:56:38
Oh no! It's the end of LWJGL! Oracle gobbled them up!

(sorry, couldn't resist  Tongue )
17  Discussions / General Discussions / Re: Oracle sues Google over use of Java in Android on: 2010-08-15 23:01:17
I think I'll second what Orangy says... I think Python is my next stop after Java (with something like Panda3D on the backend).
18  Discussions / General Discussions / Re: Oracle sues Google over use of Java in Android on: 2010-08-15 16:51:04
Out of curiosity, has this move by Oracle scared anyone away from using Java for their games anymore?
19  Discussions / General Discussions / Re: Oracle sues Google over use of Java in Android on: 2010-08-13 17:12:57
My main concern here is the message that Oracle just bellowed out from their castle towers. We've heard almost nothing about client side Java plans, or what they'll be doing about Sun's prior decision to open source Java... and now, the first public thing that occurs is litigation of another company that actually did something really good with it all.

I can only hope that they approached Google in talks before going straight to their lawyers. Either way though, this is just another jab at developers to beware of what might happen to an otherwise great platform.
20  Java Game APIs & Engines / Tools Discussion / Re: Why is Eclipse sucking? on: 2010-08-12 00:47:44
Huh, that's a strange problem. I haven't had any issues like that myself, and I use some seriously nested directories at times. Of course, I'm also an avid ANT user now and haven't used the built in jar exporter for a while.

Have you checked to make sure that they're actually folders? (Check the file view as opposed to the Java view)
21  Discussions / Miscellaneous Topics / Re: Godfinger on: 2010-07-30 16:32:47
Out of curiosity, what language did you use to program the game?
22  Discussions / General Discussions / Re: Windows 7 frustration on: 2010-07-16 16:43:55
I had VERY similar issues with my Quad Core 4gig machine on Windows 7 as well. I upgraded to Windows 7 64-bit (was running the 32-bit originally) and the problems went away. You might want to check which version you're running.
23  Discussions / General Discussions / Re: Which win7 should i buy? on: 2010-06-05 15:50:04
That would make sense, as I'm on an "older" 2006 Mac Pro. Funny that Apple supports 32-bit Win 7 on it and not 64-bit though (I had to do the installer work-around trick to get 64-bit on here).

Anyway... sounds like my initial point is valid though: depends on your hardware.  Wink
24  Discussions / General Discussions / Re: Which win7 should i buy? on: 2010-06-05 03:07:38
The 2gb cap is only with Windows 7 Starter, the lowest version for low-end hardware and emerging markets. All of the other 32-bit versions allow up to 4gb of ram, although typically you will only get about 3.2gb as much of the address space is used for other things.
It's interesting that Microsoft says what they do. All I know is that when i run Windows 7 32-bit Professional, for my memory it says "4gb (2gb usable)," and the hard-drive thrashing and terrible performance would seem to agree. If I switch to 64-bit, all the bells and whistles suddenly light up and are usable.
25  Discussions / General Discussions / Re: Which win7 should i buy? on: 2010-06-03 17:18:36
Depending on your hardware, you may want to go 64-bit as well. I tried Win7 32-bit and was hugely annoyed by it's 2gb ram cap. I switched to 64-bit and am much happier now.

Of course, I really only use my Win7 partition for playing games and testing my own. I generally stick to OSX for everything else. Naturally, this may not be an option for you however.
26  Discussions / General Discussions / Re: Hello ... and looking for advice on mixing Java & C++ on: 2010-05-26 20:52:34
Ah, looks like the NDK is rather "incomplete." Sorry about the bad advice then.  Roll Eyes

Guess you're "stuck" with Java.
27  Discussions / General Discussions / Re: Hello ... and looking for advice on mixing Java & C++ on: 2010-05-26 20:45:23
Well, if your target platform is Android, and you've already got your code in C++, just use the Android NDK and leave it in C++. As I understand it, you don't need to use Java if you don't want to.
28  Games Center / Featured Games / Re: Revenge of the Titans progress on: 2010-05-23 01:31:27
Ah, I thought Steam + Java was a no-go for some reason. Nice to know.

BTW, the Mac version works just great.
29  Games Center / Featured Games / Re: Revenge of the Titans progress on: 2010-05-23 00:59:49
(target market: Steam)
Any hope actually getting Steam to carry it?
30  Discussions / General Discussions / Re: Mac OS Java Update ( 1.6.0_20) breaks JOGL/LWJGL applets on: 2010-05-20 16:48:03
Also... when I run them on Chrome, I can hear them running (both game sound and video-card whine). I just can't see them.
Pages: [1] 2 3 ... 8
EgonOlsen (78 views)
2018-06-10 19:43:48

EgonOlsen (58 views)
2018-06-10 19:43:44

EgonOlsen (78 views)
2018-06-10 19:43:20

DesertCoockie (260 views)
2018-05-13 18:23:11

nelsongames (158 views)
2018-04-24 18:15:36

nelsongames (157 views)
2018-04-24 18:14:32

ivj94 (898 views)
2018-03-24 14:47:39

ivj94 (162 views)
2018-03-24 14:46:31

ivj94 (811 views)
2018-03-24 14:43:53

Solater (175 views)
2018-03-17 05:04:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 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‑
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!