Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (407)
games submitted by our members
Games in WIP (293)
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  
  java 2.5d game engine? (like doom)  (Read 5206 times)
0 Members and 1 Guest are viewing this topic.
Offline nethious

Senior Newbie





« Posted 2011-09-12 06:31:05 »

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?
Offline kappa
« League of Dukes »

JGO Kernel


Medals: 50
Projects: 15


★★★★★


« Reply #1 - Posted 2011-09-12 11:04:21 »

Have a look at Scared or Prelude of the Chambered.
Offline gouessej

JGO Ninja


Medals: 33
Projects: 1


TUER


« Reply #2 - Posted 2011-09-12 15:34:42 »

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 Smiley

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

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline m77

Junior Member





« Reply #3 - Posted 2011-09-12 20:44:41 »

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

Offline pitbuller
« Reply #4 - Posted 2011-09-12 21:36:59 »

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.
Offline gouessej

JGO Ninja


Medals: 33
Projects: 1


TUER


« Reply #5 - Posted 2011-09-14 16:47:15 »

it's not possible to make wolf3d like engine using pure Java without any gfx lib faster
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.

Online ra4king

JGO Kernel


Medals: 264
Projects: 2


I'm the King!


« Reply #6 - Posted 2011-09-14 23:25:06 »

@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.

Offline gouessej

JGO Ninja


Medals: 33
Projects: 1


TUER


« Reply #7 - Posted 2011-09-15 10:34:57 »

@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.

Offline m77

Junior Member





« Reply #8 - Posted 2011-09-15 11:48:38 »

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

Offline gouessej

JGO Ninja


Medals: 33
Projects: 1


TUER


« Reply #9 - Posted 2011-09-15 17:21:52 »

applet works
i just have checked it
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.


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
I confirm, it is my case too. However, with proper partitioning system, it becomes way faster  Grin

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Try the Free Demo of Revenge of the Titans

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (88 views)
2013-05-17 21:29:12

alaslipknot (96 views)
2013-05-16 21:24:48

gouessej (128 views)
2013-05-16 00:53:38

gouessej (123 views)
2013-05-16 00:17:58

theagentd (131 views)
2013-05-15 15:01:13

theagentd (119 views)
2013-05-15 15:00:54

StreetDoggy (161 views)
2013-05-14 15:56:26

kutucuk (184 views)
2013-05-12 17:10:36

kutucuk (185 views)
2013-05-12 15:36:09

UnluckyDevil (191 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.092 seconds with 20 queries.