Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (491)
Games in Android Showcase (112)
games submitted by our members
Games in WIP (556)
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 7684 times)
0 Members and 1 Guest are viewing this topic.
Offline nethious

Senior Newbie





« Posted 2011-09-12 04: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: 77
Projects: 15


★★★★★


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

Have a look at Scared or Prelude of the Chambered.
Offline gouessej
« Reply #2 - Posted 2011-09-12 13: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

« In padded room »

« Reply #3 - Posted 2011-09-12 18: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 19: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
« Reply #5 - Posted 2011-09-14 14: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.

Offline ra4king

JGO Kernel


Medals: 345
Projects: 3
Exp: 5 years


I'm the King!


« Reply #6 - Posted 2011-09-14 21: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
« Reply #7 - Posted 2011-09-15 08: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

« In padded room »

« Reply #8 - Posted 2011-09-15 09: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
« Reply #9 - Posted 2011-09-15 15: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.

 

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

The first screenshot will be displayed as a thumbnail.

Nickropheliac (15 views)
2014-08-31 22:59:12

TehJavaDev (23 views)
2014-08-28 18:26:30

CopyableCougar4 (29 views)
2014-08-22 19:31:30

atombrot (41 views)
2014-08-19 09:29:53

Tekkerue (38 views)
2014-08-16 06:45:27

Tekkerue (35 views)
2014-08-16 06:22:17

Tekkerue (25 views)
2014-08-16 06:20:21

Tekkerue (34 views)
2014-08-16 06:12:11

Rayexar (72 views)
2014-08-11 02:49:23

BurntPizza (48 views)
2014-08-09 21:09:32
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org 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‑gaming.org
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!