java 2.5d game engine? (like doom)

looking for a java 2.5d game engine, ive tried like all of them i could find on sourceforge… none seem to work like i want. anyone know of any?

Have a look at Scared or Prelude of the Chambered.

Hi

You can use d3caster, I used it as a starting point of my 3D FPS. The source code is very small but a bit difficult to understand. I used it in 2006 because it was very easy to add new levels, just use a new plain image file to describe the map :slight_smile:

Of course, you can use my “version” which is much more commented and hardware accelerated (OpenGL).

http://doom77.sf.net/

i’m the author
it’s not possible to make wolf3d like engine using pure Java without any gfx lib faster

After playing this I have to admit that you truly are the JGO rockstar.

I agree with you but it is a bit more complicated. It is possible to make a wolf3d like engine using pure Java, Vincent Stahl did it but of course, as it uses software rendering (raycasting in his case) you have to lower the resolution, to use a very small scene or to target only computers with a nice microprocessor to have a decent framerate.

In 2006 and 2007, as a first step, I tried just to perform the raycasting with OpenGL instead of using pure Java and it was about 4 times faster on my crappy machine, this factor was bigger on better hardwares. When I switched to polygonal rendering (I removed raycasting completely), it went even faster and icing on the cake, when I implemented my own very limited portal culling, I got a decent framerate in full screen mode, “high” resolution with a large (but very boring) level even on a crappy Celeron 700 Mhz and on a Pentium 2 MMX.

Of course, portal culling and mesh optimization can be done without hardware acceleration but in my case, software raycasting is about 16 times slower than hardware accelerated polygonal rendering.

@gouessej
I do believe he meant: “It’s not possible to make a wolf3d-like engine using pure Java faster than his graphics lib.”
So he is saying it is possible and his is the best.

@ra4king m77 made something fast, faster than d3caster (this one uses a more complicated lighting system which handles shadows). I looked a bit at his source code; maybe I’m wrong (I’m not really sure of it) but I did not find any efficient partitioning system. In this case, a BSP tree could be useful.

@m77 Your applet worked only once I stopped a counter which was preventing your game from getting the focus.

applet works
i just have checked it
btw if i do only wolf3d like engine - without rendering floor and ground it would be in TIMES faster
cause rendering the floor and ground takes the most time

Sorry, maybe my explanation was confusing. Yes it works but on my machine, in my browser, on my operating system, I could not get the focus, I could not move until I stopped the loading of the page. When I got the focus, I could play with it without any problem. I use Firefox 6.0.2 on Mageia Linux 1 and Oracle Java 1.6 update 26.

I confirm, it is my case too. However, with proper partitioning system, it becomes way faster ;D