Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (107)
games submitted by our members
Games in WIP (535)
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 Engine Design  (Read 1332 times)
0 Members and 1 Guest are viewing this topic.
Offline epotash

Senior Newbie




Java games rock!


« Posted 2003-08-02 06:42:39 »

i was wondering if anyone would be interested in doing a port of the Quake 2 engine in java. it wouldnt be so much a port, but more just like an engine that is able to use the Q2 BSP maps, and MD2 models... The engine would be flexible to later support any formats, such as those used in Half-Life/Counter-strike.

Does anyone have any interest in this, i have already worked on loading and rendering MD2 models, and BSP Maps...  I am a little stuck on where to go with the actual engine design... looking over the Q2 source has helped a little, but its not very clearly organized.

If anyone is interested in such a project please reply, and i think that being able to get some results would be an excellent achievement...
Offline epotash

Senior Newbie




Java games rock!


« Reply #1 - Posted 2003-08-02 07:00:21 »

I havent really done any game proramming before gl4java, and now ive switched to JOGL, but i think that some essential structure to the engine would include:

 -- A Camera object to store transformations and rotations about a scene, probably using Quaternion math...

 -- Some sort of general "Entity" class to represent an object to be rendered... all subclasses will share a common method "draw()"

       -- a Model class extending Entity to represent any sort of active objects in a scene, i.e. a character, weapon, or vehicle... Models posess Textures, and also probably have some system to control animation frames

        -- a Map class extending Entity to represent a static Map, such as that loaded from a BSP file, a Map includes data about its structure, textures, and perhaps a skybox...

   -- Texture objects, with loaders for specific formats

It would be best to have a flexible virtual "Client/Server" setup so that it would be easy to add internet/lan capabilities later.

I have never really designed a general engine, but always just straightforward demos, so this is new to me... How does one integrate physics/collision into the engine? does the client do this, or is it stupid, and just sends requests to the server, which in turn processes everything and updates the game state...

later to be added would be of course a particle engine (for explosions/bullets/blood), lighting/shadows, perhaps water, and everything else a real game engine has

In the meantime, I am hoping to be able to get a simple system working and render a Map, probably one from CS, and place a character model in it, and have him move through the map with some collision detection... I hope someone can help guide me in this process... i appreciate any comments, thank you.
Offline tortoise

Junior Member




<3 Shmups


« Reply #2 - Posted 2003-08-02 07:19:55 »

Did you check this out?

http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=volunteer;action=display;num=1045336951

I thought that was a pretty neat idea, and I wouldn't mind getting involved, but I've got like negative free time.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline epotash

Senior Newbie




Java games rock!


« Reply #3 - Posted 2003-08-02 18:56:44 »

yea, i saw that project a while back, there doesnt really seem to be any deveopment on the sourceforge page... anyway, i wasnt really looking to do an explicit port...   Does anyone have a name for a jogl based 3d engine? i think i want to open up a SF project...
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.

E.R. Fleming (17 views)
2014-07-29 03:07:13

E.R. Fleming (7 views)
2014-07-29 03:06:25

pw (39 views)
2014-07-24 01:59:36

Riven (39 views)
2014-07-23 21:16:32

Riven (26 views)
2014-07-23 21:07:15

Riven (28 views)
2014-07-23 20:56:16

ctomni231 (59 views)
2014-07-18 06:55:21

Zero Volt (50 views)
2014-07-17 23:47:54

danieldean (42 views)
2014-07-17 23:41:23

MustardPeter (44 views)
2014-07-16 23:30:00
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
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!